var fDesc=new Array(); fDesc[0] = "Your task in this game is to rearrange the tiles so that they form a pipe which allows the coffee to flow and reach the nozzle. At the start of each level, you will be given a number of covered tiles. The starting tile will slowly be filled with coffee, so you must act quickly to form a smooth pipeline. Click the covered tiles to reveal them, and you can swap the positions of two tiles by clicking them."; 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 = ''; } }