function ValidateContact(theForm)
{

  if (theForm.Name.value == "")
  {
    alert("Please enter a value for the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.Name.value.length > 30)
  {
    alert("Please enter at most 30 characters in the \"Name\" field.");
    theForm.Name.focus();
    return (false);
  }

  if (theForm.EmailAddress.value == "")
  {
    alert("Please enter a value for the \"Email Address\" field.");
    theForm.EmailAddress.focus();
    return (false);
  }

  if (theForm.EmailAddress.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Email Address\" field.");
    theForm.EmailAddress.focus();
    return (false);
  }

  if (theForm.EmailAddress.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Email Address\" field.");
    theForm.EmailAddress.focus();
    return (false);
  }

  if (theForm.captcha_code.value == "")
  {
    alert("Please type the letters or numbers.");
    theForm.captcha_code.focus();
    return (false);
  }

  if (theForm.subject.selectedIndex < 0)
  {
    alert("Please select one of the \"Subject\" options.");
    theForm.subject.focus();
    return (false);
  }

  if (theForm.subject.selectedIndex == 0)
  {
    alert("The first \"Subject\" option is not a valid selection.  Please choose one of the other options.");
    theForm.subject.focus();
    return (false);
  }

  if (theForm.QuestionComment.value == "")
  {
    alert("Please enter a value for the \"Comments or Question\" field.");
    theForm.QuestionComment.focus();
    return (false);
  }

  if (theForm.QuestionComment.value.length < 1)
  {
    alert("Please enter at least 1 characters in the \"Comments or Question\" field.");
    theForm.QuestionComment.focus();
    return (false);
  }

  if (theForm.QuestionComment.value.length > 5000)
  {
    alert("Please enter at most 5000 characters in the \"Comments or Question\" field.");
    theForm.QuestionComment.focus();
    return (false);
  }
  return (true);
}
