So I have a line:
<TD><FORM NAME="elevation" action="calc.js"><input type="text" size="8"></FORM></TD>
feet = parseFloat(document.elevation.elements.value)
which gets it ready for further computations.
Moving the NAME attribute into the INPUT field did not work (i.e. the program stopped working).
Any help will obviously be much appreciated :) :)