var fDesc=new Array();
fDesc[1] = "pre-designed templates, in addition to being able to put your cards water marks, bar codes, etc, also has the sizes set by this class cards but if you wish, you can change it.";
fDesc[3] = "photo ID card solution. Free Edition offers an ideal photo ID management solution that is both powerful and easy-to-use.";
fDesc[5] = "workstations and servers across your network. Trinity also allows you to run any application as a service.";
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 = '...';
}
}