<div id="loginContainer">
	<div class="header">{rs:TITLE_LOGIN}</div>
	<div class="window icon">
		<div class="top">
			<div class="topLeft">
				<div class="topRight">
					<div class="middleLeft">
						<div class="middleRight">
							<div class="bottom">
								<div class="bottomLeft">
									<div class="bottomRight">
										<form method="post" action="" id="loginForm" name="loginForm">
										<div class="labelBox">{rs:LOGIN}:</div>
										<div class="inputBox"><input type="text" name="login" value="{login}"></div>
										<div class="labelBox">{rs:PASSWORD}:</div>
										<div class="inputBox"><input type="password" name="password"></div>
										<div class="buttonContainer">
											<div class="button actionLogin"><div class="buttonRight"><div class="buttonMiddle">OK</div></div></div>
										</div>
										<div class="links"><a href="{global:PATH}../forgot/" class="red">{rs:FORGOT_PASSWORD}</a></div>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script language="JavaScript">
	$(".actionLogin").click(function() {
		$("#loginForm").submit();
	});
	$("#loginForm").keydown(function(event) {
  		if (event.keyCode == '13' && event.target.nodeName!='TEXTAREA') $(".actionLogin").triggerHandler('click');
	});
</script>