I need a popup window to show up when users leave my website - by clicking the backbutton, or hitting the X.
IT needs to work in IE 6/7 and firefox especially.
I think it needs to be a beforepageunload action; but I'm not 100% sure.
It simply needs to work and NOT get blocked.
I'm looking for a popup window for a webpage, and NOT the alert window.