Javascript: Can't reference window from parent
<p>So i have a popup javascript calendar someone else wrote into my app.  What i am trying to do is reference it from the window that opens it, but the normal way of assigning the window.open to a variable is not working.  I think the issue is that the calendar, while being generated set itself as its opener.</p>

<pre><code>    var vWinCal = window.open("", "Calendar", "width=200,height=250,status=no,resizable=yes,top=200,left=200,status=yes,menubar=yes");
vWinCal.opener = self;
vWinCal.focus();
var calc_doc = vWinCal.document;
calc_doc.write (str_buffer);
calc_doc.close();
</code></pre>

<p>It this my problem?  Is there a way around it?</p>

<p>Thanks</p>
