var fDesc=new Array(); fDesc[0] = "This program was designed to check the installation and optimize placement of the antenna for your Automatic Identification System (AIS). This program displays received signal, threshold and signal-to-noise ratio (SNR) data for selected AIS targets. The program has been tested with NASA Marine Instrument's AIS Engine using the standard NMEA 0183 interface."; 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 = ''; } }