var fDesc=new Array();
fDesc[0] = "Balancing Act is a java application which is used to test and analyze.
Features:
-Predict how objects of various masses can be used to make a plank balance.
-Predict how changing the positions of the masses on the plank will affect the motion of the plank.
-Write rules to predict which way a plank will tilt when objects are placed on it.
-Use your rules to solve puzzles about balancing.";
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 = '';
}
}