var fDesc=new Array(); fDesc[0] = "In this game there will be a city with some of the numbered buildings shown. Your task is to construct a road that loops the city. The road must not branch and there must only be one loop. The number on a building indicates the number of faces of this building facing a road. Click at an edge to create a road, click again to mark that edge with a cross to remind yourself that this edge do not have a road. The faster you finish the game, the higher the 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 = ''; } }