<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">


<xsl:template name="PASSWORD-FORM">		

	<tr id="rowSetPassword">
		<td align="right" class="sb-formview-row">

			<script type="text/javascript">
			function showPassword(){
				showElement(document.getElementById("rowPassword"), true);
				showElement(document.getElementById("rowPasswordConfirm"), true);
				showElement(document.getElementById("rowSetPassword"), false);
				return false;
			}
			</script>	
		
			<div style="width:50%" align="left">
			<xsl:call-template name="BUTTON-CONTROL">
				<xsl:with-param name="class">sb-login-control-button</xsl:with-param>
				<xsl:with-param name="title"><xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/CHANGE-PASSWORD"/></xsl:with-param>
				<xsl:with-param name="action">showPassword();</xsl:with-param>
			</xsl:call-template>
			</div>
		</td>
	</tr>
	
	<tr id="rowPassword" style="display: none;">
		<td class="sb-formview-row">
			<xsl:call-template name="INPUT-CONTROL" mode="TITLE-LEFT">
				<xsl:with-param name="controlClass">sb-control-input-input</xsl:with-param>
				<xsl:with-param name="title"><xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/PASSWORD"/></xsl:with-param>
				<xsl:with-param name="name">password</xsl:with-param>
				<xsl:with-param name="id">password</xsl:with-param>
				<xsl:with-param name="type">password</xsl:with-param>
				<xsl:with-param name="require">on</xsl:with-param>
			</xsl:call-template>
		</td>
	</tr>
	<tr id="rowPasswordConfirm" style="display: none;">
		<td class="sb-formview-alternaterow">
			<xsl:call-template name="INPUT-CONTROL" mode="TITLE-LEFT">
				<xsl:with-param name="controlClass">sb-control-input-input</xsl:with-param>
				<xsl:with-param name="title"><xsl:value-of select="/SITEBUILDER-PAGE/LOCALE/CONFIRM-PASSWORD"/></xsl:with-param>
				<xsl:with-param name="name">confirmPassword</xsl:with-param>
				<xsl:with-param name="id">confirmPassword</xsl:with-param>
				<xsl:with-param name="type">password</xsl:with-param>
				<xsl:with-param name="require">on</xsl:with-param>
			</xsl:call-template>
		</td>
	</tr>
</xsl:template>

</xsl:stylesheet>