var fDesc=new Array();
fDesc[1] = "choice. This useful tool will help you save loads of space in your MP3 player, allowing you to enjoy more music and more audio books with fewer resources. The bit rates supported range from 8 to 256 kbps.";
fDesc[2] = "A straightforward and speedy program, MP3Resizer Express requires just three steps to achieve completion.";
fDesc[3] = "choose, and when a file appears in selected folders, Background MP3 Encoder gets to work.";
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 = '...';
}
}