var fDesc=new Array(); fDesc[0] = "In this game you need to guide the snake with the mouse cursor to eat the foods. When the a food is eaten the snake grows and the game will be more difficult. You must guide the snake carefully so that it will not hit itself or other obstacles. If you stop guiding it then it will wander around the mouse cursor and eventually crashes into itself, so you must guide it continuously."; 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 = ''; } }