var fDesc=new Array(); fDesc[0] = "OpalCalc is a powerful calculator that allows you to insert natural language as part of the sum, along with multi-line support so you can go back and adjust your previous calculations. It features a lightweight footprint, on-the-fly calculation as you type, percentages, variable support, hundreds of units and functions, extensive notation support, intuitive design/documentation."; 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 = ''; } }