var fDesc=new Array(); fDesc[1] = "achieved by not only killing the opposing players but also removing their ability to respawn by destroying their spawn structures."; fDesc[2] = "features you need in order to create any type of map for the game. Anyone can do it, and that is why there are so many user-made maps available for the game."; fDesc[3] = "opponent, or play online against human opponents in competitions and tournaments with over 100 maps."; fDesc[4] = "is a large, cavernous den crawling with Medusa's evil spawn. The gamer must fight their way through this confusing and winding lair to destroy Medusa."; fDesc[8] = "enter or space."; function tCollapseAll(maxID) { document.getElementById("alls_action").innerHTML = "Expand descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("desc_" + id)) tShowHide(id, 2); } } function tExpandAll(maxID) { document.getElementById("alls_action").innerHTML = "Collapse descriptions"; var id=1; for (id=1; id <= maxID; id++) { if (document.getElementById("more_" + id)) tShowHide(id, 1); } } function tShowHide(id, show) { var s = document.getElementById("more_" + id); if ((s.innerHTML!=fDesc[id] || show==1) && show!=2) { s.innerHTML = fDesc[id]; } else { s.innerHTML = '...'; } }