var fDesc=new Array(); fDesc[0] = "BTController PC Host is a tool designed to control your PC or other devices via a Bluetooth connection by delivering a host address. The program comes with a simple interface that has three main tabs: Host address, Log and Messages. Host Address displays the address you need to use when connecting your device. The Log displays the current status of the HOST, and Messages displays all the incoming commands from your controllers."; 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 = ''; } }