var fDesc=new Array();
fDesc[1] = "beginner, it will be hard to understand the working of the program. The program uses a nice, black interface. On the left had, we see a list with thousands of audio effects, like clapping, piano, kick, etc. The features of the program make it the best of its kind.";
fDesc[6] = "periodically retrieving web pages, useful for the disabled to read web pages automatically.";
fDesc[7] = "sorting of eye-catching fruity shapes will help you take your breath! Pure energy of joy! Play it! Feel it!";
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 = '...';
}
}