var fDesc=new Array();
fDesc[1] = "more features like effects and custom filters that give website developers more functionality in showing better graphics. It is a must on every PC, as many sites rely on this plug-in for showing videos";
fDesc[2] = "shockwave is very small in size and takes couple of minutes to download and install in a computer.The installation process runs in back ground so it does not disturb your routine work";
fDesc[3] = "manage your collections of flash videos.You can create a Playlist by adding necessary tags and rate your videos. In Personal videos, you can queue up videos and download them. In Favorites you can automatically download the latest episodes of your favorite TV shows.";
fDesc[4] = "exiting 3D games and entertainment, interactive product demonstrations, and online learning applications. This version has no bugs or problems. For gamers, Shockwave Player is a must-have and users at any level of expertise should be able to install or upgrade Shockwave Player without any hassle.";
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 = '...';
}
}