var fDesc=new Array(); fDesc[1] = "folder on your computer. You can type in a search filter to limit what files and folders are displayed. Everything only uses file and folder names and takes a few seconds to build its database. 1,000,000 files will take about 1 minute."; fDesc[2] = "of her in skimpy bikinis and lingerie. 40 configurable transition effects, and totally customizable timing, shuffling, and image resizing settings."; fDesc[4] = "MS VC++ 6.0. ExceptionWizard takes an exception address and a project mapfile and automatically determines where in the..."; 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 = '...'; } }