<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Pages_Other_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
    <script language=javascript>
        function getCode(){
            var url = 'http://www.net.cn/has_client/include/checkCode.asp';
            var pars = '';
            var myAjax = new Ajax.Request( url, { method: 'post',parameters: pars, onComplete: showResponse });
        }
    function showResponse(originalRequest)
    {
        var attid = originalRequest.responseText;
        if (attid=="(-)"){
            $('codeImg').src='http://www.net.cn/has_client/include/code.asp?'+(new Date().getTime());
        }
    }
    </script>
</head>
<body>
    <form id="form1" runat="server" action="http://www.net.cn/has_client/UserLogon/UserLogon2.asp" method=post>
    <div>
        <table width=400>
            <tr>
                <td width=80>用户名</td><td width=320><asp:TextBox ID=username runat=server /></td>
            </tr>
            <tr>
                <td>密码</td><td><asp:TextBox ID=password runat=server TextMode=password  /></td>
            </tr>
            <tr>
                <td>验证码</td><td><asp:TextBox ID=code runat=server src='http://www.net.cn/has_client/include/checkCode.asp' />
                    <img id=imageField3 src="http://www.net.cn/has_client/include/code.asp?<%=DateTime.Now %>" />
                </td>
            </tr>
            <tr>
                <td colspan=2><asp:Button  ID=Button1 runat=server Text="登陆" PostBackUrl="http://www.net.cn/has_client/UserLogon/UserLogon2.asp" /></td>
            </tr>
            
        </table>
        </div>
    </form>
</body>
</html>
