<!-- Begin

function checkFields() {
missinginfo = "";

if (document.form.Name.value == "") {
missinginfo += "\n     -  Name";

}

if ((document.form.Email.value == "") || 
(document.form.Email.value.search("@") == -1) || 
(document.form.Email.value.length<5) ||
(document.form.Email.value.search("[.??*]") == -1)) {

missinginfo += "\n     -  Email address";

}

if (document.form.Phone.value.length <10) {
missinginfo += "\n     -  Phone Number (10 digits please)";

}

if(document.form.Note.value == "") {
missinginfo += "\n     -  Comments";

}

if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"You failed to correctly fill in your:\n" +
missinginfo + "\n_____________________________" +
"\nPlease re-enter and submit again!";
alert(missinginfo);

return false;

}

else return true;

}

//  End -->

<!--

function FrontPage_Form1_Validator(theForm)

{

  if (theForm.Name.value == "")

  {

    alert("Please enter a value for the \"Name\" field.");

    theForm.Name.focus();

    return (false);

  }



  if (theForm.Name.value.length < 3)

  {

    alert("Please enter at least 3 characters in the \"Name\" field.");

    theForm.Name.focus();

    return (false);

  }



  if (theForm.Name.value.length > 35)

  {

    alert("Please enter at most 35 characters in the \"Name\" field.");

    theForm.Name.focus();

    return (false);

  }



  if (theForm.Address.value == "")

  {

    alert("Please enter a value for the \"Address\" field.");

    theForm.Address.focus();

    return (false);

  }



  if (theForm.Address.value.length > 35)

  {

    alert("Please enter at most 35 characters in the \"Address\" field.");

    theForm.Address.focus();

    return (false);

  }



  if (theForm.City.value == "")

  {

    alert("Please enter a value for the \"City\" field.");

    theForm.City.focus();

    return (false);

  }



  if (theForm.State.value == "")

  {

    alert("Please enter a value for the \"State\" field.");

    theForm.State.focus();

    return (false);

  }



  if (theForm.Country.value == "")

  {

    alert("Please enter a value for the \"Country\" field.");

    theForm.Country.focus();

    return (false);

  }



  if (theForm.Zip.value == "")

  {

    alert("Please enter a value for the \"Zip\" field.");

    theForm.Zip.focus();

    return (false);

  }



  if (theForm.Phone.value == "")

  {

    alert("Please enter a value for the \"Phone\" field.");

    theForm.Phone.focus();

    return (false);

  }



  if (theForm.Phone.value.length > 20)

  {

    alert("Please enter at most 20 characters in the \"Phone\" field.");

    theForm.Phone.focus();

    return (false);

  }



  if (theForm.Email.value == "")

  {

    alert("Please enter a value for the \"Email\" field.");

    theForm.Email.focus();

    return (false);

  }



  if (theForm.Email.value.length < 3)

  {

    alert("Please enter at least 3 characters in the \"Email\" field.");

    theForm.Email.focus();

    return (false);

  }



  if (theForm.Email.value.length > 40)

  {

    alert("Please enter at most 40 characters in the \"Email\" field.");

    theForm.Email.focus();

    return (false);

  }



  if (theForm.Over18.checked == false)

  {
    alert("Please check that you are 18 years of age or older. We can not process requests for those who are younger than 18.");

    theForm.Over18.focus();

    return (false);

  }


  return (true);

}

//-->

