var fDesc=new Array(); fDesc[0] = "This is a puzzle game, which has a field that contains several types of chips with different colors like red, green or blue. In this puzzle the player's task is to click on the chips and then to remove the adjacent chips of the same color, all this chips must form a shape like "three in a row" or "four in a square"."; 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 = ''; } }