var fDesc=new Array(); fDesc[0] = "The Lever Physics game is a combination of mathematics and physics. In this game, your goal is to balance the lever by putting all of the given objects onto it. At the start of each level, you will be given a lever which has labels to indicate the distances between the marked positions and the pivot of the lever. The objects and their weights are displayed at the bottom of the screen. You need to click and drag the objects onto the lever until the moments on both sides of the lever are the same."; 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 = ''; } }