Im very weak in javascript, but i read something about that. I know when you set your js up to open a window, there are variables you have to specify as to which type of window will open.
I didnt look at you code, I will see if i can get something out of it and look at my book, see if i can...