Why does the following piece of code *always* return null?
I cannot figure this out...

Code:
<body>
    <div>        
        <script language=javascript>            
            alert(document.getElementById("p"));            
        </script>
        <div id="p" style="WIDTH: 600px; HEIGHT: 450px">&nbsp;</div>
    </div>
</body>


- ØØ -