var fDesc=new Array(); fDesc[0] = "This program is a tool for using the Teas fractional solubility parameter system in conservation applications. The program's calculations are based on Teas' model, which makes a number of assumptions and simplifications. The solubility parameters that the program uses and calculates are approximations based on this model. They are not physical constants (such as boiling point, density, etc.), and some solvents have different solubility parameters listed by various references."; 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 = ''; } }