function validEmail(email){
	invalidChars="/:,;"
	statement = ""
	
	if (email == ""){
		statement += "Blank eMail"
		return false
	}
	for(i=0; i<invalidChars.length; i++){
		badChar = invalidChars.charAt(i);
		if(email.indexOf(badChar,0) > -1){
			statement += "Bad Characters"
			return false;
		}
	}
	atPos = email.indexOf("@",1)
	if(atPos == -1){
		statement += "eMail must contains @"
		return false
	}
	if(email.indexOf("@",atPos+1) != -1){
		statement += "eMail cannot have more than 2 @"
		return false
	}
	periodPos = email.indexOf(".",atPos)
	if(periodPos == -1){
		statement += "eMail must have a . after @"
		return false
	}
	if(periodPos+3 > email.length){
		statement += "eMail must have more than 2 letters after the ."
		return false
	}
	return true
}

function submitIt(form){
	if(!validEmail(form.email.value)){
		alert("Invalid Email Address!\rDue to the following reason:\r\r" + statement);
		form.email.focus();
		form.email.select();
		return false;
	}
}