var fDesc=new Array(); fDesc[0] = "EDIS Local is a PC based version of EDIS. EDIS is an application used for creating electrical certificates and managing electrical compliance. EDIS Local will sync with EDIS Central the Internet based system for managing electrical compliance (you only pay to sync). EDIS Local will allow electricians to create, edit, complete and print electrical certificates."; 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 = ''; } }