var fDesc=new Array();
fDesc[1] = "productions. It provides the user a functionality to go beyond the traditional and exhaustive way of testing fonts and the presentation in bold emphasis or italic style, underline or three dimensional uses.";
fDesc[2] = ", Haematology, Biochemistry, Serology etc.";
fDesc[3] = "track of the Latin Name, Common Name, Location Collected, Size, Color, Quality, Value, and more.";
fDesc[4] = "construction companies document site inspections. All important data, events and associated site photos are conveniently processed ...";
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 = '...';
}
}