var fDesc=new Array(); fDesc[1] = ", rotate, enhance, view and capture any area of the screen display. It also lets you viewing in different color mode or through separated color channels."; fDesc[2] = "user selectable cursor trails which instantly interact with your mouse cursor producing exciting effects."; fDesc[3] = "Windows desktop. If you want to capture desired desktop screen pictures at will and select capture area in rectangle, control, games"; fDesc[4] = "way, while providing you with the current time, date, free system resources, seconds (stopwatch), new e-mails."; fDesc[5] = "same number of close effects. Select starting position for a zoom open and ending position for a zoom close effect. Livens up windows!!"; 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 = '...'; } }