var fDesc=new Array(); fDesc[0] = "Cosmic Dodgeball This is a small game written in Java 5. Steer your ship to avoid the bouncing balls. Use arrow keys or numpad 2,4,6, and 8 for thrust : 10 points for hitting the blue wall, -1 point for hitting a red wall, -2 points for hitting a ball, Hitting wall causes new ball to appear, Game ends when fuel runs out"; 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 = ''; } }