<!-- Javascript function to check the submitted form has been filled in correctly before submitting -->
<!-- Hide from older browsers
	
	//Check the enquiry form is filled in correctly
	function CheckForm () { 
	
		//Check for a name
		if (document.frmEnquiry.name.value==""){
				alert("Please enter your Name");
				document.frmEnquiry.name.focus();
				return false;
			}
			
		//Check for address
		if (document.frmEnquiry.address.value==""){
				alert("Please enter your Address");
				document.frmEnquiry.address.focus();
				return false;
			}
			
		//Check for a e-mail address
		 if (document.frmEnquiry.email.value=="") { 
			 	alert("Please enter your E-mail address"); 
			 	document.frmEnquiry.email.focus();
			 	return false;
		 	}
					 	
		 //Check that the e-mail address is valid
		if (document.frmEnquiry.email.value.length>0&&(document.frmEnquiry.email.value.indexOf("@",0)==-1||document.frmEnquiry.email.value.indexOf(".",0)==-1)) { 
				alert("Please enter your valid E-mail address"); 
				document.frmEnquiry.email.focus();
				return false;
			}
			
		//Check for message
		if (document.frmEnquiry.comments.value==""){
				alert("Please enter your message");
				document.frmEnquiry.comments.focus();
				return false;
			}
			
		return true;
	 }
// -->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}