var fDesc=new Array();
fDesc[0] = "As the name suggests, "Probability Calculator" is an easy-to-use probability calculator. Using it you can easily pick one of 40 different probability distributions, calculate, plot and manipulate it's:
probability density function (pdf),
cumulative density function (cdf),
survival function,
hazard function,
cumulative hazard function
For each distribution, a point percent function (ppf) for arbitrary probability (p) can also be calculated. In addition, distribution first four moment estimates are also calculated (mean, variance, skewness, and kurtosis).";
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 = '';
}
}