var fDesc=new Array(); fDesc[1] = "Graphs can be created using different colors and styles. You can use standard functions or parameter functions to draw a graph. You can customize any axis, it's maximum limit, lower limit, grid units for every axis individually."; fDesc[2] = "coordinate plane automatically. It is highly useful for students and for scientific work. It supports a multilingual interface; many languages are included with the installation package and others can be easily downloaded."; fDesc[3] = "mathematician. Using this program you can plot graphs of the following types: Y(x), X(y), R(a) – in polar coordinates, X(t) and Y(t) – parametric equations and graphs of tables."; fDesc[4] = "you to perform automatic curve fits, calculate statistics, tangents, integrals, and interpolations. You can also adjust the parameters of your graphs."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }