function survey_onsubmitFooter(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 doSubmitFooter() {
		if (survey_onsubmitFooter(document.survey2)) {
			document.survey2.submit();
		} else {
			return false;
		}
}
