function validate () {
	 var missing = "";
	 var allok = true;
	
	 if (document.contact.firstname.value == ""){
			missing += "\t First Name\n";
			allok = false;
	 }
	 if (document.contact.lastname.value == ""){
		missing += "\t Last Name\n";
		allok = false;
	 }
	 if (document.contact.address.value == ""){
		missing += "\t Address\n";
		allok = false;
	 }
	 if (document.contact.city.value == ""){
		missing += "\t City\n";
		allok = false;
	 }
	 if (document.contact.state.value == ""){
		missing += "\t State\n";
		allok = false;
	 }
	 if (document.contact.zip.value == ""){
			missing += "\t Zip Code\n";
			allok = false;
	 }
	 if (document.contact.email.value == ""){
		missing += "\t E-mail Address\n";
		allok = false;
	 }

	 // AGE RADIO BUTTON CHECK
	 ageOk=false;
	 for(x=0;x<document.contact.age.length;x++){
		if(document.contact.age[x].checked){ ageOk=true; break; }
	 }
	 if (!ageOk){
		missing += "\t Age Group\n";
		allok = false;
	 }

	 // VISITED RADIO BUTTON CHECK
	 visitOk=false;
	 for(x=0;x<document.contact.visit.length;x++){
		if(document.contact.visit[x].checked){ visitOk=true; break; }
	 }
	 if (!visitOk){
		missing += "\t Visited Dearborn County?\n";
		allok = false;
	 }

	 // NEWSLETTER RADIO BUTTON CHECK
	 newsOk=false;
	 for(x=0;x<document.contact.newsletter.length;x++){
		if(document.contact.newsletter[x].checked){ newsOk=true; break; }
	 }
	 if (!newsOk){
		missing += "\t Receive E-Newsetter?\n";
		allok = false;
	 }

	 if (allok) {
		   return true;
         } else {
	        alert("Please enter following Information before submitting:\n\n" + missing);
	        return false;
         }	
}

function validate_form () {
	
	var theform=document.getElementById('form1');
	 var missing = "";
	 var allok = true;
	
	 if(!(document.getElementById('planner1').checked)&&
		!(document.getElementById('planner2').checked)&&
		!(document.getElementById('planner3').checked)
		){
		 missing += "\t At Least One Planner\n";
		allok = false;
	 }
	 if (theform.firstname.value == ""){
			missing += "\t First Name\n";
			allok = false;
	 }
	 if (theform.lastname.value == ""){
		missing += "\t Last Name\n";
		allok = false;
	 }
	 if (theform.address.value == ""){
		missing += "\t Address\n";
		allok = false;
	 }
	 if (theform.city.value == ""){
		missing += "\t City\n";
		allok = false;
	 }
	 if (theform.state.value == ""){
		missing += "\t State\n";
		allok = false;
	 }
	 if (theform.zip.value == ""){
			missing += "\t Zip Code\n";
			allok = false;
	 }
	 if (theform.email.value == ""){
		missing += "\t E-mail Address\n";
		allok = false;
	 }

	  if (allok) {
		   return true;
         } else {
	        alert("Please enter following Information before submitting:\n\n" + missing);
	        return false;
         }	

}

function swap (name,over)
{
	if(window.document.images) {
		if (over)
			window.document.images[name].src = "images/" + name + "_over.gif";
		else
			window.document.images[name].src = "images/" + name + ".gif";
	}
}