<%@ Control Language="C#" ClassName="SiteLogin" %>

<script runat="server">

</script>
<div class="block loginblock">
		<h2>会员登录</h2>
		<form action="CheckUser.aspx" style="margin:0px" method="post">
		<ul>
		<li>用户名：<input id="Username" size="20" name="Username" class="input" style="width:120px" /></li>
		<li>密　码：<input id="Password" type="password" size="20" style="width:120px" name="Password"  class="input"/></li>
		<li style="display:none">验证码：<input id="verifyCode" size="5" name="verifyCode" class="input" /></li>
		<li style="text-align:center"><input type="submit" value=" 登 录 "  class="input" onclick="return chkLogin();" /></li>
		</ul>
		</form>
		<script>
		 function chkLogin()
		 {
		  var u=$('Username');
		  if(u.value.trim()=='')
		  {
		   alert('请输入用户名！');
		   return false;
		  }
		   var p=$('password');
		  if(p.value.trim()=='')
		  {
		   alert('请输入密码！');
		   return false;
		  }
		  return true;
		 }
		</script>
		</div>