var fDesc=new Array(); fDesc[0] = "In this game there will be a grid of spaces and some numbered pillars at the corners of the spaces. Your job is to fill up all the spaces with diagonal walls. The number of walls connecting to a pillar must match the number written on the pillar; and the walls must not form a closed loop. Recognizing certain patterns of the pillars can help you finish the game faster. The faster you finish the game, the higher the score you have."; 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 = ''; } }