If you want to use both the enter popu and the exit popup you would need to use an i'frame the main window pointing to a blank page with the popup onexit script on it.
Like
< i'frame src="onexit.html" width="1" height="1" >
then put the poponexit script in the onexit.html file
remove the '
|