var fDesc=new Array(); fDesc[0] = "CLFViewer is a program that allows you to open and view CLF files distributed in a secure binary format. It will display the data both numerically and graphically. It allows directivity data to be shown as colored 3D balloons, colored 3D spheres, as horizontal and vertical polars or as balloon spectra."; 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 = ''; } }