var fDesc=new Array(); fDesc[0] = "In this game there are two L's. You have green L, the computer has red L. The purpose of this game is to position your L in a manner that the opponent is not able to move its L to another position. There are also two blue boxes that you can place on any empty position after you have placed your L. Use Blue Boxes to block opponents choices for moving the L."; 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 = ''; } }