function survey_onsubmit2(theform){
	if(theform.firstname.value==''){
		alert('You must enter your First Name');
		theform.firstname.select();
		return false;
	}
	if(theform.lastname.value==''){
		alert('You must enter your Last Name');
		theform.lastname.select();
		return false;
	}                
	if(!isEmail(theform.eemail.value)){
		alert('Please enter a valid Email address.');
		theform.eemail.select();
		return (false);
	}

	return (true);
}

function doSubmit2() {
	if (check_cdfs(document.survey1)) {
		if (survey_onsubmit2(document.survey1)) {
			document.survey1.submit();
		} else {
			return false;
		}
	} else {
		return false;
	}
}
