function chklogin(theForm) {

	 if (theForm.logonname.value==""){
      alert("请输入您的帐号！");
      theForm.logonname.focus();
      return (false);
     }
	 
	 if (theForm.logonname.value.length<6){
      alert("帐号字符太少，应该为6-13个字符！");
      theForm.logonname.focus();
      return (false);
	 } 

	 if (theForm.pwd.value==""){
      alert("请输入您的密码！");
      theForm.pwd.focus();
      return (false);
     }
	   
	 if (theForm.pwd.value.length<6){
      alert("密码字符太少，应该为6-13个字符！");
      theForm.pwd.focus();
      return (false);
	 } 
	return true;

}

