JavaScript DHTML/Event onMethod/onLoad
"onLoad" Example
<source lang="html4strict">
<html> <body onLoad="alert("The document is loaded")"> <img src="http://www.wbex.ru/style/logo.png"> </body> </html>
</source>
onUnload event for body tag
<source lang="html4strict">
<HTML> <HEAD><TITLE></TITLE></HEAD> <BODY onUnload="alert("Goodbye");"> </BODY> </HTML>
</source>