var fDesc=new Array(); fDesc[0] = "PX888K Programming Software is a program that enables you to configure the PX-888K station device. The application detects the devices connected to your computer and it shows you information regarding the model and channels. You can also set the parameters for the DTMF, MSK, 5-tone and radio frequency."; 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 = ''; } }