var fDesc=new Array(); fDesc[0] = "Tetris Game is a simple arcade game in which you have to arrange the falling pieces in a way to form full lines and make them disappear from the board. You can be move the pieces horizontally with the left and right arrow keys, rotated with the up arrow key and also dropped with the down arrow key."; 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 = ''; } }