function check_form() {
missinginfo = "";
if (document.theform2.c01Name.value == "") {
missinginfo += "\n     -  Name";
}
if (document.theform2.c05Address1.value == "") {
missinginfo += "\n     -  Address";
}
if (document.theform2.c07City.value == "") {
missinginfo += "\n     -  City";
}
if (document.theform2.c08State.value == "") {
missinginfo += "\n     -  State";
}
if (document.theform2.c09zip.value == "") {
missinginfo += "\n     -  Zip Code";
}
if (document.theform2.c12Phone.value == "") {
missinginfo += "\n     -  Phone Number";
}

if ((document.theform2.fromemail.value == "") || 
(document.theform2.fromemail.value.indexOf('@') == -1) || 
(document.theform2.fromemail.value.indexOf('.') == -1)) {
missinginfo += "\n     -  Email address";
}

if (missinginfo != "") {
missinginfo ="_____________________________\n" +
"You failed to correctly fill in your:\n" +
missinginfo + "\n_____________________________" +
"\nPlease re-enter and submit again!";
alert(missinginfo);
return false;
}
else return true;
}

