var fDesc=new Array(); fDesc[0] = "Photometric Toolbox is an evaluation program for manufacturers' luminaire photometry that allows you to create, edit, repair, report and compare luminaire data. This is the cult-users tool you hear about when industry insiders talk about luminaire performance. If you are serious about lighting, you must have this program!"; 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 = ''; } }