// JavaScript Documentfunction FrontPage_Form1_Validator(theForm){  if (theForm.FirstName.value == "")  {    alert("Please enter a value for the \"First Name\" field.");    theForm.FirstName.focus();    return (false);  }  if (theForm.FirstName.value.length < 2)  {    alert("Please enter at least 2 characters in the \"First Name\" field.");    theForm.FirstName.focus();    return (false);  }  if (theForm.LastName.value == "")  {    alert("Please enter a value for the \"Last Name\" field.");    theForm.LastName.focus();    return (false);  }  if (theForm.LastName.value.length < 2)  {    alert("Please enter at least 2 characters in the \"Last Name\" field.");    theForm.LastName.focus();    return (false);  }  if (theForm.email_from.value == "")  {    alert("Please enter a value for the \"Email Address\" field.");    theForm.email_from.focus();    return (false);  }  if (theForm.email_from.value.length < 2)  {    alert("Please enter at least 2 characters in the \"Email Address\" field.");    theForm.email_from.focus();    return (false);  }  if (theForm.Address.value == "")  {    alert("Please enter a value for the \"Home Address\" field.");    theForm.Address.focus();    return (false);  }  if (theForm.Address.value.length < 2)  {    alert("Please enter at least 2 characters in the \"Home 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.City.value.length < 2)  {    alert("Please enter at least 2 characters in the \"City\" field.");    theForm.City.focus();    return (false);  }  if (theForm.State.selectedIndex < 0)  {    alert("Please select one of the \"State\" options.");    theForm.State.focus();    return (false);  }  if (theForm.State.selectedIndex == 0)  {    alert("The first \"State\" option is not a valid selection.  Please choose one of the other options.");    theForm.State.focus();    return (false);  }  if (theForm.ZipCode.value == "")  {    alert("Please enter a value for the \"Zip\" field.");    theForm.ZipCode.focus();    return (false);  }  if (theForm.ZipCode.value.length < 5)  {    alert("Please enter at least 5 characters in the \"Zip\" field.");    theForm.ZipCode.focus();    return (false);  }  if (theForm.ZipCode.value.length > 10)  {    alert("Please enter at most 10 characters in the \"Zip\" field.");    theForm.ZipCode.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 < 10)  {    alert("Please enter at least 10 characters in the \"Phone\" field.");    theForm.Phone.focus();    return (false);  }  if (theForm.TimeFrame.selectedIndex < 0)  {    alert("Please select one of the \"TimeFrame\" options.");    theForm.TimeFrame.focus();    return (false);  }  if (theForm.TimeFrame.selectedIndex == 0)  {    alert("The first \"TimeFrame\" option is not a valid selection.  Please choose one of the other options.");    theForm.TimeFrame.focus();    return (false);  }    return (true);}