var fDesc=new Array(); fDesc[0] = "RouterSim's CCNA Network Visualizer is a router and network simulator that offers more features and flexibility than any product on the market. With a program that offers 500 supported commands and over 190 labs, you are empowered to build, test and preview a large variety of networks. You can design, build and configure your own network."; 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 = ''; } }