var fDesc=new Array(); fDesc[0] = "Box Mania is a logical game similar to the famous Sokoban. The goal of the game is to move boxes inside a labyrinth to special places and to make as few moves and pushes as possible. The best results are automatically written to the high scores table together with their solutions that you can see afterwards as animated replays."; 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 = ''; } }