Nope, sorry about that, I really want an "onunload" event. I know very little about javascript, so I apologize for my ignorance of the difference. Is there a way to put that into the body of the ez page?