Launching popup window through frames?

Hey all,

I’ve just been working with the “Launch a centered popup window” tutorial and it works great with just one small hitch - the website I am working on has several domain names and some of these are using a frames redirect to point to the actual site. When I try to access the site from these domain names the popup link does nothing. I’ve tried putting both “thefile.html” and "http://www.thedomain.co.uk/thefile.html" in the AS code but neither will work…can anyone help me with a better way of doing this?

Thanks in advance,

Emvee