var fDesc=new Array(); fDesc[0] = "TRENDS is a program designed to carry out a power analysis of linear regression, particularly in the context of monitoring populations in wildlife studies. TRENDS summarizes the power analysis in 5 parameters: duration of study, rate of change, precision of estimates, alpha (type 1 error rate), and power (1-beta, where beta is the type 2 error rate). The value of any one of these can be estimated if the other 4 are specified."; 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 = ''; } }