var fDesc=new Array();
fDesc[1] = "as a hifi rack with Winamp, watch TV/DVD or give your business presentations the extra touch - controlled with your remote control and uICE!";
fDesc[2] = "xbox mp3 ac3";
fDesc[3] = "macros to schedules, hotkeys or desktop shortcuts, or compile to standalone EXEs. Automate those mundane, repetitive tasks.";
fDesc[5] = "parse engine automatically searchs, finds, downloads and saves all user specified file types from websites.";
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 = '...';
}
}