function check_login(theForm)
{

if (theForm.uid.value == "")
   {
   alert("请输入您的用户名!");
   theForm.uid.focus();
   return (false)
   }

if (theForm.pwd.value == "")
   {
   alert("请输入您的密码!");
   theForm.pwd.focus();
   return (false)
   }
}

