<script type="text/javascript" src="includes/jscript/pwstrength.js"></script>

{include file="$template/clientareadetailslinks.tpl"}

		<div class="bigheader">
			<h2>{$LANG.clientareanavchangepw}</h2>
		</div><!-- .bigheader -->

{if $successful}

	<div class="notice notice-success">
		<div class="inside">
			<p>{$LANG.changessavedsuccessfully}</p>
		</div>
	</div>

{/if}

{if $errormessage}

	<div class="notice notice-error">
		<div class="inside">
			<p>{$errormessage}</p>
		</div>
	</div>

{/if}

<form method="post" action="{$smarty.server.PHP_SELF}?action=changepw">
  <input type="hidden" name="submit" value="true" />
  
  		<div class="feildset">
		
			<div class="col1">
			
				<div>
					<label>
						<span>{$LANG.existingpassword}: ({$LANG.required})</span>
						<input type="password" name="existingpw" tabindex="1" placeholder="{$LANG.resetpassword_existing}" requred="required" autofocus="autofocus" />
					</label>
				</div>	
				
				
				<div>
					<label>
						<span>{$LANG.newpassword}: ({$LANG.required})</span>
						<input type="password" name="newpw" tabindex="2" placeholder="{$LANG.resetpassword_new}" requred="required" />
					</label>
				</div>	
				
				<div>
					<label>
						<span>{$LANG.confirmnewpassword}: ({$LANG.required})</span>
						<input type="password" name="confirmpw" tabindex="2" placeholder="{$LANG.resetpassword_confirm}" requred="required" />
					</label>
				</div>											
			
			</div>
			
		</div>  
  
  <p class="center">
    <input type="submit" value="{$LANG.clientareasavechanges}" class="button1 color2" />
    <input type="reset" value="{$LANG.clientareacancel}" class="button1 color1" />
  </p>
</form>