var fDesc=new Array(); fDesc[0] = "Periodically, moving balls appear on the bottom of the field. You have to direct them to the target. Ways to control the balls: 1) draw the walls for the balls to bounce off, or 2) catch a ball with a stylus and push it in the desired direction. The ball hitting the target earns you 10 points, the ball hitting an obstacle 2 points. The color of a ball determines its behavior at the impact. To pass a level you have to get 90% of the maximum possible points. There are 50 levels. Levels editor included!"; 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 = ''; } }