
function validate()
{
x=document.contactForm
at=x.email.value.indexOf("@" && ".")
tel=x.phone.value
firstname=x.firstname.value
lastname=x.lastname.value
submitOK="True"
if (at==-1) 
 {
 alert("Not a valid e-mail address, please verify and re-send")
 submitOK="False"
 }
if (!tel)
 {
 alert("Please enter a contact telephone")
 submitOK="False"
 }
if (!firstname || !lastname)
 {
 alert("Please enter your first name and last name")
 submitOK="False"
 }
if (submitOK=="False")
 {
 return false
 }
}

