   if(!cssStr){ return; } if(!doc){ doc = document; } if(URI){ cssStr = dojo.html.fixPathsInCssText(cssStr, URI); } var style = doc.createElement("style"); style.setAttribute("type", "text/css");   var head = doc.getElementsByTagName("head")[0]; if(!head){ dojo.debug("No head tag in document, aborting styles"); return; }else{ head.appendChild(style); } if(style.styleSheet){ var setFunc = function(){ try{ style.styleSheet.cssText = cssStr; }catch(e){ dojo.debug(e); } }; if(style.styleSheet.disabled){ setTimeout(setFunc, 10); }else{ setFunc(); } }else{ var cssText = doc.createTextNode(cssStr); style.appendChild(cssText); } return style; 
   if(!cssStr){ return; } if(!doc){ doc = document; } if(URI){ cssStr = dojo.html.fixPathsInCssText(cssStr, URI); } var style = doc.createElement("style"); style.setAttribute("type", "text/css");   var head = doc.getElementsByTagName("head")[0]; if(!head){ dojo.debug("No head tag in document, aborting styles"); return; }else{ head.appendChild(style); } if(style.styleSheet){ var setFunc = function(){ try{ style.styleSheet.cssText = cssStr; }catch(e){ dojo.debug(e); } }; if(style.styleSheet.disabled){ setTimeout(setFunc, 10); }else{ setFunc(); } }else{ var cssText = doc.createTextNode(cssStr); style.appendChild(cssText); } return style; 
dojo.html.insertCssText = function(/* string */cssStr, /* HTMLDocument? */doc, /* string? */URI){	//	summary	//	Attempt to insert CSS rules into the document through inserting a style element	// DomNode Style  = insertCssText(String ".dojoMenu {color: green;}"[, DomDoc document, dojo.uri.Uri Url ])	if(!cssStr){ 		return; //	HTMLStyleElement	}	if(!doc){ doc = document; }	if(URI){// fix paths in cssStr		cssStr = dojo.html.fixPathsInCssText(cssStr, URI);	}	var style = doc.createElement("style");	style.setAttribute("type", "text/css");	// IE is b0rken enough to require that we add the element to the doc	// before changing it's properties	var head = doc.getElementsByTagName("head")[0];	if(!head){ // must have a head tag 		dojo.debug("No head tag in document, aborting styles");		return;	//	HTMLStyleElement	}else{		head.appendChild(style);	}	if(style.styleSheet){// IE		var setFunc = function(){ 			try{				style.styleSheet.cssText = cssStr;			}catch(e){ dojo.debug(e); }		};		if(style.styleSheet.disabled){			setTimeout(setFunc, 10);		}else{			setFunc();		}	}else{ // w3c		var cssText = doc.createTextNode(cssStr);		style.appendChild(cssText);	}	return style;	//	HTMLStyleElement}
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