parent.window.location.pathname returning undefined?
<pre><code>if ( parent.window.location.pathname.indexOf ( "login" ) &gt; 0 )
    var selfUrl = 'http://www.example.com';
else
    var selfUrl = unescape(parent.window.location.pathname);
</code></pre>

<p>This is a redirect for a login issue, but parent.window.location.pathname is returning undefined.</p>

<p>Weirder still, we run the same code on our dev server and it all works kosher like. Same browsers, same code.</p>
