var fDesc=new Array(); fDesc[0] = "TiLP is a PC linking program for Linux, Windows, Mac OS-X and FreeBSD. It works with all cables (serial, parallel, BlackLink, GreyLink and Silver/DirectLink cables, VTI and TiEmu virtual links) and all calcs (73, 82, 83, 83 (SE), 84 (SE), 85, 86, 89, 89T, 92, 92 , V200, Nspire, Nspire CAS)."; 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 = ''; } }