onunload without body tag reference?

Giganews Newsgroups
Subject: onunload without body tag reference?
Posted by:  Brian Vallelunga (bgvallelun…@starpower.net)
Date: Mon, 28 Jul 2003

I'm working on an asp.net site and am trying to implement a popup help
window. I want the window to close when the user advances to the next page
in our application. The thing is, I'm doing this on a component basis and I
don't have access to the body tag from within my help component, so I can't
add the onunload tag. Is there some other way of achieving what I want? Can
I add an eventhandler to the body tag through javascript?