<%@language=vbscript codepage=936 %>
<%
'强制浏览器重新访问服务器下载页面，而不是从缓存读取页面
Response.Buffer = True
Response.Expires = -1
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
'主要是使随机出现的图片数字随机
%>
<html>
<head>
<title>管理员登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script language=javascript>
<!--
function SetFocus()
{
if (document.Login.UserName.value=="")
	document.Login.UserName.focus();
else
	document.Login.Password.focus();
}
function CheckForm()
{
	if(document.Login.UserName.value=="")
	{
		alert("请输入用户名！");
		document.Login.UserName.focus();
		return false;
	}
	if(document.Login.Password.value == "")
	{
		alert("请输入密码！");
		document.Login.Password.focus();
		return false;
	}
	if (document.Login.CheckCode.value.length < "4"){
       alert ("请输入您的验证码！");
       document.Login.CheckCode.focus();
       return false;
    }
    if (confirm("是否要保存COOKIE在你的计算机上！以便下次不用登陆。"))
    {
    if(confirm("这样你的用户密码会不安全！是否要保存！"))
    {document.Login.setcookie.value="yes";}
    else
    {document.Login.setcookie.value="no";}
    }
    else
    {
    document.Login.setcookie.value="no";
    }
}

//-->
</script>
</head>
<body topmargin="0" leftmargin="0">

<div style="text-align:center;width:100%;height:100%;background-color:#0090CF;">
<form action="login_Check.asp" method="post" name="Login" onSubmit="return CheckForm();">
<div style="text-align:center;width:1000px;">

<div style="background-image:url(images/1_01.jpg);width:1000px;height:223px;"></div>
<div style="width:403px;height:171px;background-image:url(images/1_02.jpg);float:left;"></div>
<div style="width:124px;height:171px;background-image:url(images/1_03.jpg);float:left;"></div>

<div style="width:208px;height:171px;float:left;">
<div style="width:208px;height:131px;background-image:url(images/1_04.jpg);padding-top:10px;">
<div style="padding-left:0px;">
<div style="font-size:12px;margin-top:20px;text-align:left;padding-left:10px;">

用&nbsp;&nbsp;户：<input type="text" name="UserName" value="" size="15" style="border:#0066E4 1px solid;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onmouseover="this.style.background='#fd95fd';" onmouseout="this.style.background='#ADD731'" onFocus="this.select(); " />
</div>
<div style="font-size:12px;margin-top:5px;text-align:left;padding-left:10px;">
密&nbsp;&nbsp;码：<input name="Password" type="Password" value="" size="15" style="border:#0066E4 1px solid;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onmouseover="this.style.background='#fd95fd';" onmouseout="this.style.background='#ADD731'" onFocus="this.select();" readOnly onKeyDown="Calc.password.value=this.value" onChange="Calc.password.value=this.value" onclick= "password1=this;showkeyboard();this.readOnly=1;Calc.password.value=''"/>
</div>
<div style="font-size:12px;margin-top:5px;text-align:left;padding-left:10px;">
验证码：<input name="CheckCode" size="6" value="" maxlength="4" style="border:#0066E4 1px solid;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onmouseover="this.style.background='#fd95fd';" onmouseout="this.style.background='#ADD731'" onFocus="this.select(); " />
<script type=text/javascript>function refreshimg(){document.getElementById("verifycode").src='inc\/checkcode.asp?'+Math.random();}document.write('<img id=\"verifycode\" src=\"inc\/checkcode.asp\" onclick=\"refreshimg()\" alt=\"点击换一张\"\/>');</script>
</div>
</div>
</div>
<div style="width:208px;height:25px;clear:left;">
<div style="width:63px;height:25px;float:left;overflow:hidden;">
<input type="hidden" value="" name="setcookie" />
<input type="image" src="images/1_06.jpg" name="Submit" value="登陆" />
</div>

<div style="width:39px;height:25px;background-image:url(images/1_07.jpg);float:left;"></div>
<div style="width:65px;height:25px;background-image:url(images/1_08.jpg);float:left;"></div>
<div style="width:41px;height:25px;background-image:url(images/1_09.jpg);float:left;"></div>
</div>
<div style="width:208px;height:15px;font-size:1px;background-image:url(images/1_10.jpg);"></div>
</div>
<div style="width:265px;height:171px;background-image:url(images/1_05.jpg);float:left;"></div>
<div style="width:1000px;height:171px;background-image:url(images/1_13.jpg);clear:left;"></div>
</form>
</div>
<script language="JavaScript" src="js/Keyboard.js"></script>
</body>
</html>
