context: 	(function(){		var _w = window;		var _handleNodeEvent = function(/*String*/evtName, /*Function*/fp){			// summary:			//		non-destructively adds the specified function to the node's			//		evtName handler.			// evtName: should be in the form "click" for "onclick" handlers			var oldHandler = _w[evtName] || function(){};			_w[evtName] = function(){				fp.apply(_w, arguments);				oldHandler.apply(_w, arguments);			}		}		if(dojo.isIE){			// 	for Internet Explorer. readyState will not be achieved on init			// 	call, but dojo doesn't need it however, we'll include it			// 	because we don't know if there are other functions added that			// 	might.  Note that this has changed because the build process			// 	strips all comments -- including conditional ones.			document.write('<scr'+'ipt defer src="//:" '				+ 'onreadystatechange="if(this.readyState==\'complete\'){dojo._loadInit();}">'				+ '</scr'+'ipt>'			);			// IE WebControl hosted in an application can fire "beforeunload" and "unload"			// events when control visibility changes, causing Dojo to unload too soon. The			// following code fixes the problem			// Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;199155			var _unloading = true;			_handleNodeEvent("onbeforeunload", function(){				_w.setTimeout(function(){ _unloading = false; }, 0);			});			_handleNodeEvent("onunload", function(){				if(_unloading){ dojo.unloaded(); }			});			try{				document.namespaces.add("v","urn:schemas-microsoft-com:vml");				document.createStyleSheet().addRule("v\\:*", "behavior:url(#default#VML)");			}catch(e){}		}else{			// FIXME: dojo.unloaded requires dojo scope			_handleNodeEvent("beforeunload", dojo.unloaded);		}	})();
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/3a933667d4ce60e2079673f6dfce9c5159c31eac/hostenv_browser.js/clean/_base/_loader/hostenv_browser.js