rem: (djConfig["baseUrl"] == "") && (document && document.getElementsByTagName) 
add: (!djConfig["baseUrl"]) && (document && document.getElementsByTagName) 
context: 	(function(){		var d = dojo;		// this is a scope protection closure. We set browser versions and grab		// the URL we were loaded from here.		// before we get any further with the config options, try to pick them out		// of the URL. Most of this code is from NW		if(			(djConfig["baseUrl"] == "") && (document && document.getElementsByTagName)		){			var scripts = document.getElementsByTagName("script");			var rePkg = /(dojo|bootstrap)\.js([\?\.]|$)/i;			for(var i = 0; i < scripts.length; i++) {				var src = scripts[i].getAttribute("src");				if(!src) { continue; }				var m = src.match(rePkg);				if(m) {					var root = src.substring(0, m.index);					if(src.indexOf("bootstrap") > -1) { root += "../"; }					d._baseUrl = root;					console.debug(root);					break;				}			}		}else{			d._baseUrl = djConfig["baseUrl"];		}		// fill in the rendering support information in dojo.render.*		var n = navigator;		var dua = n.userAgent;		var dav = n.appVersion;		var tv = parseFloat(dav);		d.isOpera = (dua.indexOf("Opera") >= 0) ? tv : 0;		d.isKhtml = (dav.indexOf("Konqueror") >= 0)||(dav.indexOf("Safari") >= 0) ? tv : 0;		d.isSafari = (dav.indexOf("Safari") >= 0) ? tv : 0;		var geckoPos = dua.indexOf("Gecko");		d.isMozilla = d.isMoz = ((geckoPos >= 0)&&(!d.isKhtml)) ? tv : 0;		d.isIE = ((document.all)&&(!d.isOpera)) ? tv : 0;		var cm = document["compatMode"];		d.isQuirks = (cm == "BackCompat")||(cm == "QuirksMode")||(d.isIE < 6);		// TODO: is the HTML LANG attribute relevant?		d.locale = d.locale || (d.isIE ? n.userLanguage : n.language).toLowerCase();	})();
meta: 4497	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/4497/82b2813cb42e207e705169e5f6bf1ab0fecbe4b3/hostenv_browser.js/clean/_base/_loader/hostenv_browser.js