var fDesc=new Array(); fDesc[0] = "RoboWar is an open source strategy game. The goal of the game is to make your robot kill all other robots and be the alone survivor. To do this you must program a robot in RoboWar's own language which is easy to learn. The possibilities are endless with 28 different options of hardware for your robot."; 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 = ''; } }