<SCRIPT TYPE="text/javascript">
<!--
function show_forgot(){
	document.forotFrm.forgot_email.value='';
	toggle('sendpass');
}
//-->
</SCRIPT>

<div id="login-box">

		<!-- Logo -->
		<p class="nom t-center" style="font-size:36px; font-weight:bold;"><a href="#"><?php echo SITE_NAME?></a></p>

		<?php if(isset($successMsg) && $successMsg!=''){ ?>
			<p class="msg done"><?php echo $successMsg; ?></p>
		<?php } ?>
		
		<?php if(isset($failedMsg) && $failedMsg!=''){ ?>
			<p class="msg error"><?php echo $failedMsg; ?></p>
		<?php } ?>
		

		<!-- Form -->
		<table class="nom nostyle">
			<form name="loginFrm" id="loginFrm" action="" method="post">
			<tr>
				<td style="width:75px;"><label for="login-user"><strong>Username:</strong></label></td>
				<td><input type="text" size="45" name="email_address" class="input-text" id="email_address" tabindex="1" /></td>
			</tr>
			<tr>
				<td><label for="login-pass"><strong>Password:</strong></label></td>
				<td><input type="password" name="password" size="45"  class="input-text" id="password" tabindex="2" /></td>
			</tr>

			<tr>
				<td colspan="2" class="t-right"><input type="submit" id="submit" name="submit" class="input-submit" value="Sign In &raquo;"  tabindex="3" /></td>
			</tr>

			</form>

			<form name="forotFrm" id="forotFrm" action="" method="post">

			<tr>
				<td></td>
				<td>
					<span class="f-right"><a href="javascript:void(0)" onclick="return show_forgot();">Forgot password?</a></span>
				</td>
			</tr>
			
			<tr id="sendpass" style="display:none;">
				<td><label for="login-sendpass"><strong>E-mail:</strong></label></td>
				<td>
					<input type="text" size="35" name="forgot_email" class="input-text f-left" id="forgot_email" />
					<span class="f-right"><input type="submit" id="send" name="send" value="Send" /></span>
				</td>
			</tr>
			
		</table>
	</div>