var fDesc=new Array(); fDesc[0] = "ECOS is a cost benefit analysis program that allows you to compare the costs of different lighting systems. ECOS will also calculate annual maintenance costs, energy costs and purchase costs. It offers a simple and self-explanatory user interface and the ability to select lamps and control gear quickly from a database running in the background."; 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 = ''; } }