function loadParameters(sId) {
			var oUrl = getThemeBaseUrlForId(sId);

			// try to parse the inline-parameters for the given library
			// this may fail for a number of reasons, see below
			if (!parseParameters(sId)) {
				// derive parameter file URL from CSS file URL
				// $1: name of library (incl. variants)
				// $2: additional parameters, e.g. for sap-ui-merged, version/sap-ui-dist-version
				var sUrl = oUrl.styleSheetUrl.replace(/\/(?:css_variables|library)([^\/.]*)\.(?:css|less)($|[?#])/, function($0, $1, $2) {
					return "/library-parameters.json" + ($2 ? $2 : "");
				});

				if (syncCallBehavior === 2) {
					Log.error("[nosync] Loading library-parameters.json ignored", sUrl, "sap.ui.core.theming.Parameters");
					return;
				} else if (syncCallBehavior === 1) {
					Log.error("[nosync] Loading library-parameters.json with sync XHR", sUrl, "sap.ui.core.theming.Parameters");
				}

				// check if we need to send credentials
				var sThemeOrigin = new URI(oUrl.themeBaseUrl).origin();
				var bWithCredentials = mOriginsNeedingCredentials[sThemeOrigin];
				var aWithCredentials = [];

				// initially we don't have any information if the target origin needs credentials or not ...
				if (bWithCredentials === undefined) {
					// ... so we assume that for all cross-origins except the UI5 bootstrap we need credentials.
					// Setting the XHR's "withCredentials" flag does not do anything for same origin requests.
					if (sUrl.startsWith(sBootstrapOrigin)) {
						aWithCredentials = [false, true];
					} else {
						aWithCredentials = [true, false];
					}
				} else {
					aWithCredentials = [bWithCredentials];
				}

				// trigger a sync. loading of the parameters.json file
				loadParametersJSON(sUrl, oUrl.themeBaseUrl, aWithCredentials);
			}
		}
Load parameters for a library/theme combination as identified by the URL of the library.css
@param {string} sId the library name for which parameters might be loaded