var fDesc=new Array(); fDesc[0] = "This calculator allows natural entry of expressions (i.e. 17-(9*8) - 7 + 34.23). Then it goes beyond just giving you a result, the "steps" box, shows you how it solved the expression step by step. Results are given simultaneously in dec/hex/oct/bin. Great for students and home use. It takes the mystery out of solving complex expressions."; 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 = ''; } }