///////////////////////////////////////////////////////////////////////////////
// This is for checking required form fields                                 //
///////////////////////////////////////////////////////////////////////////////

// Find support at http://javascript.internet.com/forms/required-fields.html
function verify() {
var themessage = "You are required to complete the following fields: ";
if (document.contactForm.FirstName.value=="") {
themessage = themessage + " - First Name";
}
if (document.contactForm.LastName.value=="") {
themessage = themessage + " -  Last Name";
}
if (document.contactForm.Email.value=="") {
themessage = themessage + " -  Email";
}
if (document.contactForm.Telephone.value=="") {
themessage = themessage + " -  Telephone";
}
//alert if fields are empty and cancel form submit
if (themessage == "You are required to complete the following fields: ") {
document.contactForm.submit();
}
else {
alert(themessage);
return false;
   }
}

