Window.open does not return object

From the Notes client in an action button I run the JavaScript code below to open a web browser window:

var w = window.open(, );

Then I want to use the object w but it remains undefined. What an I doing wrong.

/Annika

Subject: window.open does not return object

what are you trying to do with “w”

Subject: RE: window.open does not return object

w points to a window with frames and I want to change the url of one of the frames. But that is not working beause w is not an object. If I enter alert(w) I get undefined in the alert window. I have tried with w.name and then I get that w has no properties or attributes.

/Annika