var fDesc=new Array();
fDesc[2] = "game. You will be controlling Emma, a nanny that will take care of the house and kids of a celebrity family, while keeping the paparazzi away. She will have to watch a baby, clean up the house and launder the clothes before the parents come home.";
fDesc[3] = "find amusing stories. You will play the character of a photographer that is working in a paparazzi magazine. You will have to think fast and take a deep watch at the screen to capture photos of celebrities or weird people and sell them to the magazine's owner for some cash.";
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 = '...';
}
}