var style = dojo.html.insertCssText(cssStr, doc); dojo.html._insertedCssFiles.push({'doc': doc, 'cssText': cssStr, 'nodeRef': style}); 
var style = dojo.html.insertCssText(cssStr, doc); dojo.html._insertedCssFiles.push({'doc': doc, 'cssText': cssStr, 'nodeRef': style}); 
dojo.html.insertCssFile = function(/* string */URI, /* HTMLDocument? */doc, /* boolean? */checkDuplicates, /* boolean */fail_ok){	//	summary	// calls css by XmlHTTP and inserts it into DOM as <style [widgetType="widgetType"]> *downloaded cssText*</style>	if(!URI){ return; }	if(!doc){ doc = document; }	var cssStr = dojo.hostenv.getText(URI, false, fail_ok);	if(cssStr===null){ return; }	cssStr = dojo.html.fixPathsInCssText(cssStr, URI);	if(checkDuplicates){		var idx = -1, node, ent = dojo.html._insertedCssFiles;		for(var i = 0; i < ent.length; i++){			if((ent[i].doc == doc) && (ent[i].cssText == cssStr)){				idx = i; node = ent[i].nodeRef;				break;			}		}		// make sure we havent deleted our node		if(node){			var styles = doc.getElementsByTagName("style");			for(var i = 0; i < styles.length; i++){				if(styles[i] == node){					return;				}			}			// delete this entry			dojo.html._insertedCssFiles.shift(idx, 1);		}	}	var style = dojo.html.insertCssText(cssStr, doc);	dojo.html._insertedCssFiles.push({'doc': doc, 'cssText': cssStr, 'nodeRef': style});	// insert custom attribute ex dbgHref="../foo.css" usefull when debugging in DOM inspectors, no?	if(style && djConfig.isDebug){		style.setAttribute("dbgHref", URI);	}	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