function checkAndResolveRelativeUrl(sUrl, sThemeBaseUrl) {
			var aMatch = rCssUrl.exec(sUrl);
			if (aMatch) {
				var oUri = new URI(aMatch[1]);
				if (oUri.is("relative")) {
					// Rewrite relative URLs based on the theme base url
					// Otherwise they would be relative to the HTML page which is incorrect
					var sNormalizedUrl = oUri.absoluteTo(sThemeBaseUrl).normalize().toString();
					sUrl = "url('" + sNormalizedUrl + "')";
				}
			}

			return sUrl;
		}
/**
		 * Resolves relative URLs in parameter values.
		 * Only for inline-parameters.
		 */
Resolves relative URLs in parameter values.
Only for inline-parameters.
Resolves relative URLs in parameter values . Only for inline - parameters .
function checkAndResolveRelativeUrl(sUrl, sThemeBaseUrl) {
			var aMatch = rCssUrl.exec(sUrl);
			if (aMatch) {
				var oUri = new URI(aMatch[1]);
				if (oUri.is("relative")) {
					var sNormalizedUrl = oUri.absoluteTo(sThemeBaseUrl).normalize().toString();
					sUrl = "url('" + sNormalizedUrl + "')";
				}
			}
			return sUrl;
		}
function checkAndResolveRelativeUrl ( sUrl , sThemeBaseUrl ) { var aMatch = rCssUrl . exec ( sUrl ) ; if ( aMatch ) { var oUri = new URI ( aMatch [ 1 ] ) ; if ( oUri . is ( "relative" ) ) { var sNormalizedUrl = oUri . absoluteTo ( sThemeBaseUrl ) . normalize ( ) . toString ( ) ; sUrl = "url('" + sNormalizedUrl + "')" ; } } return sUrl ; }
Resolves relative URLs in parameter values.
Resolves relative URLs in parameter values .
// Rewrite relative URLs based on the theme base url // Otherwise they would be relative to the HTML page which is incorrect