    this.accessible = false; if (dojo.render.html.ie || dojo.render.html.mozilla){ var div = document.createElement("div");  div.style.backgroundImage = "url(\"" + this.imgPath + "/tab_close.gif\")";  dojo.body().appendChild(div);    var bkImg = null; if (window.getComputedStyle  ) { var cStyle = getComputedStyle(div, ""); bkImg = cStyle.getPropertyValue("background-image"); }else{ bkImg = div.currentStyle.backgroundImage; } var bUseImgElem = false; if (bkImg != null && (bkImg == "none" || bkImg == "url(invalid-url:)" )) { this.accessible = true; } /* if(this.accessible == false && document.images){  var testImg = new Image(); if(testImg.fileSize) { testImg.src = this.imgPath + "/tab_close.gif"; if(testImg.fileSize < 0){ this.accessible = true; } } }*/ dojo.body().removeChild(div); } return this.accessible; /* Boolean */ }, 
    this.accessible = false; if (dojo.render.html.ie || dojo.render.html.mozilla){ var div = document.createElement("div");  div.style.backgroundImage = "url(\"" + this.imgPath + "/tab_close.gif\")";  dojo.body().appendChild(div);    var bkImg = null; if (window.getComputedStyle  ) { var cStyle = getComputedStyle(div, ""); bkImg = cStyle.getPropertyValue("background-image"); }else{ bkImg = div.currentStyle.backgroundImage; } var bUseImgElem = false; if (bkImg != null && (bkImg == "none" || bkImg == "url(invalid-url:)" )) { this.accessible = true; } /* if(this.accessible == false && document.images){  var testImg = new Image(); if(testImg.fileSize) { testImg.src = this.imgPath + "/tab_close.gif"; if(testImg.fileSize < 0){ this.accessible = true; } } }*/ dojo.body().removeChild(div); } return this.accessible; /* Boolean */ }, 
	testAccessible: function(){	// summary: 	//		Always perform the accessibility check to determine if high 	//		contrast mode is on or display of images are turned off. Currently only checks 	//		in IE and Mozilla. 		this.accessible = false; //default		if (dojo.render.html.ie || dojo.render.html.mozilla){			var div = document.createElement("div");			//div.style.color="rgb(153,204,204)";			div.style.backgroundImage = "url(\"" + this.imgPath + "/tab_close.gif\")";			// must add to hierarchy before can view currentStyle below			dojo.body().appendChild(div);			// in FF and IE the value for the current background style of the added div			// will be "none" in high contrast mode			// in FF the return value will be url(invalid-url:) when running over http 			var bkImg = null;			if (window.getComputedStyle  ) {				var cStyle = getComputedStyle(div, ""); 				bkImg = cStyle.getPropertyValue("background-image");			}else{				bkImg = div.currentStyle.backgroundImage;			}			var bUseImgElem = false;			if (bkImg != null && (bkImg == "none" || bkImg == "url(invalid-url:)" )) {				this.accessible = true;			}			/*			if(this.accessible == false && document.images){				// test if images are off in IE				var testImg = new Image();				if(testImg.fileSize) {					testImg.src = this.imgPath + "/tab_close.gif";					if(testImg.fileSize < 0){ 						this.accessible = true;					}				}				}*/			dojo.body().removeChild(div);		}		return this.accessible; /* Boolean */	},
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/2f1d2cb699c9d9329e8b782b0463156e211cb0f6/struts_dojo.js.uncompressed.js/buggy/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js