var fDesc=new Array(); fDesc[0] = "XSim can be used to design passive crossover circuits. Audio crossover circuits can split audio into various frequencies, so that they can be fed separately to tweeters, midrange speakers, and bass drivers. XSim provides a simple canvas where you can add amplifiers, resistors, inductors, capacitors, and other components. After designing, you can simulate the circuit and view the frequency response plot."; 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 = ''; } }