function checkit()
{

  if (document.theForm.s0005Date.value.length > 8)
  {
    alert("Please enter at most 8 characters in the \"Date\" field.");
    document.theForm.s0005Date.focus();
    return (false);
  }

  if (document.theForm.s0010Voter_ID.value == "")
  {
    alert("Please enter a value for the \"Voter_ID\" field.");
    document.theForm.s0010Voter_ID.focus();
    return (false);
  }

  if (document.theForm.s0010Voter_ID.value.length > 20)
  {
    alert("Please enter at most 20 characters in the \"Voter_ID\" field.");
    document.theForm.s0010Voter_ID.focus();
    return (false);
  }

  if (document.theForm.s0015Birthdate.value == "")
  {
    alert("Please enter a value for the \"Birthdate\" field.");
    document.theForm.s0015Birthdate.focus();
    return (false);
  }

  if (document.theForm.s0015Birthdate.value.length > 8)
  {
    alert("Please enter at most 8 characters in the \"Birthdate\" field.");
    document.theForm.s0015Birthdate.focus();
    return (false);
  }

  if (document.theForm.s0020Social_Security.value == "")
  {
    alert("Please enter a value for the \"Social_Security\" field.");
    document.theForm.s0020Social_Security.focus();
    return (false);
  }

  if (document.theForm.s0020Social_Security.value.length > 4)
  {
    alert("Please enter at most 4 characters in the \"Social_Security\" field.");
    document.theForm.s0020Social_Security.focus();
    return (false);
  }

  if (document.theForm.s0025Electors_Phone.value == "")
  {
    alert("Please enter a value for the \"Electors_Phone\" field.");
    document.theForm.s0025Electors_Phone.focus();
    return (false);
  }

  if (document.theForm.s0025Electors_Phone.value.length > 25)
  {
    alert("Please enter at most 25 characters in the \"Electors_Phone\" field.");
    document.theForm.s0025Electors_Phone.focus();
    return (false);
  }

  if (document.theForm.s0030email.value == "")
  {
    alert("Please enter a value for the \"Email_Address\" field.");
    document.theForm.s0030email.focus();
    return (false);
  }

  if (document.theForm.s0035Last.value == "")
  {
    alert("Please enter a value for the \"Last\" field.");
    document.theForm.s0035Last.focus();
    return (false);
  }

  if (document.theForm.s0035Last.value.length > 29)
  {
    alert("Please enter at most 29 characters in the \"Last\" field.");
    document.theForm.s0035Last.focus();
    return (false);
  }

  if (document.theForm.s0040First.value == "")
  {
    alert("Please enter a value for the \"First\" field.");
    document.theForm.s0040First.focus();
    return (false);
  }

  if (document.theForm.s0040First.value.length > 25)
  {
    alert("Please enter at most 25 characters in the \"First\" field.");
    document.theForm.s0040First.focus();
    return (false);
  }

  if (document.theForm.s0045Middle.value == "")
  {
    alert("Please enter a value for the \"Middle\" field.");
    document.theForm.s0045Middle.focus();
    return (false);
  }

  if (document.theForm.s0045Middle.value.length > 20)
  {
    alert("Please enter at most 20 characters in the \"Middle\" field.");
    document.theForm.s0045Middle.focus();
    return (false);
  }

  if (document.theForm.s0050Elector_StreetAddress.value == "")
  {
    alert("Please enter a value for the \"Elector_StreetAddress\" field.");
    document.theForm.s0050Elector_StreetAddress.focus();
    return (false);
  }

  if (document.theForm.s0060Elector_City.value == "")
  {
    alert("Please enter a value for the \"Elector_City\" field.");
    document.theForm.s0060Elector_City.focus();
    return (false);
  }

  if (document.theForm.s0065Elector_State.value == "")
  {
    alert("Please enter a value for the \"Elector_State\" field.");
    document.theForm.s0065Elector_State.focus();
    return (false);
  }

  if (document.theForm.s0070Elector_ZipCode.value == "")
  {
    alert("Please enter a value for the \"Elector_ZipCode\" field.");
    document.theForm.s0070Elector_ZipCode.focus();
    return (false);
  }

  if (document.theForm.s0070Elector_ZipCode.value.length < 5)
  {
    alert("Please enter at least 5 characters in the \"Elector_ZipCode\" field.");
    document.theForm.s0070Elector_ZipCode.focus();
    return (false);
  }

  if (document.theForm.s0070Elector_ZipCode.value.length > 10)
  {
    alert("Please enter at most 10 characters in the \"Elector_ZipCode\" field.");
    document.theForm.s0070Elector_ZipCode.focus();
    return (false);
  }

  var checkOK = "0123456789-.,";
  var checkStr = document.theForm.s0070Elector_ZipCode.value;
  var allValid = true;
  var decPoints = 0;
  var allNum = "";
  for (i = 0;  i < checkStr.length;  i++)
  {
    ch = checkStr.charAt(i);
    for (j = 0;  j < checkOK.length;  j++)
      if (ch == checkOK.charAt(j))
        break;
    if (j == checkOK.length)
    {
      allValid = false;
      break;
    }
    if (ch == ".")
    {
      allNum += ".";
      decPoints++;
    }
    else if (ch != ",")
      allNum += ch;
  }
  if (!allValid)
  {
    alert("Please enter only digit characters in the \"Elector_ZipCode\" field.");
    document.theForm.s0070Elector_ZipCode.focus();
    return (false);
  }

  if (decPoints > 1)
  {
    alert("Please enter a valid number in the \"Elector_ZipCode\" field.");
    document.theForm.s0070Elector_ZipCode.focus();
    return (false);
  }

if (document.theForm.s0080Presidential_Preference.checked) 
{
	  if (document.theForm.s0085Presidential_Preference_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Presidential Preference Address \" field.");
    	document.theForm.s0085Presidential_Preference_Address_1.focus();
    	return (false);
  	}

	if (document.theForm.s0090Preidential_Preference_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Presidential Preference Address \" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0090Preidential_Preference_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0095Presidential_Preference_City.value == "")
  	{
    	alert("Please enter a value for the \"Presidential Preference City\" field.");
    	document.theForm.s0095Presidential_Preference_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0100Presidential_Preference_State.value == "")
  	{
    	alert("Please enter a value for the \"Presidential Preference State/Province\" field.");
    	document.theForm.s0100Presidential_Preference_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0105Presidential_Preference_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Presidential Preference Zip/Postal Code\" field.");
    	document.theForm.s0105Presidential_Preference_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0105Presidential_Preference_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Presidential Preference Zip/Postal Code\" field.");
    	document.theForm.s0105Presidential_Preference_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0110First_Primary.checked)
{
 	if (document.theForm.s0115First_Primary_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"1st Primary Address\" field.");
    	document.theForm.s0115First_Primary_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0120First_Primary_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"1st Primary Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0120First_Primary_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0125First_Primary_City.value == "")
  	{
    	alert("Please enter a value for the \"1st Primary City\" field.");
    	document.theForm.s0125First_Primary_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0130First_Primary_State.value == "")
  	{
    	alert("Please enter a value for the \"1st Primary State\" field.");
    	document.theForm.s0130First_Primary_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0135First_Primary_Zip.value == "")
  	{
    	alert("Please enter a value for the \"1st Primary Zip/Postal Code\" field.");
    	document.theForm.s0135First_Primary_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0135First_Primary_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"1st Primary Zip/Postal Code\" field.");
    	document.theForm.s0135First_Primary_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0140General.checked)
{
  	if (document.theForm.s0145General_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"General Address\" field.");
    	document.theForm.s0145General_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0150General_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"General Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0150General_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0155General_City.value == "")
  	{
    	alert("Please enter a value for the \"General City\" field.");
    	document.theForm.s0155General_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0160General_State.value == "")
  	{
    	alert("Please enter a value for the \"General State\" field.");
    	document.theForm.s0160General_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0165General_Zip.value == "")
  	{
    	alert("Please enter a value for the \"General Zip\" field.");
    	document.theForm.s0165General_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0165General_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"General Zip\" field.");
    	document.theForm.s0165General_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0170Palatka_Primary.checked)
{
  	if (document.theForm.s0175Palatka_Primary_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Palatka Primary Address\" field.");
    	document.theForm.s0175Palatka_Primary_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0180Palatka_Primary_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Palatka Primary Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0180Palatka_Primary_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0185Palatka_Primary_City.value == "")
  	{
    	alert("Please enter a value for the \"Palatka Primary City\" field.");
    	document.theForm.s0185Palatka_Primary_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0190Palatka_Primary_State.value == "")
  	{
    	alert("Please enter a value for the \"Palatka Primary State\" field.");
    	document.theForm.s0190Palatka_Primary_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0195Palatka_Primary_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Palatka Primary Zip/Postal Code\" field.");
    	document.theForm.s0195Palatka_Primary_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0195Palatka_Primary_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Palatka Primary Zip/Postal Code\" field.");
    	document.theForm.s0195Palatka_Primary_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0200Palatka_General.checked)
{
  	if (document.theForm.s0205Palatka_General_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Palatka General Address\" field.");
    	document.theForm.s0205Palatka_General_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0210Palatka_General_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Palatka General Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0210Palatka_General_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0215Palatka_General_City.value == "")
  	{
    	alert("Please enter a value for the \"Palatka General City\" field.");
    	document.theForm.s0215Palatka_General_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0220Palatka_General_State.value == "")
  	{
    	alert("Please enter a value for the \"Palatka General State\" field.");
    	document.theForm.s0220Palatka_General_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0225Palatka_General_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Palatka General Zip/Postal Code\" field.");
    	document.theForm.s0225Palatka_General_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0225Palatka_General_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Palatka General Zip/Postal Code\" field.");
    	document.theForm.s0225Palatka_General_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0230Crescent_City.checked)
{
  	if (document.theForm.s0235Crescent_City_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Crescent City Address\" field.");
    	document.theForm.s0235Crescent_City_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0240Crescent_City_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Crescent City Address\n\nIf you don't need to use this field enter a space.\" field.");
    	document.theForm.s0240Crescent_City_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0245Crescent_City_City.value == "")
  	{
    	alert("Please enter a value for the \"Crescent City City\" field.");
    	document.theForm.s0245Crescent_City_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0250Crescent_City_State.value == "")
  	{
    	alert("Please enter a value for the \"Crescent City State\" field.");
    	document.theForm.s0250Crescent_City_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0255Crescent_City_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Crescent City Zip/Postal Code\" field.");
    	document.theForm.s0255Crescent_City_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0255Crescent_City_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Crescent City Zip/Postal Code\" field.");
    	document.theForm.s0255Crescent_City_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0260Interlachen.checked)
{
  	if (document.theForm.s0265Interlachen_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Interlachen Address\" field.");
    	document.theForm.s0265Interlachen_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0270Interlachen_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Interlachen Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0270Interlachen_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0275Interlachen_City.value == "")
  	{
    	alert("Please enter a value for the \"Interlachen City\" field.");
    	document.theForm.s0275Interlachen_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0280Interlachen_State.value == "")
  	{
    	alert("Please enter a value for the \"Interlachen State\" field.");
    	document.theForm.s0280Interlachen_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0285Interlachen_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Interlachen Zip/Postal Code\" field.");
    	document.theForm.s0285Interlachen_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0285Interlachen_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Interlachen Zip/Postal Code\" field.");
    	document.theForm.s0285Interlachen_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0290Pomona_Park.checked)
{
  	if (document.theForm.s0295Pomona_Park_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Pomona Park Address\" field.");
    	document.theForm.s0295Pomona_Park_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0300Pomona_Park_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Pomona Park Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0300Pomona_Park_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0305Pomona_Park_City.value == "")
  	{
    	alert("Please enter a value for the \"Pomona Park City\" field.");
    	document.theForm.s0305Pomona_Park_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0310Pomona_Park_State.value == "")
  	{
    	alert("Please enter a value for the \"Pomona Park State\" field.");
    	document.theForm.s0310Pomona_Park_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0315Pomona_Park_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Pomona Park Zip/Postal Code\" field.");
    	document.theForm.s0315Pomona_Park_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0315Pomona_Park_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Pomona Park Zip/Postal Code\" field.");
    	document.theForm.s0315Pomona_Park_Zip.focus();
    	return (false);
  	}
}

