var fDesc=new Array(); fDesc[0] = "Puzzle city is a really original puzzle game. Your objective in this game is to put together buildings with color-coded construction block that will appear on the conveyor belt before it is full. There are different types of blocks, you will see factories, homes, shopping malls, schools, fire stations, police stations, and more."; 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 = ''; } }