var fDesc=new Array(); fDesc[0] = "In this game there are balls of different colors, and you have to move the balls so that 5 or more balls of the same color connect in a straight line so that the balls are destroyed. The lines can be horizontal, vertical or diagonal. After each move, new balls will be formed and you lose the game when the whole board is filled with balls."; 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 = ''; } }