<html>
<head>
<title><%=Request.Cookies("homename")%></title>
<META name="keywords" content="<%=Request.Cookies("homename")%> ">
<META content="<%=Request.Cookies("homename")%>" name="description"></head>
<style type="text/css">
<!--
.gwTableClass { border:solid 1px #FFFFFF;backGround-Color:#EAEAEA;}
.gwTdTitle { color:#FF0000;font:bold 16pt 宋体; height:30pt; text-Align:center;}
.gwTdLabel { color:#FF0000; font:bold 9pt 宋体; height:30pt; text-Align:center;}
.gwTextInput { font:9pt 宋体; border:solid #CCCCCC; border-width:0px 0px 1px 0px; width:90%;}
select { font:bold 9pt 宋体; color:#F84A53; backGround-Color:#EAEAEA;}
-->
</style>
<link rel="stylesheet" href="css/css.css">
<script Language="JavaScript">

function fucCheckNUM(NUM)
{
 var i,j,strTemp;
 strTemp="0123456789";
 if ( NUM.length== 0)
  return 0
 for (i=0;i<NUM.length;i++)
 {
  j=strTemp.indexOf(NUM.charAt(i)); 
  if (j==-1)
  {
   return 0;
  }
 }
 return 1;
}
 function form_check(){
    if(document.form2.username.value==""){window.alert("用户名不能为空");document.form2.username.focus();return false;}
    if(document.form2.no.value==""){window.alert("序号不能为空");document.form2.no.focus();return false;}
    if(fucCheckNUM(document.form2.no.value)==0){window.alert("在序号中请输入数字");document.form2.no.focus();return false;}
    if(document.form2.name.value==""){window.alert("用户中文名不能为空");document.form2.name.focus();return false;}
    if(document.form2.password.value==""){window.alert("用户密码不能为空");document.form2.password.focus();return false;}
	if(document.form2.userdept.value=="无部门"){window.alert("请选择部门");document.form2.userdept.focus();return false;}
    if(document.form2.qsname.value==""){window.alert("签收用户不能为空");document.form2.qsname.focus();return false;}
    if(document.form2.qspassword.value==""){window.alert("签收密码不能为空");document.form2.qspassword.focus();return false;}	
    document.form2.submit();
  }
</script>
<script language=JavaScript src="css/init.js"></script>
</head>
<body topmargin="0" leftmargin="0">
<%
   Dim RedDoCGw
   Set RedDoCGw = Server.CreateObject("REDOA_GWManager.clsUserManager") 
   RedDoCGw.submgrAddUser
   Set RedDoCGw = Nothing
%>
</body>
</html>