Is there a way to check document.ready() if jQuery is not available?
<p>I know you can use the window.onload event to make functions run, but is there a way for a script to query if the document is ready or not?</p>

<p>Something like</p>

<pre><code>function update()
{
    if( !document.ready() )  // don't do unless document loaded
        return ;
}
window.setInterval( 'update();', 100 ) ;
</code></pre>

<p>Cannot change the &lt;body&gt; element, and no jQuery/other libraries.</p>
