var fDesc=new Array(); fDesc[0] = "AirState tries to maintain a valid psychrometric as you edit values. Clearly this is not always possible since you may change the wet bulb to a value greater than the dry bulb with the intention of changing the dry bulb next. You will notice that the program always tries to use the last values that you entered."; 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 = ''; } }