str+=_1fd.substring(0,_200.index)+"AlphaImageLoader(src='"+url+"'"; _1fd=_1fd.substr(_200.index+_200[0].length); } return str+_1fd; } if(!_1fd||!URI){ return; } var _200,str="",url=""; var _205=/url\(\s*([\t\s\w()\/.\\'"-:#=&?]+)\s*\)/; var _203=/(file|https?|ftps?):\/\ var _202=/^[\s]*(['"]?)([\w()\/.\\'"-:#=&?]*)\1[\s]*?$/; if(dojo.render.html.ie55||dojo.render.html.ie60){ _1fd=iefixPathsInCssText(); } while(_200=_205.exec(_1fd)){ url=_200[1].replace(_202,"$2"); if(!_203.exec(url)){ url=(new dojo.uri.Uri(URI,url).toString()); } str+=_1fd.substring(0,_200.index)+"url("+url+")"; _1fd=_1fd.substr(_200.index+_200[0].length); } return str+_1fd; }; 
dojo.html.fixPathsInCssText = function(/* string */cssStr, /* string */URI){  //  summary  // usage: cssText comes from dojoroot/src/widget/templates/Foobar.css  //  it has .dojoFoo { background-image: url(images/bar.png);} then uri should point to dojoroot/src/widget/templates/  function iefixPathsInCssText() {    var regexIe = /AlphaImageLoader\(src\=['"]([\t\s\w()\/.\\'"-:#=&?~]*)['"]/;    while(match = regexIe.exec(cssStr)){      url = match[1].replace(regexTrim, "$2");      if(!regexProtocol.exec(url)){        url = (new dojo.uri.Uri(URI, url).toString());      }      str += cssStr.substring(0, match.index) + "AlphaImageLoader(src='" + url + "'";      cssStr = cssStr.substr(match.index + match[0].length);    }    return str + cssStr;  }  if(!cssStr || !URI){ return; }  var match, str = "", url = "";  var regex = /url\(\s*([\t\s\w()\/.\\'"-:#=&?]+)\s*\)/;  var regexProtocol = /(file|https?|ftps?):\/\//;  var regexTrim = /^[\s]*(['"]?)([\w()\/.\\'"-:#=&?]*)\1[\s]*?$/;  if (dojo.render.html.ie55 || dojo.render.html.ie60) {    cssStr = iefixPathsInCssText();  }  while(match = regex.exec(cssStr)){    url = match[1].replace(regexTrim, "$2");    if(!regexProtocol.exec(url)){      url = (new dojo.uri.Uri(URI, url).toString());    }    str += cssStr.substring(0, match.index) + "url(" + url + ")";    cssStr = cssStr.substr(match.index + match[0].length);  }  return str + cssStr;  //  string}
6315	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/6315/90939f35f46f873d9b1f5c5f818ecf012711dc71/dojo.js/buggy/src/main/resources/org/apache/struts2/static/dojo/dojo.js