function validate() {
var themessage = "Please fill out the following field(s):\n";
if (document.askOSR.name.value==""){
themessage = themessage + "Name\n";
}
if (document.askOSR.email.value=="") {
themessage = themessage + "Email address\n";
}
if (document.askOSR.phone.value=="") {
themessage = themessage + "Phone\n";
}
//alert if fields are empty and cancel form submit
if (themessage == "Please fill out the following field(s):\n") 
{
return true;
}
else {alert(themessage);
return false;
  }
}
