var fDesc=new Array();
fDesc[1] = "civilization, or as the imperialistic British. Players also have the opportunity to try out the new random map Honshu, and the King of the Hill game type.";
fDesc[2] = "keys. AST also includes new and unique features to help experienced typists gain greater speed.";
fDesc[3] = "stopping the frogs' invasion. Froggy Castle introduces two attractive characters, Hamster Pitt and Princess Patty, who are the sentinels of their castle. Big and nasty frogs are invading their kingdom, but they have already found a way of attacking them.";
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 = '...';
}
}