﻿function checkForm(myForm) {
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(myForm.email.value))){
		alert("It appears your email address was typed improperly.  Please double check!");
		return (false);
	}	
	if (myForm.director.value == ''){
		alert("Please type in the name of the ensemble's director.");
		return (false);
	}
	if (myForm.avoiding.value == ''){
		alert("Please type 'Rotary' in the Security field.");
		return (false);
	}

	return (true);
}