<?xml version='1.0'?>

<!--Copyright 1999-2000 Intuit Inc. All rights reserved. Unauthorized duplication is a violation of applicable law.-->

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" indent="yes"/>

	<!-- ************************** AFLAC Help Template ******************************-->

	<xsl:template name="QBRSHelp">
		<xsl:param name="ModuleName"/>
		<xsl:param name="ScreenName"/>
		<xsl:if test="$ModuleName != '' or $ScreenName != ''">
			<table border="0" class="cpsDialogFAQHelpBox" bordercolor="#336699" cellpadding="2" cellspacing="0">
				<tr>
					<td class="cpsDialogFAQHelpTitle">
						Questions?
					</td>
				</tr>
				<tr>
					<td class="cpsDialogFAQHelpList">
						<xsl:for-each select="document('../XML/AFLACHelpDB.xml')/AFLACHelp/Process[@type=$ModuleName]/Frame[@id=$ScreenName]/links">
							<table align="left">
								<xsl:for-each select="link">
									<tr valign="top">
										<td>
											<img src="images/bluearrow_up.gif"  border="0">
												<xsl:attribute name="ID">arrow_<xsl:value-of select="@id"/></xsl:attribute>
												<xsl:attribute name="onClick">javascript:ShowHideHelp('<xsl:value-of select="@id"/>', '<xsl:value-of select="count(//link)"/>');</xsl:attribute>
											</img>
										</td>
										<td>
											<a class="helpQuestion" onFocus="blur();" onMouseOver="this.style.cursor='hand';">
												<xsl:attribute name="href">javascript:ShowHideHelp('<xsl:value-of select="@id"/>', '<xsl:value-of select="count(//link)"/>');
												</xsl:attribute>
												<xsl:value-of select="linktext"/>
											</a>
										</td>
									</tr>
									<tbody name="helpcontent" style="display:none;">
										<xsl:attribute name="ID"><xsl:value-of select="@id"/> </xsl:attribute>
										<tr>
											<td></td>
											<td class="HelpLink"><xsl:copy-of select="helptext"/>
												<xsl:if test="morehelpurl">
													<a onFocus="blur();" onMouseOver="this.style.cursor='help'">
														<xsl:attribute name="href">
															<xsl:value-of select="morehelpurl"/>
														</xsl:attribute>

														<div class="WizardFont" align="right">more</div>
													</a>
												</xsl:if>
												<br/>
											</td>
										</tr>
									</tbody>
									<tr>
										<td colspan="2"></td>
									</tr>
								</xsl:for-each>
							</table>
						</xsl:for-each>
					</td>
				</tr>
			</table>
		</xsl:if>
	</xsl:template>
	<!-- ************************* End of AFLAC Help Template ***************** -->

</xsl:stylesheet>