var fDesc=new Array();
fDesc[1] = "balls with two big eyes on it. These “chuzzle” things are arranged on a board of six times six of them, mixed up in different colors. The way in which you can try to create matches and score points is by dragging the chuzzles here and there.";
fDesc[2] = "hardware (like the Processor, Graphics Processor or Memory) in a speed which is not a standard speed it usually runs on. Overclocking your graphics card voids any warranty";
fDesc[3] = "to escape to prove that he is not guilty.";
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 = '...';
}
}