// JavaScript Document
function validateFORM(){
		var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
		var address = document.contact.email.value;
		
		if (document.contact.contactname.value == "") {
		alert("Sorry you must enter a contact name");
		return false;
	}
		if (document.contact.telephone.value == "") {
		alert("Sorry you must enter a contact number");
	
	}
		if(reg.test(address) == false) {
		alert('Invalid Email Address');
		return false;
		}
	
		if (document.contact.company.value == "") {
		alert("Sorry you must provide a company name");
		return false;
	}
	return true;
}