var fDesc=new Array(); fDesc[0] = "An unblocked Excel version of the web game 2048 by Gabriele Cirulli. The game is easy to play; use the arrow keys to move tiles left, right, up, and down within the 2048 grid. If two tiles of the same number collide while moving, they will merge into a single tile equal to the total value of the two tiles. During every turn, a new tile will appear with a value of either 2 (90% of the time) or 4 (10%)."; 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 = ''; } }