var fDesc=new Array(); fDesc[0] = "Besides listing the available com ports, ShowPorts for DOS also displays the IRQ, port base addresses and what type of UART each port uses. This is a DOS program that should not be run inside the Windows environment. Refer to the read me file that is supplied with this program before running it."; 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 = ''; } }