var fDesc=new Array(); fDesc[0] = "SPDC Data Collection is an application that automatically detects data from the instrument and enables the user to record the received data into a Text, Word, Excel or Access file. You can set the serial port number to which the instrument is connected, the baud rate, the number of data bits, the parity, the number of stop bits, and the flow control."; 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 = ''; } }