when does JS/jQuery statement gets executed which is not part of jquery doc/window handlers
<p>I have following jquery code in client side JS</p>

<pre><code>// Following gets executed at document.ready() time

    $(function() {
      prepareCurList();
    });

// When does the following code gets executed as its just a plain JS statement???

    prepareNextList();
</code></pre>

<p>Please provide pointers.</p>
