// JavaScript Documentfunction MM_preloadImages() {     var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}// SHOW AND HIDE LAYERSfunction toggleLayer(whichLayer){    if (document.getElementById)    {        // this is the way the standards work        var style2 = document.getElementById(whichLayer).style;        style2.display = style2.display? "":"block";    }    else if (document.all)    {        var style2 = document.all[whichLayer].style;        style2.display = style2.display? "":"block";    }    else if (document.layers)    {        // this is the way nn4 works        var style2 = document.layers[whichLayer].style;        style2.display = style2.display? "":"block";    }    if( whichLayer == "contactusthankyou" ) style2.display = "none";}// ADD LINEfunction addLine() {  var htmlOut = "<p>Here goes a new row</p>";  //window.alert("hey");  document.getElementById("dynamicContent").innerHTML += htmlOut;}// INCREASE / DECREASE FONT SIZEvar min=11;var max=30;function increaseFontSize() {   var p = document.getElementsByTagName('p');      for(i=0;i<p.length;i++) {      if(p[i].style.fontSize) {         var s = parseInt(p[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      p[i].style.fontSize = s+"px"   }      var t = document.getElementsByTagName('table');      for(i=0;i<t.length;i++) {      if(t[i].style.fontSize) {         var s = parseInt(t[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      t[i].style.fontSize = s+"px"   }       var h = document.getElementsByTagName('h3');      for(i=0;i<h.length;i++) {      if(h[i].style.fontSize) {         var s = parseInt(h[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      h[i].style.fontSize = s+"px"   }       var l = document.getElementsByTagName('ul');   for(i=0;i<l.length;i++) {      if(l[i].style.fontSize) {         var s = parseInt(l[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      l[i].style.fontSize = s+"px"   } var f = document.getElementsByTagName('form');   for(i=0;i<f.length;i++) {      if(f[i].style.fontSize) {         var s = parseInt(f[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      f[i].style.fontSize = s+"px"   }var fi = document.getElementsByTagName('fieldset');   for(i=0;i<fi.length;i++) {      if(fi[i].style.fontSize) {         var s = parseInt(fi[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }      fi[i].style.fontSize = s+"px"   }var t = document.getElementsByTagName('textarea');   for(i=0;i<t.length;i++) {      if(t[i].style.fontSize) {         var s = parseInt(t[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=max) {         s += 1;      }     t[i].style.fontSize = s+"px"   }}function decreaseFontSize() {   var p = document.getElementsByTagName('p');   for(i=0;i<p.length;i++) {      if(p[i].style.fontSize) {         var s = parseInt(p[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      p[i].style.fontSize = s+"px"   }        var t = document.getElementsByTagName('table');      for(i=0;i<t.length;i++) {      if(t[i].style.fontSize) {         var s = parseInt(t[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      t[i].style.fontSize = s+"px"   }        var h = document.getElementsByTagName('h3');      for(i=0;i<h.length;i++) {      if(h[i].style.fontSize) {         var s = parseInt(h[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      h[i].style.fontSize = s+"px"   }      var l = document.getElementsByTagName('ul');   for(i=0;i<l.length;i++) {      if(l[i].style.fontSize) {         var s = parseInt(l[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      l[i].style.fontSize = s+"px"   }  var f = document.getElementsByTagName('form');   for(i=0;i<f.length;i++) {      if(f[i].style.fontSize) {         var s = parseInt(f[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      f[i].style.fontSize = s+"px"   }  var fi = document.getElementsByTagName('fieldset');   for(i=0;i<fi.length;i++) {      if(fi[i].style.fontSize) {         var s = parseInt(fi[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }      fi[i].style.fontSize = s+"px"   }var t = document.getElementsByTagName('textarea');   for(i=0;i<t.length;i++) {      if(t[i].style.fontSize) {         var s = parseInt(t[i].style.fontSize.replace("px",""));      } else {         var s = 12;      }      if(s!=min) {         s -= 1;      }     t[i].style.fontSize = s+"px"   }}