function FrontPage_Form1_Validator(theForm)
{
  if (theForm.Honorific.selectedIndex < 0)
  {
    alert("Please select one of the \"Honorific\" options.");
    theForm.Honorific.focus();
    return (false);
  }

  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"Given Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.FirstName.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Given Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.FirstName.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Given Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.LastName.value == "")
  {
    alert("Please enter a value for the \"Family Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.LastName.value.length < 2)
  {
    alert("Please enter at least 2 characters in the \"Family Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.LastName.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Family Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.Email.value == "")
  {
    alert("Please enter a value for the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }

  if (theForm.Email.value.length > 40)
  {
    alert("Please enter at most 40 characters in the \"E-mail Address\" field.");
    theForm.Email.focus();
    return (false);
  }
  return (true);
}
