function verifyForm5() {
    var themessage = "The following error(s) occurred: ";

    if (document.form.first_name.value == "") {
        themessage = themessage + " \n\n - First Name is required \n";
    }
	if (document.form.last_name.value == "") {
        themessage = themessage + " \n\n - Last Name is required \n";
    }
    if (document.form.email.value == "") {
        themessage = themessage + " \n -  E-mail is required \n";
    }
    if (document.form.phone.value != "") {
       if(document.form.phone.value.search(/\d{3}\-\d{3}\-\d{4}/)==-1)
       {
          themessage = themessage + "The phone number you entered is not valid.\r\nPlease enter a phone number with the format xxx-xxx-xxxx.";
       }
    }
	 if (document.form.company.value == "") {
        themessage = themessage + " \n\n - Association is required \n";
    }
    if (themessage == "The following error(s) occurred: ") {
        document.form.submit();
    }
    else {
        alert(themessage);
        return false;
    }
}

