function verify(f) {
	errorFields = "";
			if(f.email.value != ""){
				if (!isValidEmail(f.email.value)){
					errorFields += "- This is not a valid email address\n";
				}
			} 
			else {
				errorFields += "- Please enter your email address.\n";
			}
			

			if (errorFields != "") {
				errorFields = "Please correct the following errors, then resubmit the form. Thank you.\n\n" + errorFields;
			alert(errorFields);
			return false;
			}
	}



function isValidEmail(e){
			
	if(e.indexOf("@")==-1 || e.indexOf(".")==-1 || e.indexOf(" ")!=-1 || e.indexOf("/")!=-1 || e.indexOf(",")!=-1 || e.indexOf(";")!=-1){
		return false;
	}
	else
	{
		return true;
	}
}
