What's worse, some browsers interpret "close the browser" to trigger the onunload() method, and that's just wrooong.
-- Niels.