var fDesc=new Array(); fDesc[0] = "Sliding Spectrogram is a free and simple spectrogram to watch mid-low frequency changes, mostly on voice range. You can select to view the spectrogram windowed or fullscreen, and you can change the palette used to map the Spectrum amplitude to colors."; 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 = ''; } }