code: function addLoadEvent(fn) {
  		if (typeof win.addEventListener != UNDEF) {
  			win.addEventListener("load", fn, false);
  		}
  		else if (typeof doc.addEventListener != UNDEF) {
  			doc.addEventListener("load", fn, false);
  		}
  		else if (typeof win.attachEvent != UNDEF) {
  			addListener(win, "onload", fn);
  		}
  		else if (typeof win.onload == "function") {
  			var fnOld = win.onload;
  			win.onload = function() {
  				fnOld();
  				fn();
  			};
  		}
  		else {
  			win.onload = fn;
  		}
  	}
docs: /* Cross-browser onload
  - Based on James Edwards' solution: http://brothercake.com/site/resources/scripts/onload/
  - Will fire an event as soon as a web page including all of its assets are loaded