function Validate(theForm)
{

	if (theForm.Email.value > ""){
		if (emailChecking(theForm.Email)==false)
			return (false);
		}
		
	var Phone = theForm.HomePhone.value
	if ((Phone.length <= 13) && (Phone.length > 0)){
		return (false);
	}
	
	var WorkPhone = theForm.WorkPhone.value
	if ((WorkPhone.length <= 13) && (WorkPhone.length > 0)){
		return (false);
	}
	
	var Fax = theForm.Fax.value
	if ((Fax.length <= 13) && (Fax.length > 0)){
		return (false);
	}
	
	if (theForm.Zip.value > ""){
		if (format_zipcodes(theForm.Zip)==false)
			return (false);
		}
		
  if (theForm.FirstName.value == "")
  {
    alert("Please enter a value for the \"First Name\" field.");
    theForm.FirstName.focus();
    return (false);
  }

  if (theForm.FirstName.value.length > 50)
  {
    alert("Please enter at most 50 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 > 50)
  {
    alert("Please enter at most 50 characters in the \"Last Name\" field.");
    theForm.LastName.focus();
    return (false);
  }

  if (theForm.Address1.value == "")
  {
    alert("Please enter a value for the \"Mailing Address\" field.");
    theForm.Address1.focus();
    return (false);
  }

  if (theForm.Address1.value.length > 50)
  {
    alert("Please enter at most 50 characters in the \"Mailing Address\" field.");
    theForm.Address1.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 > 50)
  {
    alert("Please enter at most 50 characters in the \"City\" field.");
    theForm.City.focus();
    return (false);
  }

  if (theForm.state.selectedIndex < 0)
  {
    alert("Please select one of the \"Your State\" options.");
    theForm.state.focus();
    return (false);
  }

  if (theForm.state.selectedIndex == 0)
  {
    alert("The first \"Your State\" option is not a valid selection.  Please choose one of the other options.");
    theForm.state.focus();
    return (false);
  }

  if (theForm.Zip.value == "")
  {
    alert("Please enter a value for the \"Zip Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  if (theForm.Zip.value.length > 20)
  {
    alert("Please enter at most 20 characters in the \"Zip Code\" field.");
    theForm.Zip.focus();
    return (false);
  }

  if ((theForm.HomePhone.value == "") && (theForm.WorkPhone.value == ""))
  {
    alert("Please enter a value for the \"HomePhone\" or \"WorkPhone\" field.");
    theForm.HomePhone.focus();
    return (false);
  }

  if (theForm.dob_mth.selectedIndex < 0)
  {
    alert("Please select one of the \"Birth Month\" options.");
    theForm.dob_mth.focus();
    return (false);
  }

  if (theForm.dob_mth.selectedIndex == 0)
  {
    alert("The first \"Birth Month\" option is not a valid selection.  Please choose one of the other options.");
    theForm.dob_mth.focus();
    return (false);
  }

  if (theForm.dob_day.selectedIndex < 0)
  {
    alert("Please select one of the \"Birth Day\" options.");
    theForm.dob_day.focus();
    return (false);
  }

  if (theForm.dob_day.selectedIndex == 0)
  {
    alert("The first \"Birth Day\" option is not a valid selection.  Please choose one of the other options.");
    theForm.dob_day.focus();
    return (false);
  }

  if (theForm.dob_year.value == "")
  {
    alert("Please enter a value for the \"Birth Year\".");
    theForm.dob_year.focus();
    return (false);
  }
  if (theForm.dob_year.value <= "1899")
	{
	  alert("Please enter a valid year.");
	  theForm.dob_year.focus();
	  return (false);
	}
	if (theForm.dob_year.value > theForm.ThisYear.value)
	{
	  alert("Please enter a valid year.");
	  theForm.dob_year.focus();
	  return (false);
	}
  if (theForm.CurrentInsurer.selectedIndex == 0)
  {
    alert("Please select one of the \"Current Insurer\" options.");
    theForm.CurrentInsurer.focus();
    return (false);
  }
	
	if (!theForm.SelfEmployed(0).checked && !theForm.SelfEmployed(1).checked)
  {
    alert("Please select a value for \"Are You Self-Employed?\".");
    theForm.SelfEmployed(0).focus();
    return (false);
  }
  
  return (true);
}
