// Field Checking
function verify_delivery() {
var themessage = "You are required to complete the following fields: ";
if (document.delivery.contact_name.value=="") {
themessage = themessage + " - Contact name";
}
if (document.delivery.contact_email.value=="") {
themessage = themessage + " - Contact e-mail";
}
if (themessage == "You are required to complete the following fields: ") {
document.delivery.submit();
}
else {
alert(themessage);
return false;
   }
}

