<!-- function sf(){ovalpond.radiusa.focus();} // This sets the initial cursor focus to the input tag named 'radiusa'
function computeB()
{
var g = document.ovalpond; // This is the name of the form we'll we working with turned into the variable g.
// line 1, radiusa to use in the surface area calculation
var radiusa = (g.radiusa.value);
if (isNaN(radiusa)) radiusa = 0; g.radiusa.value = "0";
g.radiusa.value = (radiusa);
// line 2, radiusb to use in the surface area calculation
var radiusb = (g.radiusb.value);
if (isNaN(radiusb)) radiusb = 0; g.radiusb.value = "0";
g.radiusb.value = (radiusb);
// line 3, shade to use in the surface area calculation
var shade2 = (g.shade2.value);
if (isNaN(shade2)) shade2 = 0; g.shade2.value = "0";
g.shade2.value = (shade2);
// then compute the surface area based upon the formula
var surfacearea2 = (1 * 3.14) * (radiusa / 2) * (radiusb / 2);
g.surfacearea2.value = Math.round(surfacearea2);
// then compute the hardylilies based upon the formula
var hardylilies2 = ((1 * 3.14) * (radiusa / 2) * (radiusb / 2) * shade2 / 10);
g.hardylilies2 .value = Math.round(hardylilies2 );
// then compute the bunches based upon the formula
var bunches2 = ((1 * 3.14) * (radiusa / 2) * (radiusb / 2) * .45);
g.bunches2.value = Math.round(bunches2);
// then compute the coveredsurface based upon the formula
var coveredsurface2 = ((1 * 3.14) * (radiusa / 2) * (radiusb / 2) *  shade2);
g.coveredsurface2.value = Math.round(coveredsurface2);
// then compute the coveredbottomsurface based upon the formula
var coveredbottomsurface2 = ((1 * 3.14) * (radiusa / 2) * (radiusb / 2) * .45);
g.coveredbottomsurface2.value = Math.round(coveredbottomsurface2);
}
// -->