var fDesc=new Array(); fDesc[1] = "business decisions. Reduce your analysis & simulation times by using EasyFit as a stand-alone application or with Microsoft Excel."; fDesc[2] = "you have ever seen."; fDesc[3] = "created by RateMyScreensaver.com containing 11 high quality photographs."; fDesc[4] = ", and probabilities depending on the distribution parameters."; 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 = '...'; } }