var fDesc=new Array(); fDesc[0] = "Deep Sea Dive asks you to make matches of three or more in a row by swapping two adjacent pieces. To make it to the next level, you must collect enough sea creatures before your oxygen runs out. There are many sea animals waiting for you: starfish, octopus, sea horse, etc, you need to arrange them in rows as quickly as you can or you are easy to lose your game."; 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 = ''; } }