/****** FORM FUNCTIONS ******/

function errorCheck() {	
	if ((document.emailform.name.value=="")||(document.emailform.name.value==" ")){
		alert("Please fill in the 'Name' field");
		return false;
	}	
	if ((document.emailform.visitormail.value=="")||(document.emailform.visitormail.value==" ")){
		alert("Please fill in the 'Email' field");
		return false;
	}	
	else {				
		document.emailform.submit();		
	}
	
}
