function confirm_form1() {
with (document.form1) {
var alertMsg = "Please fill out the following fields:\n";
if (Comp_name.value == "") alertMsg += "\nCompany Name";
if (Contact_name.value == "") alertMsg += "\nYour Name";
if (Comp_phone.value == "") alertMsg += "\nPhone Number";
if (alertMsg != "Please fill out the following fields:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }
