function checkDirectoryEmailForm(){		

	if (trim(document.directoryEmailForm.fullName.value).length < 2){
		alert("Please enter your full name.");
		document.directoryEmailForm.fullName.value = trim(document.directoryEmailForm.fullName.value);
		document.directoryEmailForm.fullName.focus();
		return false;
	}

	if (trim(document.directoryEmailForm.contact.value).length < 2){
		alert("Please enter your contact telephone number.");
		document.directoryEmailForm.contact.value = trim(document.directoryEmailForm.contact.value);
		document.directoryEmailForm.contact.focus();
		return false;
	}
	
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(trim(document.directoryEmailForm.email.value)))){
		alert("Please enter a valid email address.\n");
		document.directoryEmailForm.email.value = trim(document.directoryEmailForm.email.value);
		document.directoryEmailForm.email.focus();
		return false;
	}
	
	if (trim(document.directoryEmailForm.message.value).length < 2){
		alert("Please enter your message.");
		document.directoryEmailForm.message.value = trim(document.directoryEmailForm.message.value);
		document.directoryEmailForm.message.focus();
		return false;
	}
	
	return true;
}