var fDesc=new Array();
fDesc[1] = ", the person in charge of carrying out the strategies that will lead to a successful election. With a quite satirical perspective on political life, the game entertains at the time it analyses the political machinery setup during a campaign of this dimension.";
fDesc[2] = "Election. It provides instant access to the latest political news, separating them by the two candidates: Barack Obama and John McCain. It also give you access to he Daily Straw Polls in order to vote daily.";
fDesc[4] = "softwares to calculate your Rashi, Nakshatra, Lagna, Janam Kundali, Muhurtha and Vargas (Divisional Charts).";
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 = '...';
}
}