dojo._initFired = true;
// allow multiple calls, only first one will take effect// A bug in khtml calls events callbacks for document for event which isnt supported// for example a created contextmenu event calls DOMContentLoaded, workaroundvar type = (e && e.type) ? e.type.toLowerCase() : "load";
if(arguments.callee.initialized||(type != "domcontentloaded"&& type != "load")){return; }
arguments.callee.initialized = true;
if("_khtmlTimer"in dojo){
clearInterval(dojo._khtmlTimer);
delete dojo._khtmlTimer;
}if(dojo._inFlightCount == 0){
dojo._modulesLoaded();
}