	function validator(theForm) {
  var famval = theForm.family.value; var incom = theForm.income.value; incom = incom.replace(/,/, "");
	if (famval == 1 && incom <= 10400){var medicaid = "yes";}
	if (famval == 2 && incom <= 14000){var medicaid = "yes";}
	if (famval == 3 && incom <= 17600){var medicaid = "yes";}
	if (famval == 4 && incom <= 21200){var medicaid = "yes";}
	if (famval == 5 && incom <= 24800){var medicaid = "yes";}
	if (famval == 6 && incom <= 28400){var medicaid = "yes";}
	if (famval == 7 && incom <= 32000){var medicaid = "yes";}
	if (famval == 8 && incom <= 35600){var medicaid = "yes";}
	if (famval == 1 && incom <= 20800){var chip = "yes";}
	if (famval == 2 && incom <= 28000){var chip = "yes";}
	if (famval == 3 && incom <= 35200){var chip = "yes";}
	if (famval == 4 && incom <= 42400){var chip = "yes";}
	if (famval == 5 && incom <= 49600){var chip = "yes";}
	if (famval == 6 && incom <= 56800){var chip = "yes";}
	if (famval == 7 && incom <= 64000){var chip = "yes";}
	if (famval == 8 && incom <= 71200){var chip = "yes";}
	if (famval > 8){alert("More information is needed to determine whether your kid(s) qualify for CHIP or Children's Medicaid. Please contact the Children's Defense Fund at 713-664-4080."); return false;}
	if (chip == "yes" && medicaid == "yes") {
	//alert("Chip and Medicaid"); return false;
	window.location = "http://texaskidswin.org/congratulations.php?result=chipandmedicaid&zip="+theForm.zip.value; return false;
	}
	if (chip == "yes") {
	//alert("Chip"); return false;
	window.location = "http://texaskidswin.org/congratulations.php?result=chip&zip="+theForm.zip.value; return false;
	}
	if (medicaid == "yes") {
	//alert("Medicaid"); return false;
	window.location = "http://texaskidswin.org/congratulations.php?result=medicaid&zip="+theForm.zip.value; return false;
	}
	if (chip != "yes" && medicaid != "yes") {
	//alert("None"); return false;
	window.location = "http://texaskidswin.org/petition.php?result=neither&zip="+theForm.zip.value; return false;
	}
}