
function checkForm() {
	if (document.contact.Email.value.length != 0) {
		if ((/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(document.contact.Email.value)) == 0){
			alert("Please enter a valid email address.");
			return false;
		}
	}
}
