Problem accessing childNodes[]
<p>Javascript/HTML noob here...please be gentle.</p>

<p>I'm learning my way around the DOM and Javascript and am using the following page to explore accessing nodes via Javascript:</p>

<p><a href="http://franklyanything.com/test2.html" rel="nofollow">http://franklyanything.com/test2.html</a></p>

<p>As you can see in the snippet of Javascript I put in the Head, I'm trying to access the 2nd child of the <code>&lt;html&gt;</code> element, which should be the Body element. </p>

<p>However each time I run the page nothing happens and Firebug reports the variable as <code>undefined</code>. I have no problems if I change the index from [1] to [0]. This correctly identifies the <code>&lt;html&gt;</code> tag.</p>

<p>I'm stumped. Ideas?</p>

<p>Thanks in advance!</p>
