<html>
<head>
<title><%=Request.Cookies("homename")%></title>
<META name="keywords" content="<%=Request.Cookies("homename")%> ">
<META content="<%=Request.Cookies("homename")%>" name="description">
<LINK href="css/global.css" rel=stylesheet type=text/css>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script Language="JavaScript">
function fucCheckNUM(NUM)
{
 var i,j,strTemp;
 strTemp="123456789";
 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.alluser.checked){
	   if(document.form2.joinman.value==""){window.alert("接收单位不能为空");document.form2.joinman.focus();return false;}
	  }
	   if(document.form2.title.value==""){window.alert("文件标题不能为空");document.form2.title.focus();return false;}
	   if(document.form2.fbdw.value==""){window.alert("发文单位不能为空");document.form2.fbdw.focus();return false;}
	   //if(document.form2.content.value==""){window.alert("内容简介不能为空");document.form2.content.focus();return false;}	   
	   if(document.form2.filename.value=="没有类型"){window.alert("类型不能没有");document.form2.filename.focus();return false;}
flg=0;

if(document.form2.file1){
   if(document.form2.file1.value!="")
    {
        flg=1;
        document.form2.fldfile1.value=document.form2.file1.value;
    }
}

if(document.form2.file2){
   if(document.form2.file2.value!="")
    {
        flg=1;
        document.form2.fldfile2.value=document.form2.file2.value;
    }
}
	   
if(document.form2.file3){
   if(document.form2.file3.value!="")
    {
         flg=1;
        document.form2.fldfile3.value=document.form2.file3.value;
    }
}

if(document.form2.file4){
   if(document.form2.file4.value!="")
    {
         flg=1;
        document.form2.fldfile4.value=document.form2.file4.value;
    }
}

if(document.form2.file5){
   if(document.form2.file5.value!="")
    {
         flg=1;
        document.form2.fldfile5.value=document.form2.file5.value;
    }
}
   if(flg==1)
    {
       document.form2.submit();
    }
   else
    {
      document.form2.submit();
    }
   }
</script>
<script language=JavaScript src="css/init.js"></script>
<link rel="stylesheet" href="css/css.css">
</head>
<body topmargin="0" leftmargin="0">
<%
   Dim RedDoCGw
   Set RedDoCGw = Server.CreateObject("REDOA_GWManager.clsDataManager") 
   RedDoCGw.subMgrNewData
   Set RedDoCGw = Nothing
%>
</body>
</html>