This can be used anywhere on an HTML page, my favorite (since body onLoad is not an option for me) is to use:
window.onLoad = functioncall();
Eg. to calculate the value of a form, you want to use the onLoad at the end of the form, as things are called in order of course
javascript, onloadjavascript, onloadthis, html, onload, functioncall, eg, calculate,