Pop up window problem

I was following the tutorial on this site for the pop up window and was having some problems. When I click on my link to open the pop up window I also get another window that says [object]. The pop up window also pops up behind my original window. Anyone know what the problem is? I launching the pop up window from a swf loaded into another swf. Thanks!