anchor.diff:          function addFavorite() {
             var name = $("#breadCrumb").text();
             var description = "<%=WebEncodeHelper.javaStringToJsString(pubDetail.getDescription(language))%>";
  -          var url = "<%=URLUtil.getSimpleURL(URLUtil.URL_PUBLI, pubDetail.getPK().getId())%>";
  +          var url = "<%=pubPermalink%>";
             postNewLink(name, url, description);
           }
   
  
positive.code:   if (kmeliaPublication.isAlias()) {
      componentInstanceIdOfAlias = contextComponentId;
    }
  
    String linkedPathString = kmeliaScc.getSessionPath();
  
  
negative.code:           <% } %>
  
  
  		    <% if (StringUtil.isDefined(pubPermalink)) {%>
            <fmt:message var="permalinkHelp" key="kmelia.CopyPublicationLink"/>
            <c:set var="permalinkIconUrl"><%=resources.getIcon("kmelia.link")%></c:set>
            <viewTags:displayPermalinkInfo link="<%=pubPermalink%>" help="${permalinkHelp}" iconUrl="${permalinkIconUrl}"/>
          <% }%>
          </div>
        <%
  