var fDesc=new Array();
fDesc[1] = "feeds without subscribing to them first, simply inputting their URL. You will have the list of subscribed feeds on the left, item-headlines at the top-right, and item-contents at the bottom right.";
fDesc[2] = "gathers for you news feeds in RSS, RDF and Atom formats, and podcasts. This application supports: RSS feed reading, RDF and Atom formats, and podcasts.";
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 = '...';
}
}