add:  Event.observe(window, "load", fireContentLoadedEvent);  } else { document.addEventListener("DOMContentLoaded", fireContentLoadedEvent, false); }  } else { var dummy = location.protocol == "https:" ? "https: document.write("<script id=__onDOMContentLoaded defer src='" + dummy + "'><\/script>"); $("__onDOMContentLoaded").onreadystatechange = function() { if (this.readyState == "complete") { this.onreadystatechange = null; fireContentLoadedEvent(); } }; } })(); 
context:       timer = window.setInterval(function() {        if (/loaded|complete/.test(document.readyState))          fireContentLoadedEvent();      }, 0);
meta: 3332	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3332/cbaec757e2064d53466aea82c2ca25238ce84004/event.js/clean/src/event.js