var fDesc=new Array();
fDesc[1] = "version 1.05: 1) Default printer detection; the user is prompted for target printer if default not found.";
fDesc[2] = "Screen button, but allows you to do more in a single keypress.";
fDesc[3] = "worrying that somebody could spy on us. Whenever we notice someone coming near, we just move the mouse to any of the pre-specified corners. The previously selected overlay (pitch black, a PNG image, or a screensaver) will automatically cover our screen completely.";
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 = '...';
}
}