var fDesc=new Array(); fDesc[0] = "VelbusLink is program to configure your Velbus Home Automation system. With its wizard interface, creating and managing home automation projects is quite easy. It can automatically detect the device connected to USB and RS232/serial interfaces in your PC."; 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 = ''; } }