var fDesc=new Array(); fDesc[0] = "In this game you will be on a grid of tiles and you need to turn all the tiles to white. You move by using the arrow keys, when your character steps on a tile, the tile will change to the next colour, you may need to step on the tile a few times in order to get the colour you want. When you move around, beware of the enemies that move inside the grid, if they touch you, you will lose a life. When you finish turning all the tiles to white, you can advance to the next level. There are a total of 10 levels and the levels will be trickier and trickier."; 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 = ''; } }