The first script has to open a popunder and get past any IE popup blocker. The popunder has to be opened upon closing the browser. At that time the popunder has to remain in front of the user replacing the browser that has just been closed.
In the actual popunder the user will have a link and upon clicking on that link a new page will be opened. At this time in that new page a flash movie will triger a function that will have to close the popunder, so the client will only remain with the actual browser he has opened when he clicked on the link in the popunder.
So basicaly we need a script that will open a popunder upon closing the page in IE and get past any popup blockers. Also we need a function that will close that popunder when called by a flash movie in a new browser that will be opened by the user.
Please note that the popunder has to be opened only upon closing the browser and not on refresh or redirect from that page.