title: issue with multiple window onload
body: <p>I luckily found this code on the net for continuos add on onload from a different subject completely</p>
  
  <pre><code>function myPluginLoadEvent(func) {
          // assign any pre-defined functions on 'window.onload' to a variable
          var oldOnLoad = window.onload;
          // if there is not any function hooked to it
          if (typeof window.onload != 'function') {
              // you can hook your function with it
              window.onload = func
          } else { // someone already hooked a function
              window.onload = function () {
                  // call the function hooked already
                  oldOnLoad();
                  // call your awesome function
                  func();
              }
          }
      }
  
      // pass the function you want to call at 'window.onload', in the function defined above
      myPluginLoadEvent(func);
  </code></pre>
  
  <p>However, this only allow for one add on onload call. How do I loop this for multiple on load call such as for i, 1++ ?
  Many thanks in advance.</p>