How to know if a window is a child or parent window?
<p>How can a browser window know if it is a parent window or a child window using JavaScript?</p>

<p>I was hoping to make use of this in a conditional.</p>

<pre><code>if(parentWindow){//..
</code></pre>

<p>Thank you for any help.</p>
