<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login.aspx.cs" Inherits="Us.Web.admin.login" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8,chrome=1" />
<title><%=AppConfig.sSoftName +"-"+ AppConfig.sSoftCompanyName%></title>
<style type="text/css">
html, body {
	width:100%;
	height:100%;
	min-width: 1004x;
	min-height: 760px; 
}
body {
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}
.mytable{height:100%;margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;}
</style>
<link href="style/login/images/login.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="style/login/jquery-1.9.1.js"></script>
<script type="text/javascript" src="style/login/uslogin.js"></script>
<script language="javascript">

$(document).ready(function(){

	 var $txt2_obj=$('#userpwdshow'); //获取id为txt2的jquery对象
	 var $pswd_obj=$('#userpwd');    //获取id为txt2的jquery对象
	 //alert($txt2_obj.val() + $pswd_obj.val());

    $txt2_obj.focus(function(){
        $pswd_obj.show().focus();//使密码输入框获取焦点
        $txt2_obj.hide();//隐藏文本输入框
   });
   
    $pswd_obj.blur(function(){
         if($pswd_obj.val()==''){//密码输入框失去焦点后，若输入框中没有输入字符时，则显现文本输入框
         $txt2_obj.show();
         $pswd_obj.hide();
		 }
         });
});


</script>

</head>
<body>
<form action="login.aspx" onSubmit="return userlogin();" method="post">
  <table border="0" align="right" cellpadding="0" cellspacing="0" height="100%">
    <tr>
      <td width="403" class="mytable"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="logintb"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="324">&nbsp;</td>
                </tr>
                <tr>
                  <td height="300" valign="top"><table width="82%" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr>
                      <td height="20">&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="42"><input type="text"  id="userid" name="userid" maxlength="20" class="input110" 
                      value="请输入您的用户编号" onBlur="if(this.value==''){this.value='请输入您的用户编号'}" onFocus="if(this.value=='请输入您的用户编号'){this.value=''}"/></td>
                    </tr>
                    <tr>
                      <td height="42">
                        <input type="password"  id="userpwd" name="userpwd" maxlength="20"  class="input110" style="display:none;" />
                       <input type="text"  id="userpwdshow" name="userpwdshow" maxlength="20"  class="input110" 
                       value="请输入您的用户密码" onBlur="if(this.value==''){this.value='请输入您的用户密码'}" onFocus="if(this.value=='请输入您的用户密码'){this.value=''}"/>
                    
                      
                      </td>
                    </tr>
                    <tr>
                      <td height="42"> <input type="text" id="usercode" name="usercode" maxlength="4"  class="input46"
                      value="请输入验证码" onBlur="if(this.value==''){this.value='请输入验证码'}" onFocus="if(this.value=='请输入验证码'){this.value=''}"/>
                      <img align="absMiddle" alt="看不清楚,可以点击更新" src="basic/syscode.aspx" id="imgcode" runat="server" onclick="this.src=this.src+'?'" style="padding-left:20px;"/>
         </td>
                    </tr>
                    <tr>
                      <td height="60">
       
          <table  style=" padding-top:10px;" border="0" cellpadding="0" cellspacing="0" align="center">
            <tr>
              <td align="center" ><input type="submit" id="btnsubmit" class="inputbtn" value="登　录" />
              </td>
              <td align="center" style="padding-left:15px;"><input type="reset"  id="btnreset" class="inputbtn" value="清　空" /></td>
            </tr>
          </table>
       
          
          
          </td>
                    </tr>
                  </table></td>
                </tr>
              </table></td>
          </tr>
        </table></td>
      <td width="200" height="100%">&nbsp;</td>
    </tr>
  </table>
  <asp:Literal ID="litscript" runat="server"></asp:Literal>
</form>




</body>
</html>
