# Launching a Centered Pop-Up Window" at masked domains?

**URL:** <https://forum.kirupa.com/t/launching-a-centered-pop-up-window-at-masked-domains/23804>\
**Category:** flash\
**Created:** [June 22, 2003, 4:16pm UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-at-masked-domains/23804 "2003-06-22T16:16:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pikios](https://avatars.discourse-cdn.com/v4/letter/p/b5a626/32.png) [@pikios](https://forum.kirupa.com/u/pikios)\
**Post date:** [June 22, 2003, 4:16pm UTC](https://forum.kirupa.com/t/launching-a-centered-pop-up-window-at-masked-domains/23804/1 "2003-06-22T16:16:22Z")

</div>

I’d like to thank the people at Kirupa for such a great tutorial on that (launching a centered pop-up). But there is one issue about this that I am unclear on.

It appears the functions only work when the URL is addressed in the location bar of the browser.

But what if I were to use a redirection service that masks the location at all times to the name of my choice? It impacts on the functions to give errors.

Exactly which functions or variables do I need to change in order for the functions not to use the masked domain name, but a name of my choice?

To refresh memory:  
[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)

I wouldn’t of asked for additional help if it wasn’t for the welcoming footer at the end of that tutorial 🙂
