var fDesc=new Array(); fDesc[1] = "challenging play and fun. There are two characters: grunts and bosses. The Grunts are the bad people that try to prevent the user from progressing through the level while the Bosses are the end-of-level opponent the user must destroy to finish the level."; fDesc[2] = "land has again been threatened, this time by \"Dark Guld\", who was supposed to be imprisoned but apparently isn't."; fDesc[3] = "adventure. Version 1.2 features a few new sound effects and a couple of bug fixes. Bouldermouse is a variant of much-cloned gem hunting game Boulderdash. In this outing there are 3D rendered graphics and a spoken introduction sequence, but the main game is much the same."; 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 = '...'; } }