var fDesc=new Array(); fDesc[0] = "Dots Game is an easy to play 2D logic game for Windows. Draw dots equally spaced in a square grid. You and your oponent take turns connecting neighboring dots with a line. If you draw a line that completes a square, you score one point and must take an extra turn. Your turn ends when you draw a line that does not complete any squares. Whoever completes the most squares wins."; 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 = ''; } }