function Validate(){
	var fields = "";

	if (document.frmContact.frmName.value == "") fields = fields + "Name \n";
	if (document.frmContact.frmCompany.value == "") fields = fields + "Company \n";
	if (document.frmContact.frmEmail.value == "") fields = fields + "Email Address \n";
	if (document.frmContact.frmPhone.value == "") fields = fields + "Telephone \n";
	if (fields != ""){
		alert ( "The following fields must be filled in: \n" + fields);
		return false;
	}
	else{
		var chk = document.frmContact.frmEmail.value;
		var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i

		if (!filter.test(chk)) {
			alert("Please enter a valid e-mail address before proceeding");
			return false;
		}
	}
}