var fDesc=new Array(); fDesc[0] = "In this game a picture will be chopped into pieces and the pieces will be messed up, you will need to move the pieces to recover the original picture. You move the pieces by swapping the positions of two pieces, click a piece to select it, and then click another piece to swap the positions of the two pieces. The faster you finish the puzzle and the fewer moves you made, the higher your score."; 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 = ''; } }