<!-- Hide from older browsers
	
//Check the enquiry form is filled in correctly
function CheckForm () { 

	//Initialise variables
	var errorMsg = "";

	//Check for a first name
	if (document.contact.Name.value == ""){
		errorMsg += "\n\tName \t- Please Enter your Name";	
	}
	
	//Check for a last name
	if (document.contact.Phone.value == ""){
		errorMsg += "\n\tPhone \t- Enter your Phone Number";
	}
	 	
	//Check for an e-mail address and that it is valid
	if ((document.contact.Email.value == "") || (document.contact.Email.value.length > 0 && (document.contact.Email.value.indexOf("@",0) == - 1 || document.contact.Email.value.indexOf(".",0) == - 1))) { 
		errorMsg += "\n\tE-mail Address \t- Enter your valid e-mail address";
	}
			
	/*//Check for an enquiry
	if (document.contact.enquiry.value == "") { 
 		errorMsg += "\n\tEnquiry \t\t- Enter an enquiry";
	}*/
		
	//If there is aproblem with the form then display an error
	if (errorMsg != ""){
		msg = "______________________________________________________________\n\n";
		msg += "The form has not been sent because there are missing required fields.\n";
		msg += "Please correct the problem(s) and re-submit the form.\n";
		msg += "______________________________________________________________\n\n";
		msg += "The following field(s) need to be corrected: -\n";
		
		errorMsg += alert(msg + errorMsg + "\n\n");
		return false;
	}
	
	return true;
}
// -->
