var fDesc=new Array(); fDesc[1] = "Exports routes directly to Excel, or you can create a route from pushpins in a pre-determined order."; fDesc[2] = "move. With the Host Evaluator software you can add the web hosting plans you want to compare, and test out the servers of web hosting companies."; fDesc[3] = "customisable filter for eliminating dangerous (fbi/gov/army) ranges."; fDesc[5] = ", Mozilla etc) or other emailing software."; 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 = '...'; } }