rem: d.isIE = ((document.all)&&(!d.isOpera)) ? tv : 0; 
add: d.isFF = 0; d.isIE = 0; try{ if(d.isMoz){ d.isFF = parseFloat(dua.split("Firefox/")[1].split(" ")[0]); } if((document.all)&&(!d.isOpera)){ d.isIE = parseFloat(dav.split("MSIE ")[1].split(";")[0]); } }catch(e){} 
context: 	(function(){		var d = dojo;		// this is a scope protection closure. We set browser versions and grab		// the URL we were loaded from here.		// grab the node we were loaded from		if(document && document.getElementsByTagName){			var scripts = document.getElementsByTagName("script");			var rePkg = /dojo\.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){					// find out where we came from					if(!djConfig["baseUrl"]){						djConfig["baseUrl"] = src.substring(0, m.index);					}					// and find out if we need to modify our behavior					var cfg = scripts[i].getAttribute("djConfig");					if(cfg){						var cfgo = eval("({ "+cfg+" })");						for(var x in cfgo){							djConfig[x] = cfgo[x];						}					}					break; // "first Dojo wins"				}			}		}		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/398bdd09f2eb9379bbf1df25ea5084841f8ce399/hostenv_browser.js/buggy/_base/_loader/hostenv_browser.js