var fDesc=new Array(); fDesc[1] = "fighting machine with weapon upgrades, rocket turrets, bots and additional weapons. Encounter various modifications of enemy fighters, cruisers, mine-layers and ground defences. Destroy vast command ships before they destroy you. Gorgeous graphics and special effects, original environment in each level and much more."; fDesc[2] = "between the rebellions and the empire, which is based on the Star Wars: Return of the Jedi film. Players should fight against TIE Fighters, Star Destroyers, TIE Interceptors, and finally, Executor – a Super Star Destroyer"; fDesc[3] = "they travel. Quad Missile - Four small missiles release at a distance, then home in. Carpet Bomb - Difficult to miss at a distance, very powerful with line-of-sight."; fDesc[4] = "over the overlapping boundaries of their star systems."; fDesc[5] = ", Destroyers, Corvettes. Your mission is to sink the enemy"; 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 = '...'; } }