Learning javascript, can't figure out hide and show elements
<p>EDIT- I would like to see it written in javascript, not jquery or a framework please.</p>

<p>I know that this is something easily accomplished with jquery, but I'd like to learn the javascript behind the magic, and have been reading Dom Scripting by Jeremy Keith.</p>

<p>I've gotten a ways through the book, but doing examples where you copy code is far different from trying to build something yourself. </p>

<p>Right now I'm trying to do something simple (for others): Hide a paragraph element when the header2 element above it is clicked. Here is the HTML:</p>

<pre><code>&lt;div id="contentArea"&gt;
        &lt;h2&gt;&lt;a href="#"&gt;heading for the articles&lt;/a&gt;&lt;/h2&gt;
        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. &lt;/p&gt;
        &lt;h2&gt;&lt;a href=""&gt;Second heading for the articles&lt;/a&gt;&lt;/h2&gt;
        &lt;p&gt;Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. &lt;/p&gt;
    &lt;/div&gt;&lt;!-- END MAIN CONTENT ----------------&gt;
</code></pre>

<p>I'm trying to figure out the steps necessary to accomplish it, and can't even really spell it out to myself in plain English, much less javascript.</p>

<p>I'm trying to create a block of code that would say "whenever an h2 element within the div with the id contentArea is clicked, find the next paragraph below it and hide it from view."</p>
