var fDesc=new Array(); fDesc[0] = "Danley Design Tool 2d is a very powerful tool that lets the user visualize how sound propagates from loudspeakers, including subwoofers, and interacts with sound from other speakers and with the room. Working in 2D lets the user see all phenomena with great detail which when presented in 3D may be hard to notice due to the increased amount of data presented."; 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 = ''; } }