// JavaScript Document
<!-- Begin
function verify() {
themessage = "";

if (document.theform.name.value=="") {
themessage += "\n       -  Name";
}
if (document.theform.phone.value=="") {
themessage += "\n       -  Phone";
}
if ((document.theform.email.value == "") || 
(document.theform.email.value.indexOf('@') == -1) || 
(document.theform.email.value.indexOf('.') == -1)) {
themessage += "\n       -  Email Address";
}
if (document.theform.details.value=="") {
themessage += "\n       -  Message";
}
if (document.theform.vali.value!="9") {
themessage += "\n       -  Please Validate the form by filling the total";
}



if (themessage != "") {
themessage ="You failed to enter a valid" + themessage + "\n Please enter a valid set of information";
alert(themessage);
return false;
}
else return true;

}
//  End -->