var fDesc=new Array();
fDesc[1] = "the return of the bionically-enhanced Nathan \"Rad\" Spencer, voiced by Mike Patton, the former lead singer of Faith No More. Time has not been kind to Spencer: 10 years after his heroic defeat of the Imperials in the original game.";
fDesc[2] = "opponent. Easier said than done. You can choose from 18 different mobiles, each one with specific advantages and weaknesses. Calculate strength, wind and angle to be a master in Gunbound.";
fDesc[3] = "projects around the world. Boinc software uses the time when your are not using PC at all, and then it processes scientific information from the project you already chose. With this, you help to scientific investigations in areas like, physics, chemistry, biology, etc.";
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 = '...';
}
}