
<!--
//check form info



function validateForm(){

msg = "__________________________________________________________________\n\n";
msg += "           This form was not submitted because of the following error(s).\n";
msg += "_________________________________________________________________\n\n";

countError=0;


//personal email address
if (document.email.email1.value==''){
msg += "- You need to put in your email.\n";
document.email.email1.style.backgroundColor = "red";
document.email.email1.style.color = "white";
document.email.email1.style.fontWeight = "400";
//document.form1.lname.value="you need to fill this in";
countError++;
}else{
document.email.email1.style.color = "black";
document.email.email1.style.backgroundColor = "#ffffff";
}




//finished checking - dump to alert if any errors
if (countError == 0){

return true;
}
if (countError != 0){
msg += "\n\n__________________________________________________________________\n\n";
msg += "           Please fix the error(s) in red on form. \n\n";

alert (msg);
return false;
}

}

//-->

