How can I get the ID of my Window popup
<p>How can I get the ID of my Window ?</p>

<pre><code>$(window).unload(function () {
    if (alterado == 1) {
        window.opener.location.reload();
    }
});
</code></pre>

<p>How can I get the ID of my <code>window.opener.location</code> ? </p>

<p>I need to put a block in this window like <code>$("#window").block(message:"loading");</code>, or a div that exists in the parent window.</p>
