var fDesc=new Array();
fDesc[0] = "Displays lines and surfaces defined algebraically in 3D space in many forms, including z=f(x,y), cylindrical polar coordinates, and parametric definitions with one (giving a line) and two (surface) parameters. View controls move the viewpoint through 3D space, using keyboard and mouse. There are options to display a surface, a mesh or a combination. The number of 'steps' on each edge (level of detail) can be controlled.
The defining expressions include a very wide range of forms : polynomials, trig, hyperbolic exponential and logarithmic, rational expressions and series sums and products.";
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 = '';
}
}