Uncaught TypeError: Cannot read property 'document' of undefined in IE and Chrome Firefox is fine
<p>I'm facing a strange error I don't understand. In Firefox 11 everything is allright. Chrome and IE 9 are making trouble and give the same errors for this line:</p>

<blockquote>
  <p>Uncaught TypeError: Cannot read property 'document' of undefined</p>
</blockquote>

<pre><code> curr_url_id=window.content.document.location.href;
</code></pre>

<p>Any help with that?</p>
