title: window.onload in jQuery
body: <p>I have use the example of sizzle and there I got window.onload in the last of the code. </p>
  
  <p>What does this means.</p>
  
  <p>My code is like this:</p>
  
  <pre><code>var init = function () {
      var trail = Sizzle;
      var foo = trail('.foo');
      foo[0].onmouseover = function () {
          this.style.backgroundColor = (this.style.backgroundColor.indexOf('blue') === 0) ? 'yellow' : 'blue';
      };
      foo[1].onmouseover = function () {
          this.style.backgroundColor = (this.style.backgroundColor.indexOf('red') === 0) ? 'yellow' : 'red';
          jQuery(foo[1]).after("&lt;b&gt;Hello&lt;/b&gt;");
      }
      foo[2].onmouseover = function () {
          this.style.backgroundColor = (this.style.backgroundColor.indexOf('green') === 0) ? 'yellow' : 'green';
          jQuery(foo[3]).toggle("slow");
          jQuery('b').remove();
      }
  };
  window.onload = init;
  </code></pre>
  
  <p>What does this mean?</p>