rem: }, 1); 
add: }, 10); 
context: 	addDomReadyEvent : function(fn) {		// is the window already loaded?		if (window.loaded)  {			fn();		} else if (!window.events || !window.events.domready) {			// register the handler			Wicket.Event.domReadyHandlers.push(fn);					// callback			var domReady = function() {				if (window.loaded) 					return;				window.loaded = true;								// if there was a timer, clean it (khtml, safari)				if (Wicket.Event.domReadyTimer) {					clearTimeout(Wicket.Event.domReadyTimer);					Wicket.Event.domReadyTimer = null;				}								// invoke the handlers				Wicket.Event.fireDomReadyHandlers();			}.bind(this);						if (document.readyState && (Wicket.Browser.isKHTML() || Wicket.Browser.isSafari())) { 			   //safari and konqueror don't support the event - simulate it through a timeou				Wicket.Event.domReadyTimer = window.setTimeout(function() {					if (document.readyState == "loaded" ||					    document.readyState == "complete") {					    domReady();					}				}, 1);			} else if (document.readyState && Wicket.Browser.isIE()) { 				if (document.getElementById('ie_ready') == null) {					// for internet explorer we need to load a "dummy" scrip from ::/ to get the 					// readystatechangeevernt - that means the main page being loaded and now the browser					// is loading dependencies					var src = (window.location.protocol == 'https:') ? '\/\/:' : 'javascript:void(0)';					document.write('<script id="ie_ready" defer src="' + src + '"><\/script>');					document.getElementById('ie_ready').onreadystatechange = function() {						if (this.readyState == 'complete') domReady();					};				}			} else { 				// other browsers				Wicket.Event.add(document, "DOMContentLoaded", domReady);			}		} else {			window.addEventListener("domready", fn, false);		}	}
meta: 1204	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/1204/f1beb7076f35401771ef4eb6a6b70271f4cac80b/wicket-event.js/clean/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/wicket-event.js