var fDesc=new Array(); fDesc[0] = "TREVOS Wils is a program that allows you to make lighting calculations by EN the 12464-1 standard. You can do indoor or outdoor calculations, configure the number of luminaires, points and obstacles and perform the calculations, check the value of the Dimensions of areas parameter."; 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 = ''; } }