function checkContact(theForm) {
    var why = "";
	why += checkName(theForm.name.value);
	why += checkEmail(theForm.email.value);
	
    if (why != "") {
       alert(why);
       return false;
    }
return true;
}

function checkOthers(theForm) {
    var why = "";
	why += checkContactName(theForm.contact_name.value);
	why += checkEmail(theForm.email.value);
	
    if (why != "") {
       alert(why);
       return false;
    }
return true;
}

function checkInsurance(theForm) {
    var why = "";
	why += checkAdjustersName(theForm.adjusters_name.value);
	why += checkEmail(theForm.email.value);
	
    if (why != "") {
       alert(why);
       return false;
    }
return true;
}

function checkAttorneys(theForm) {
    var why = "";
	why += checkAttorneyName(theForm.attorney_name.value);
	why += checkEmail(theForm.email.value);
	
    if (why != "") {
       alert(why);
       return false;
    }
return true;
}

function checkName(strng) {
 var error = "";
 if (strng == "") {
    error = "Name is a required field.\n";
 }
 return error;
}
function checkEmail(strng) {
 var error = "";
 if (strng == "") {
    error = "Email is a required field.\n";
 }
 return error;
}
function checkContactName(strng) {
 var error = "";
 if (strng == "") {
    error = "Contact Name is a required field.\n";
 }
 return error;
}
function checkAdjustersName(strng) {
 var error = "";
 if (strng == "") {
    error = "Adjusters Name is a required field.\n";
 }
 return error;
}
function checkAttorneyName(strng) {
 var error = "";
 if (strng == "") {
    error = "Attorney Name is a required field.\n";
 }
 return error;
}