<!--
function isEmailAddr(email)
{
  var result = false
  var theStr = new String(email)
  var index = theStr.indexOf("@");
  if (index > 0)
  {
    var pindex = theStr.indexOf(".",index);
    if ((pindex > index+1) && (theStr.length > pindex+1))
	result = true;
  }
  return result;
}

function Verify(contact) {
formOk = true;
errorMsg = "";

if (contact.name.value == "") {
formOk = false;
errorMsg = "Please enter your name";
}

if (contact.email.value == "") {
formOk = false;
errorMsg = "Please enter your email";
}
if (!isEmailAddr(contact.email.value))
  {
    alert("Please enter a complete email address in the form: yourname@yourdomain.com");
    contact.email.focus();
    return (false);
  }
   
  if (contact.email.value.length < 3)
  {
    alert("Please enter at least 3 characters in the \"email\" field.");
    contact.email.focus();
    return (false);
  }


if (contact.phone.value == "") {
formOk = false;
errorMsg = "Please enter your Phone";
}


if (!formOk) {
alert(errorMsg);
}

return formOk;
} 
//-->







