// theForm = document.form

function checkEmail(formElement) {
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(formElement.value))){		
		return false;	
	} else {
		return true;
	}
}

function CheckMailingList(theForm) {
	if(!checkEmail(theForm.email)) {
		alert('Please enter a valid Email Address.');
		theForm.email.focus();
		return false;
	} else {
		return true;
	}
}