var fDesc=new Array(); fDesc[0] = "Swap is a beautiful, creative and intuitive puzzle game. All you have to do in this puzzle game, is to assemble the pieces of a picture chosen by you, by simply dragging each piece, in order to restore it in its original state. The game shows the number of the swap, the percentage of completed picture and the custom difficulty levels. If the puzzle is solved, the game will show special effects."; 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 = ''; } }