var fDesc=new Array(); fDesc[0] = "MegaStat is an Excel add-in that performs statistical analyses within an Excel workbook. After it is installed it appears on the Excel Add-Ins ribbon and works like any other Excel option. MegaStat performs basic functions, such as descriptive statistics, frequency distributions, and probability calculations as well as hypothesis testing, ANOVA, regression, and more."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }