var fDesc=new Array(); fDesc[0] = "The Constructor program makes the creation, testing, troubleshooting, teaching and printing of electrical ladder diagrams, diagram schematics and one line diagrams fast and easy. The design can be edited and re-tested saving valuable time when it comes to hardwired circuits and troubleshooting scenarios. The circuit will perform the same as a hardwired electrical circuit."; 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 = ''; } }