var fDesc=new Array(); fDesc[0] = "FormFill is a program for electrical contractors undertaking domestic work who are registered with a Competent person or Domestic Installer Scheme.The program will allow you to fill out and complete certification required for installation work at small domestic properties under Part P of the building regulations and print BS standard certificates to blank paper or PDF for email."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }