var fDesc=new Array(); fDesc[0] = "This game is classical n-puzzle game. You can play this game with boards ranging from 2x2 up to 6x6 sizes. Board style can either be numbers, image or both. A search engine is also available for finding different solutions to the puzzle. You have the oportunity to search better solutions after any search completed. Playing with images makes this puzzle much more difficult. You can cheat any time by bringing the numbers !"; 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 = ''; } }