var fDesc=new Array(); fDesc[0] = "Any Place Calculator allows you to make calculations in any place where it is possible to enter expressions (e.g. text editor, lines of input, etc.). After starting the calculator, it is automatically placed in your system tray. All you have to do to count an expression in any text editor is to type it, and press the hotkey or click on the tray icon. The result will be substituted in the document. The calculator is able to count arithmetic expressions with brackets, trigonometrical functions, logarithms, exhibitors, roots etc."; 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 = ''; } }