private String getCrossNavigationUrl(Target target, Cell cell, MondrianModel model) {
logger.debug("IN");
StringBuffer buffer = new StringBuffer("parent.execCrossNavigation(window.name, '"
+ StringEscapeUtils.escapeJavaScript(target.documentLabel) + "', '");
String query = model.getCurrentMdx();
Connection monConnection = model.getConnection();
Query monQuery = monConnection.parseQuery(query);
Cube cube = monQuery.getCube();
List<TargetParameter> parameters = target.parameters;
if (!parameters.isEmpty()) {
for (int i = 0; i < parameters.size(); i++) {