<!--  hide script from older browsers
//--image preload
  function myLoad() {
    pic21=new Image(10,10);
    pic21.src="./pros-img/BPHanimation.gif";
  }

//---isblank function
function isblank(fld) {
 for(i=0; i<fld.length; i++) {
   var c = fld.charAt(i);
   if( (c != ' ') && ((c = '\n') || (c = '\t')) ) return false; }
 return true; 
}

//---validate the contact us form
function testform() {
  var msg = "---Errors on 'Contact Us' Form---\n";
  var errs = "n";
  var myfocus = "n";
  mydoc = document.prosContact;
//--test name
  if (mydoc.naamvan.value == "") {
   msg = msg + "Name required \n";
   mydoc.naamvan.focus();
   myfocus = "y";
   errs = "y"; }
//--test phone
  if ((mydoc.foon.value == "") || (mydoc.foon.value.length < 10)) {
   msg = msg + "Phone number required \n";
   if (myfocus == "n") { 
     myfocus = "y"; 
     mydoc.foon.focus(); }
   errs = "y"; }
//--test email
  erre = "n";
  if (mydoc.epos.value.length < 7) { 
   msg = msg + "Invalid email Address - to short \n";
   errs = "y"; erre = "y"; }
   var str = mydoc.epos.value;   // email string
   var re = /^\w+([\._]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/;
  if (!re.test(str)) { 
   msg = msg + "Invalid email Address structure \n";
   errs = "y"; erre = "y"; } 
  if (erre == "y") {
   if (myfocus == "n") {
     mydoc.epos.focus(); 
     myfocus = "y"; }
  }
  if (errs == "n") 
   return true; 
  else {
   window.alert(msg);
   return false; }
  }