<!-- function sf(){goldfish.gallons.focus();} // This sets the initial cursor focus to the input tag named 'gallons'
function computea()
{
var gf = document.goldfish; // This is the name of the form we'll be working with turned into the variable gf.
// line 1, gallons to use in the pond calculation
var gallons = (gf.gallons.value);
if (isNaN(gallons)) gallons = 0; gf.gallons.value = "0";
gf.gallons.value = Math.round(gallons);
// then compute the goldfish fish load based upon the formula
var totalinchesofgoldfish  = ((gallons / 100) * 5);
gf.totalinchesofgoldfish.value = Math.round(totalinchesofgoldfish);
// then compute the lkoifish fish load based upon the formula
var totalinchesofkoifish = ((gallons / 100) * 3);
gf.totalinchesofkoifish.value = Math.round(totalinchesofkoifish);
}
// -->
