var fDesc=new Array(); fDesc[0] = "In this game, you can try to keep the ball from moving to the open sea and kick it back to the beach with your surfboard. To save the lost cargo, touch it with your ball. Some items of the carriage has to be hit multiple times to save it, but others are just blockers that won't disappear."; 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 = ''; } }