var fDesc=new Array();
fDesc[1] = "interface has transparencies effects, in a Vista fashion. The game rules are that of the regular solitaire that´s included with Windows.";
fDesc[2] = "ace piles are common.";
fDesc[3] = "with computer bots or live opponents by the Internet or LAN.";
fDesc[4] = "additionally available. You can choose a lot of known and some new rules (as Solitaire with more than one player). The...";
fDesc[5] = "the frequent reformatting of the piles during play. You start with 4 piles plus the deck, taking cards off in groups of three th...";
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 = '...';
}
}