var fDesc=new Array(); fDesc[0] = "Your goal in this game is to control the frog, so that it can jump from one leaf to another successfully. When the game starts, the frog will be standing on a spinning leaf. Click your mouse or press the spacebar on your keyboard, and the frog will try to jump to another leaf. You will receive points if the jump is successful, and bonus points will be awarded for consecutive jumps."; 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 = ''; } }