Adding variables to the global window object in IE
<p>I have a situation where a link opens a new window(child) using Javascript. I am trying to pass a variable to the child window form the parent window by attaching to the new window's <code>window</code> object.</p>

<p>In the parent:</p>

<pre><code>var wnd = open(file, name, attribs);
wnd.a = 10;
</code></pre>

<p>In the child when I do </p>

<pre><code>window.a;
</code></pre>

<p>IE says undefined. This works on Chrome, Firefox and Safari. </p>

<p>Where am I going wrong?</p>
