<!--
function checkEmail (strng) {
  var err_cnt = 0;
if (strng == "") {
   err_cnt = 1
}
    var emailFilter=/^.+@.+\..{2,3}$/;
    if (!(emailFilter.test(strng))) {
       err_cnt = 1
    }
    else {
//test email for illegal characters
       var illegalChars= /[\(\)\<\>\,\;\:\\\"\[\]]/
         if (strng.match(illegalChars)) {
         err_cnt = 1
       }
    }
return err_cnt;
}


function isEmpty(strng) {
  var err_cnt = 0;
  if (strng.length == 0) {
     err_cnt = 1
  }
return err_cnt;
}


function checkWholeForm() {
    var error = 0;
	error += checkEmail(send_message.email_address.value);
	error += isEmpty(send_message.telephone.value);
	error += isEmpty(send_message.message.value);
    if (error > 0) {
       alert("Please complete all mandatory fields and provide a valid email address");
       return false;
    } 
}
-->
