rem: document.write("<script id=ie_ready defer src=': $('ie_ready').onreadystatechange = function(){ if (this.readyState == 'complete') domReady(); }; 
add: if (!$('ie_ready')){ var src = (window.location.protocol == 'https:') ? ': document.write('<script id="ie_ready" defer src="' + src + '"><\/script>'); $('ie_ready').onreadystatechange = function(){ if (this.readyState == 'complete') domReady(); }; } 
context: 	add: function(fn){		if (window.loaded){			fn.call(this);			return;		}		var domReady = function(){			if (window.loaded) return;			window.loaded = true;			window.timer = $clear(window.timer);			this.fireEvent('domready');		}.bind(this);		if (document.readyState && window.khtml){			this.timer = function(){				if (['loaded','complete'].test(document.readyState)) domReady();			}.periodical(50);		} else if (document.readyState && window.ie){			document.write("<script id=ie_ready defer src='://0'><\/script>");			$('ie_ready').onreadystatechange = function(){				if (this.readyState == 'complete') domReady();			};		} else {			window.addListener("load", domReady);			document.addListener("DOMContentLoaded", domReady);		}	}
meta: 6317	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6317/659eb7aca364b4804095d9e1edae16e6cf51de4a/Window.DomReady.js/buggy/Window/Window.DomReady.js