var fDesc=new Array();
fDesc[1] = ", anyone can now implement a scalable VoIP based PBX. This incredible program works as a telephone switch connecting to phone lines and extensions using the latest VoIP technology.";
fDesc[2] = "works out two of these skills, for double the mental muscle building. There are 15 different Brain Builder games so you won’t get bored, that's for sure. Try this game for 60 minutes before you buy the licensed version.";
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 = '...';
}
}