// JavaScript Document
<!--
function validateForm() {
with (document.form1) {
var alertMsg = "The following REQUIRED fields\nhave been left empty:\n";
radioOption = -1;
for (counter=0; counter<radio.length; counter++) {
if (radio[counter].checked) radioOption = counter;
}
if (radioOption == -1) alertMsg += "\nQuestion 1.";
radioOption = -1;
for (counter=0; counter<radio1.length; counter++) {
if (radio1[counter].checked) radioOption = counter;
}
if (radioOption == -1) alertMsg += "\nQuestion 2.";
if (Name.value == "") alertMsg += "\nYour Name";
if (Email.value == "") alertMsg += "\nYour Email";
if (State.value == "") alertMsg += "\nState";
if (Cntry.value == "") alertMsg += "\nCountry";
if (Numbr.value == "") alertMsg += "\nPhone Number";
if (Call.value == "") alertMsg += "\nBest Time to Call";
if (alertMsg != "The following REQUIRED fields\nhave been left empty:\n") {
alert(alertMsg);
return false;
} else {
return true;
} } }


//-->