function beginat()
   {
   document.forms[0].txtUserName.focus()
   return
   }
function checkform1(varuser,varpass)   {
   if (varuser == "") {
      alert("The User Name field cannot be blank.");
      document.forms[0].txtUserName.focus();
      return false;
   }
   if (varpass == "") {
      alert("The Password field cannot be blank.");
      document.forms[0].txtUserPass.focus();
      return false;
   }
return true   
}       
