anchor.diff:  	{
   		String foreignId = request.getParameter("ForeignId");
   		String type		 = request.getParameter("Mapping");
  -		
  +
   		//Contruit l'url vers l'objet du composant contenant le fichier
   		strGoTo = URLManager.getURL(null, componentId)+"searchResult?Type=Publication&Id="+foreignId;
   		Session.putValue("gotoNew", strGoTo);
  -		
  +
   		//Ajoute l'id de l'attachment pour ouverture automatique
   		Session.putValue("RedirectToAttachmentId", attachmentGoTo);
   		Session.putValue("RedirectToMapping", type);
  
positive.code: 		}
  	}
  	//System.out.println("componentId = "+componentId);
  	
  	mainFrameParams = "?ComponentIdFromRedirect="+componentId;
  	Session.putValue("RedirectToComponentId", componentId);
  }
  
negative.code:   	else
      {
      %>
          <script>
          	top.location="admin/jsp/<%=gef.getLookFrame()%><%=mainFrameParams%>";
          </script>
      <%
  