function Validator(theForm)
{

  if (theForm.ContactName.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.ContactName.focus();
    return (false);
  }

  if (theForm.UserEmail.value == "")
  {
    alert("Please enter a value for the \"Email\" field.");
    theForm.UserEmail.focus();
    return (false);
  }
  return (true);
}

