function LoginForm_Validator(theForm)
{

 strError = validateEmail(theForm.strEmail.value)
  if (strError != "") {
		alert(strError);
    	theForm.strEmail.focus();
    	return (false);
  }
  
  strError = validatePassword(theForm.strPassword.value)
  if (strError != "") {
		alert(strError);
    	theForm.strPassword.focus();
    	return (false);
  }
  
    
   return (true);  
}

