I need a super genius to help me. (Window Pop up problem)

So, I have this webpage, but the popups dont work. (I dont know why I typed that) Anyway, it works alone, but it doesnt work when its loaded into the website. But what I dont understand, is why. Because I have all the actions on the frame. I need someone smart to look at it. Ill attach the source. (its to large)

Source here

Oh, and I used this tutorial. http://www.kirupa.com/forum/newthread.php?do=newthread&f=35

Oh, and I am really hyper.