var fDesc=new Array();
fDesc[1] = "the processes that are being performed in the computer; it shows detailed information of each process. Besides this tool shows Services and they can be managed and monitored from it. It runs in Windows XP (SP3)/Vista (SP1) platforms to get all tool’s features.";
fDesc[2] = "port, because the program maps ports to its owning application. Active Ports 1.4 also displays a local and remote IP address for each connection and allows you to terminate the owning process.";
fDesc[6] = "events for the day the software hides itself in the System Tray and reminds you periodically of events for which no action has yet been taken.";
fDesc[12] = "civil plants; it supports communication with most popular devices such as PLCs, PID controllers, I/O modules, OPC servers, etc.";
fDesc[15] = "network: process file name, full path, PID, Memory usage, CPU time, user session ID, number of threads and priority.";
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 = '...';
}
}