params.put(ResourceRequestHandler.ORIENTATION_QN, orientation == Orientation.RT ? "rt" : "lt");
params.put(ResourceRequestHandler.COMPRESS_QN, merge ? "min" : "");
params.put(WebAppController.HANDLER_PARAM, "skin");
params.put(ResourceRequestHandler.RESOURCE_QN, resource);
StringBuilder embeddedPath = new StringBuilder();
context.renderURL(params, new URIWriter(embeddedPath, MimeType.PLAIN));
//
strReplace.append(matcher.group(1));
strReplace.append(embeddedPath);
strReplace.append(matcher.group(3));