
function checkIt(theForm) {
	if ((theForm.checkMail.value.length <= 1) || (!/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(theForm.checkMail.value))) {
		alert("Invalid E-mail Address! Please re-enter.")
		theForm.checkMail.focus();
		return false;
	
	// must confirm email address
	} else if (theForm.checkMailConfirm.value.length <= 0) {
		alert('You must confirm your email address to continue.');
		theForm.checkMailConfirm.focus();
		return false;
		
	} else if (theForm.checkMail.value != theForm.checkMailConfirm.value) {
		alert('You must enter your email address twice to continue. You have not entered the same address twice. Please try again.');
		//theForm.checkMailConfirm.value = '';
		//theForm.checkMail.value = '';
		theForm.checkMail.focus();
		return false;
	}
	
    if ( (theForm.education) && (theForm.education.length > 0) ) {  
        if (!chk_hasValue(theForm.education, "RADIO")) {
          alert('Please select an EDUCATIONAL AFFILIATION to continue.');
          return false;
        }
    }

	
}