

<!-- Script to make sure the visitor has filled in the required fields in the contact form -->
<!-- Start hiding the JavaScript from old browsers	
	function checkForm(yourinfo){
		// Check for an empty string or null value in the first name
		if(yourinfo.firstname.value == "" ||
		yourinfo.firstname.value == null){
				alert("Please type in your first name.");
				return(false);
				}
		// Check for an empty string or null value in the last name
		if(yourinfo.lastname.value == "" ||
		yourinfo.lastname.value == null){
				alert("Please type in your last name.");
				return(false);
				}
		// Check for an empty string or null value in the country name
		if(yourinfo.country.value == "" ||
		yourinfo.country.value == null){
				alert("Please type in your country.");
				return(false);
				}
		// Check for an email address with an at sign and a period in it
		if(yourinfo.email.value.indexOf("@") == "-1" || 
		yourinfo.email.value.indexOf(".") == "-1" || 
		yourinfo.email.value == ""){
				alert("Please type in your email address.");
				return(false);
				}
		// The required fields in the contact form are filled in, so we're done.		
		else{
			return(true);
		}
	}
// Stop hiding the JavaScript from old browsers -->
<!-- End of script to make sure the visitor has filled in the required fields in the contact form -->


