// JavaScript Document
<!--
function emailCheck() {  
  txt=document.contactsend.Email.value;  
  if (txt.indexOf("@")<3){  
    alert("Invalid Email Address. Please try again.");  
    return false;  
  }  
  return true;  
}

function onButtonClick() { 
var message = "";
if (document.contactsend.Name.value == "") { 
    message = message + "Your Name is required\n";
  } 
  if (document.contactsend.Email == "") { 
    message = message + "Email Adress is required\n";
  } 
  if (document.contactsend.Phone.value == "") { 
    message = message + "Phone Number is required\n";
  }  

  if(message!=""){
    alert("The following form field(s) were incomplete or incorrect:\n\n" + message + "\n\n Please complete or correct the form and submit again.");
  }    
  else {
    alert("Thank you, your request is being submitted.");
    document.contactsend.action = "mail/send.php?send=contactsend";
    document.contactsend.method = "post";
    document.contactsend.submit();
  } 
}
//-->