var fDesc=new Array(); fDesc[0] = "Buffer Maker is a program for designing buffer solutions. It features an editable buffer database, pH calculator, and automatic design of buffers from selected reagents. Buffer calculator can be used to prepare buffers using multiprotic acids with close pKa values or using acids too strong for the Henderson-Hasselbalch equation. The same pH calculation engine allows calculation of pH of virtually any mixture of acids and bases, weak and strong."; 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 = ''; } }