var match, str = "", url = "", regex, pad = ""; var urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";  if(imports){ pad = " "; regex = new RegExp('(@import)(\\s+'+urlChrs+')\\s*(;)'); }else{ regex = new RegExp('(url\\()\\s*('+urlChrs+')\\s*(\\))'); } var regexProtocol = /https?:\/\ var regexTrim = new RegExp("^[\\s]*(['\"]?)("+urlChrs+")\\1[\\s]*?$");  while(match = regex.exec(cssText)){ url = match[2].replace(regexTrim, "$2"); if(!regexProtocol.exec(url)){ url = (new dojo._Url(cssUrl, url).toString()); } str += cssText.substring(0, match.index) + match[1] + pad + "'" + url + "'" + match[3]; cssText = cssText.substr(match.index + match[0].length); 
      if(alphaImageLoader){ cssText = cssText.replace(alphaImageLoader, function(ignore, pre, delim, url, post){ return pre + (new dojo._Url(cssUrl, './'+url).toString()) + post; }); 
	function adjustCssPaths(cssUrl, cssText, imports){		//	summary		//  say cssText comes from dojoroot/src/widget/templates/Foobar.css		// 	it has a css selector: .dojoFoo { background-image: url(images/bar.png);}		// then uri should point to dojoroot/src/widget/templates/		if(!cssText || !cssUrl){ return; }		var match, str = "", url = "", regex, pad = "";		var urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";				if(imports){			pad = " ";			regex = new RegExp('(@import)(\\s+'+urlChrs+')\\s*(;)'); // TODO support media rules		}else{			regex = new RegExp('(url\\()\\s*('+urlChrs+')\\s*(\\))');		}		var regexProtocol = /https?:\/\//;		var regexTrim = new RegExp("^[\\s]*(['\"]?)("+urlChrs+")\\1[\\s]*?$");			while(match = regex.exec(cssText)){			url = match[2].replace(regexTrim, "$2");			if(!regexProtocol.exec(url)){				url = (new dojo._Url(cssUrl, url).toString());			}			str += cssText.substring(0, match.index) + match[1] + pad + "'" + url + "'" + match[3];			cssText = cssText.substr(match.index + match[0].length);		}		str = str + cssText;		if(!imports){			str = arguments.callee(cssUrl, str, true);		}		return str; // String	}
5168	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/5168/3c9b3c65a235c4134dceb120b2a28c62017baf1b/ContentPane.js/clean/layout/ContentPane.js