var fDesc=new Array();
fDesc[0] = "MyPhysicsLab provides several interactive physics simulations such as springs and masses, pendulums, molecules. Objects, mass, gravity, spring stiffness can be modified.
These physics simulations can be used to:
-play around with for fun... try dragging with your mouse, or changing parameter settings
-learn about physics and how to set up a model of a physical system
-learn about numerical methods for solving equations
-learn about differential equations and techniques for solving them
-learn computer programming (free source code is available)
-enhance your next video game project";
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 = '';
}
}