JavaScript createElement help
<p>I have the following code:</p>

<pre><code>function JS_Utils_BuildModal ()
        {

            var objModal = document.createElement("div");

            objModal.setAttribute('id', 'Modal');

            document.body.appendChild(objModal);

        }
</code></pre>

<p>What I want to do is add to it and create a series of DIVS and P's with some content so that when I run the function I get the following:</p>

<pre><code>&lt;div id="Modal"&gt;
&lt;div class="Content"&gt;
&lt;p&gt;Sending Data&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Thanks</p>
