I have set up a script using the <body onload=""> command. The problem I am having is that every time a user goes to this page, the popup that opens reloads.

I need to check to see if it is already open and if it is, do not change anything on the popup.

Any help appreciated.