<SCRIPT language="javascript">  

function check(form)
{
	
	if (form.AGENT_CODE.value.length == 0)
        {
		alert("请输入代理商代码！");
         	form.AGENT_CODE.focus();
         	return false;
	}
	if(form.BUS_PASSWD.value.length == 0)
	{
		alert("请输入密码！");
		form.BUS_PASSWD.focus();
		return false;
	}
	return true;
}

</script>  

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>北京宽带业务在线申请</title>
<style>
<!--
td{ font-size: 12px;color:#214B8A}
.ff { COLOR: #ffffff;}
A:link {	color: #214B8A; text-decoration: none}
a:link.ff {COLOR: #ffffff;text-decoration: none;}
-->
</style>
</head>
<body bgcolor="#C0C0C0" background="../../../images/cont_bj.gif">
    <form name="query" onsubmit="return check(query)" action="agent_query_submit.pl" method="POST">
    <p align="center"><br>
    <strong><font color="#009933">代理</font></strong><font color="#009933"><strong>业绩<a class="br1">查询</a></strong></font></p>
    <div align="center">
      <center>
    <table border="1" cellspacing="1" bordercolor="#808080" width="350" height="50">
      <tr>
      <font color="#0000ff">
        <td width="38%" height="28">
        <p align="left"><b><font size="2">代理商代码：</font></b></td>
        <td width="62%" height="28">
        <p align="left"><font size="2"> </font><font size="4"><input type="text" name="AGENT_CODE" size="20"></font></td>
      </font>
      </tr>
      <tr>
      <font color="#0000ff">
        <td width="38%" height="22">
        <p align="left"><b><font size="2">密     码：</font></b></td>
        <td width="62%" height="22">
        <p align="left"><font size="2"> </font><font size="4"><input type="password" name="BUS_PASSWD" maxLength="20" size="20"></font></td>
        <input type="hidden" value="" name="ref">
      </font>
      </tr>
    </table>
      </center>
    </div>
      <p align="center">
      <input type="submit" value="查询" name="B1">      <input type="reset" value="重置" name="B2"></p>
    </form>
</body>
</html>
