title: HTML iFrame contents
body: <p>When I access the iframe with a=window.frames["iframe"] it says that a is a DOMWindow.<br>
  But when I try to access document it says undefined, but when I use top it refers back to it self. It's like the iframe only have itself as a property.<br>
  When i access it trough document.getElementById("iframe") it identifies itself as HTMLIFrame, but the problem still exists, this is really weird and i need help.</p>
  
  <p>I have tried:</p>
  
  <pre><code>document.getElementById("iframe").getDocument
  document.getElementById("iframe").getDocument()
  document.getElementById("iframe").html.body
  document.getElementById("iframe").body
  document.getElementById("iframe").document.getElementById("btag")
  </code></pre>
  
  <p>and many more combinations.</p>
  
  <p>I seriously do not know why it acts this way.</p>
  
  <p>Thanks.</p>