	// ' define the validation for this web form.	// ' all fields are required so we're going to go through each and make sure there is a valid entry	function validateContactForm(){		// ' first define the form object so we don't have to type it all out each time		var $form = document.contactForm;		// ' define the variable which holds error messages... if this is empty at the end of the function then 		// ' there are no errors, and the form may be submitted... if it isn't empty, there are		var $return = "";		// ' check to see that at least one of the "send to" boxes are checked				var $boolToFound = false;		for(var $i = 0; $i < $form.strContact.length; $i++ ){if($form.strContact[$i].checked) $boolToFound = true;}		if(!$boolToFound){$return += "- Department to Contact\n";}		if(!$form.strSenderName.value){$return += "- Name\n";}		if(!$form.strAddress.value){$return += "- Address\n";}		if(!$form.strCity.value){$return += "- City\n";}		if($form.lstState[$form.lstState.selectedIndex].value=="xx"){$return += "- State\n";}		if(!$form.strZip.value){$return += "- Zip Code\n";} 		else if(!validZip($form.strZip.value)){$return += "- Valid Zip Code\n";}		if(!$form.strEmail.value){$return += "- E-mail Address\n";}		else if(!validEmail($form.strEmail.value)){$return += "- Invalid E-mail\n";}		if(!_trim($form.strComments.value)){ $return += "- Comments\n"; }		if($return=="") {return true;}		else {alert("All fields are required. Please enter the\nfollowing information and resubmit.\n\n" + $return);return false;}	}
