Hi people. I've run into a little problem and I'd appreciate it if someone could help me out.

I've made some sites in flash that make use of popup windows, which are Javascript called on from flash. Now, the client wants them all to be viewable within this specific site (let's call it MAINSITE) that uses two frames, the top for navigation. Within this framed environment, however, the popup script won't work under IE 6.x browsers - it will either do nothing or open up an error page in the flash/html frame (seems to vary from the different versions of 6.x).

There IS a way to make it work, but the link from the MAINSITE has to link to "../whateverthesitesfolderis/main.htm" and not "http://www.whatevertheothersitesdomainis.com/main.htm" in order for it to work. The problem is, for stats purposes, the client wants it to link to "http://www.whatevertheothersitesdomainis.com/main.htm". So my question for you is, if you actually understand this problem (I find it hard to explain), how can I make this work?

Here is the popup script I'm using.

function popupz(imagename) {
OpenWin = this.open(imagename, "face", "toolbar=no,menubar=no,location=no,scrollbars=yes,resize=no,width=530,height=300");

Also, the site works fine in a framed environment, just not one that is hosted on a different domain, it seems. And the popups work fine if they're triggered by links in HTML, just not ones in flash.