if (document.theForm.s0320Welaka.checked)
{
  	if (document.theForm.s0325Welaka_Address_1.value == "")
  	{
    	alert("Please enter a value for the \"Welaka Address\" field.");
    	document.theForm.s0325Welaka_Address_1.focus();
    	return (false);
  	}

  	if (document.theForm.s0330Welaka_Address_2.value == "")
  	{
    	alert("Please enter a value for the \"Welaka Address\" field.\n\nIf you don't need to use this field enter a space.");
    	document.theForm.s0330Welaka_Address_2.focus();
    	return (false);
  	}

  	if (document.theForm.s0335Welaka_City.value == "")
  	{
    	alert("Please enter a value for the \"Welaka City\" field.");
    	document.theForm.s0335Welaka_City.focus();
    	return (false);
  	}

  	if (document.theForm.s0340Welaka_State.value == "")
  	{
    	alert("Please enter a value for the \"Welaka State\" field.");
    	document.theForm.s0340Welaka_State.focus();
    	return (false);
  	}

  	if (document.theForm.s0345Welaka_Zip.value == "")
  	{
    	alert("Please enter a value for the \"Welaka_Zip\" field.");
    	document.theForm.s0345Welaka_Zip.focus();
    	return (false);
  	}

  	if (document.theForm.s0345Welaka_Zip.value.length > 12)
  	{
    	alert("Please enter at most 12 characters in the \"Welaka_Zip\" field.");
    	document.theForm.s0345Welaka_Zip.focus();
    	return (false);
  	}
}
  return (true);
}
