var fDesc=new Array(); fDesc[0] = "The Steam97 Excel Add-In library calculates 30 thermodynamic and transport properties of water and steam in SI and English units. It allows 16 different combinations of input variables to be used for calculations. The library is fully integrated in Excel, and available functions can be used in the same way as any other Excel function."; 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 = ''; } }