var fDesc=new Array(); fDesc[0] = "Functy is an open-source cross-platform graph drawing application. It uses the Symbolic library to allow functions to be interpreted algebraically. This means that functions are kept in the symbolic algebraic form throughout the process, right up until the function needs to be displayed on screen. This provides a number of benefits, foremost of which is accuracy."; 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 = ''; } }