  function checkfrom1(){
  if (BASEtrim(document.agent.uid.value)==""){
      BASEalert(document.agent.uid,"请输入用户名称!");
     return false
  }
  if (BASEtrim(document.agent.pass.value)==""){
      BASEalert(document.agent.pass,"请输入用户密码!");
     return false
  }  
  
  //MODIFY BY YUWG 2001/1/15
 // if ((!document.agent.user_type[0].checked)&&(!document.agent.user_type[1].checked))
  //{
  //   BASEalert(document.agent.pass,"请选择用户类型!");
  //   return false
 // }
}