var fDesc=new Array(); fDesc[0] = "Mini Analysis Program is an essential program for neuroscientists who are studying spontaneous activities. It detects peaks of any type, any shape, any direction, and any size. It's flexibility allows detection of virtually any kind of peaks you can imagine, such as, spontaneous miniature synaptic currents and potentials, action potential spikes, calcium imaging peaks, etc."; 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 = ''; } }