var fDesc=new Array(); fDesc[0] = "ESBCalc is a Freeware Scientific Calculator for Windows with Infix Notation, Brackets, Scientific Functions (Trigonometric, Hyperbolic, Logarithmic - including Base 10, Base 2 & Natural - plus more), Memory, Paper Trail, Result History List and more. Includes Prefix Function support so that Log (1.3) can be entered as log 1.3 rather than as 1.3 log which is also available if you prefer that behaviour. The current state of Precedence, Prefix Functions, etc can be displayed at startup to help avoid confusion."; 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 = ''; } }