<!-- function sf(){headpressure.verticalheight.focus();} // This sets the initial cursor focus to the input tag named 'verticalheight'
function computec()
{
var w = document.waterfall; // This is the name of the form we'll we working with turned into the variable w.
	}

function computew()
{
var w = document.waterfall2; // This is the name of the form we'll we working with turned into the variable w.

// line 1, spillway width to use in the pond calculation
var spillwaywidth = (w.spillwaywidth.value);
if (isNaN(spillwaywidth)) spillwaywidth = 0; w.spillwaywidth.value = "0";
w.spillwaywidth.value = Math.abs(spillwaywidth);
// line 2, gph to use in the pond calculation
var gph = (w.gph.value);
if (isNaN(gph)) gph = 0; w.gph.value = "0";
w.gph.value = Math.abs(gph);
// then compute the waterfall based upon the formula
var totalgph = (spillwaywidth * gph);
	w.totalgph.value = Math.round(totalgph);
	}
// -->
