var fDesc=new Array(); fDesc[0] = "With UltimaSound spectrogram software and a laptop, you can see a vivid picture of your voice and music in frequency domain in real time! This is a great project for science fair and science class teaching in middle/high school to visually demonstrate the elements of sound: frequency, amplitude, pattern, spectrum."; 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 = ''; } }