anchor.diff:  		}
   	}
   	//System.out.println("componentId = "+componentId);
  -	
  +
   	mainFrameParams = "?ComponentIdFromRedirect="+componentId;
   	Session.putValue("RedirectToComponentId", componentId);
   }
  
positive.code: 	{
  		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);
  
negative.code: 	else if (m_MainSessionCtrl.isAppInMaintenance() && !m_MainSessionCtrl.getCurrentUserDetail().isAccessAdmin())
  	{
      %>
          <script>
          	top.location="admin/jsp/appInMaintenance.jsp";
          </script>
      <%
  