var fDesc=new Array(); fDesc[0] = "Servo Commander is a simple program with basic functions to allow you to test the function of the SSC. The interface has easy to use slides to adjust the position of each servo outputs individually. The software is written in Visual Basic 6 and will run on most Windows computers."; 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 = ''; } }