
function validate()
{
x=document.contactForm
at=x.email.value.indexOf("@" && ".")
tel=x.phone.value
firstname=x.firstname.value
lastname=x.lastname.value
//address=x.address1.value
//city = x.city.value
//prov = x.province.value
//country = x.country.value
//postal = x.postalcode.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 (!address || !city || !prov || !country || !country || !postal)
//{
// alert("Please enter your full mailing address")
// submitOK="False"
//}
if (submitOK=="False")
 {
 return false
 }
}

