function validateEnquiryForm() {

var emailreg  = /\b[A-Z0-9._%-]+@[A-Z0-9._%-]+\.[A-Z]{2,4}\b/i;

	var themessage = "";
		
	if (document.getElementById("name").value == "") {
		themessage += "- Full name\n";
		
	}
	
	/*if (document.getElementById("telephone").value == "") {
	themessage += "- Telephone\n";
		
	}	*/
	
	if (!document.getElementById("email").value.match(emailreg)) {
	themessage = themessage + "- Email Address eg. abc@abc.co.za \n";
		
	}
	
	if (themessage == "") {
		return true;
	} else {
		alert("Please fill in the following fields: \n" + themessage);
		return false;
	}
}
