var fDesc=new Array();
fDesc[1] = "all sizes, fully customizable. Configurable fields with masking for fields such as postal codes, phone format, last call, last email, last update. Performs addressvalidation. Comes with postal tables for US Austrialia, Thialand and Brazil. Also comes with address and emailaddress for US Senate and Congress, or at least forthose brave enough to maintain one.";
fDesc[2] = "immediately when a new call arrives. Supports talking Caller ID, Call Block, and Windows XP style tooltips.";
fDesc[3] = "protocol. SecureCRT has advanced session management features, a multi-session tabbed interface, scripting, and numerous emulations.";
fDesc[4] = "your applications.";
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 = '...';
}
}