var fDesc=new Array();
fDesc[1] = "will ask you to wait some minutes while it builds the search cache, by examining the content of your disks. You can save the searches and the listings of results in a file, for further reference.";
fDesc[2] = "large financial institution. You will be performing businesses through them. In order to get comfortable with the program before trading for real money, Ava FX grants you a free demo with a $100,000 practice account.";
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 = '...';
}
}