var fDesc=new Array();
fDesc[1] = "You´ll have to investigate seven potential suspects, motives, weapons, victims, pieces of evidence and body disposal methods to solve the crime, eliminating possibilities from the gameboard using the clues in your notebook.";
fDesc[2] = "Your job is to design or change the decoration of a room or entire house, guiding yourself with the description of each character's personality and needs. You will have to decorate 52 different houses and 200 unique rooms, in 7 neighborhoods, which will give you many hours of fun.";
fDesc[3] = ", an immunologist who works in a big hospital. But you are not alone, you work along with a group of specialists in order to cure some rare illnesses. If you saw TV series like E.R. or Dr. House you might get the idea.";
fDesc[5] = "circuit as a new protégé who will play against the top poker players and qualify for the winner takes all, invitation only, Tournament of Champions at the Rio Resort in Las Vegas f";
fDesc[15] = "various educational institutions. The program allows using an unlimited number of topics, questions and answers.";
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 = '...';
}
}