var fDesc=new Array(); fDesc[0] = "You can choose 5 different styles of architecture picture in this picture puzzle game. When you click on the Another Photo button, it will show you a new image on the screen. You must swap and arrange the square tiles to complete the scene. You need to swap them in a way it form the correct image. The number of steps taken to drag and drop the image parts will be counted."; 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 = ''; } }