<div class="lost_pass">
	<h2>{$lang.home_page.lost_password}</h2>
	
	<form method="post" action="{$form.action}"  enctype="multipart/form-data" name="lost_pass">
	{$form.hiddens}
	<!-- write form -->
	<div>
		<label>{$lang.lost_pass.email}:</label>
		<input type="text" style="width: 300px" name="email" id="email">
	</div>
	<div style="padding-top:10px">
		<a href='{$site_root}/{$seo.contact}'>{$lang.lost_pass.contact}</a>
	</div>
	<div  style="padding-top:10px">
		<input type="button" class="button" onclick="SendPass();" value="{$lang.button.send}">
	</div>
	<div id="result"><p>&nbsp;</p></div>
	<div>
		<p>{$lang.lost_pass.toptext}</p>
		{if $form.err}<p>*&nbsp;{$form.err}</p>{/if}
		<p>
			{if $color_theme ne 'matrimonial'}
			<a class="imgbox_icon">&nbsp;</a>
			<a onclick="launchWindow('{$site_root}/{$seo.index}?sel=loginform','',525,530); return false;" >{$lang.home_page.link_text_1}&nbsp;</a>
			{/if}
		</p>
	</div>

	<!-- /write form -->
	</form>

{literal}
<script type="text/javascript">
function SendPass() {
	$('#result').html('');
	$.ajax({
		type: 'POST',
		url: '{/literal}{$form.action}{literal}',
		data: 'sel=send&email='+$('#email').val(),
		success: function(data){
			$('#result').html('<p class="error_msg">'+data+'</p>');
		}
	});
}
</script>
{/literal}
</div>