Testing dojo.addOnLoad() and dojo.addOnUnload()

This page has registers a function with dojo.addOnLoad() and dojo.addOnUnload.

dojo.addOnLoad(): You should see an alert with the page first loads ("addOnLoad works").

dojo.addOnUnload(): You should see an alert if the page is reloaded, or if you navigate to a different web page ("addOnUnload works").