<%@ Control Language="c#" AutoEventWireup="true" Codebehind="LoginForm.ascx.cs" Inherits="XpShop.WebUI.Modules.LoginForm" TargetSchema="http://schemas.microsoft.com/intellisense/ie5"%>
<div id="xp-header-login">
	<span id="news_login"></span>
	<iframe src="<%=webSite %>frmLogin.aspx?NoCopyright=1" border="0" height="0" width="0" style="visibility: hidden"></iframe>
</div>
<div style="clear:both;"></div>
<script type="text/javascript" language="javascript">
function checkForm()
{
var form=document.getElementById("loginForm");
if (form.memberName.value=="")
{	alert('<%=GetResourceString("LoginAccountRequest")%>');
	form.memberName.focus();
	return false;
}
if (form.memberPass.value=="")
{	alert('<%=GetResourceString("LoginPasswordRequest")%>');
	form.memberPass.focus();
	return false;
}
if (form.logincode.value=="")
{	alert('<%=GetResourceString("LoginTextCodeRequest")%>');
	form.logincode.focus();
	return false;
}
return true;
}
</script>
