how can i dynamically add a div to my page after the body tag?
<p>i wrote the following code, only problem it places the div before the closing  tag 
and i want it to be at the beginning.</p>

<pre><code>&lt;script type="text/javascript" language="javascript"&gt;

        window.onload = function createDiv1() {
            var divTag1 = document.createElement("div");

            divTag1.id = "mid section";

            divTag1.setAttribute("align", "center");

            divTag1.className = "dynamicDivmid";

            divTag1.innerHTML = "pp";
            document.body.appendChild(divTag1);


        }
</code></pre>
