anchor.diff:  	else if (m_MainSessionCtrl.isAppInMaintenance() && !m_MainSessionCtrl.getCurrentUserDetail().isAccessAdmin())
   	{
       %>
  -        <script> 
  +        <script>
           	top.location="admin/jsp/appInMaintenance.jsp";
           </script>
       <%
  
positive.code:   	else
      {
      %>
          <script> 
          	top.location="admin/jsp/<%=gef.getLookFrame()%><%=mainFrameParams%>";
          </script>
      <%
  
negative.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);
  