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] = ", demos, prototypes, simulations, and eLearning courses for the web, Mac and Windows® desktops, DVDs, and CDs. Integrate virtually any major file format, including video created with Adobe Flash® software and native 3D content, for the greatest return on your creativity.";
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 = '...';
}
}