var fDesc=new Array(); fDesc[0] = "This application was designed to generate sounds from pictures. With this program, you can read JPEG, GIF and BMP files and translates each pixel position and color into frequency, amplitude and pan information. The picture corresponds to a big frequency / time grid and each pixel of the picture is analyzed and drives an oscillator."; 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 = ''; } }