anchor.diff:  				});
   	});
   
  +}
  +
  +var componentPermalink = "<%=URLManager.getSimpleURL(URLManager.URL_COMPONENT, componentId)%>";
  +
  +function addCurrentNodeAsFavorite() {
  +	var path = $("#breadCrumb").text();
  +	var description = "";
  +	var url = componentPermalink;
  +	if (getCurrentNodeId() != "0") {
  +		var node = oTreeView.getNodeByProperty("labelElId", getCurrentNodeId());
  +		if (typeof node.data.description  != "undefined"){ 
  +			description = node.data.description;
  +		}
  +		url = $("#topicPermalink").attr("href");
  +	}
  +	addFavorite(escape(path), escape(description), url);
   }
   
   function getCurrentNodeId()
  
positive.code: 		if (id != "0" && id != "1" && id != "tovalidate")
  		{
  			$("#footer").css({'visibility':'visible'});
  			$("#footer").html("<%=EncodeHelper.javaStringToJsString(resources.getString("kmelia.topic.info"))%>"+node.data.creatorName+" - "+node.data.date+" - <a id=\"topicPermalink\" href=\"#\"><img src=\"<%=resources.getIcon("kmelia.link")%>\"/></a>");
  			$("#footer #topicPermalink").attr("href", "<%=m_context%>/Topic/"+id+"?ComponentId=<%=componentId%>");
  		}
  		else
  
negative.code: var Dom = YAHOO.util.Dom;
  var Event = YAHOO.util.Event;
  
  var initCreatorName = "<%=kmeliaScc.getUserDetail(nodeDetail.getCreatorId()).getDisplayedName()%>";
  var initCreationDate = "<%=resources.getOutputDate(nodeDetail.getCreationDate())%>";
  
  var oTreeView;
  var root;
  var currentNodeId;
  