anchor.diff:      <%@ page import="com.imcode.imcms.servlet.Version" %>
       <%@ page import="imcode.server.Imcms "%>
       <%@ page import="imcode.server.document.DocumentDomainObject" %>
  +    <%@ page import="imcode.server.ImcmsConstants"%>
       <%@ page contentType="text/javascript" pageEncoding="UTF-8"	%>
       <%
   
  
positive.code: 
  %>
      Imcms = {
          contextPath: "${pageContext.request.contextPath}",
          version: "${version}",
          isEditMode: ${isEditMode},
  
negative.code: 	final String imcmsVersion = Version.getImcmsVersion(getServletConfig().getServletContext());
  
  	pageContext.setAttribute("version", imcmsVersion);
      pageContext.setAttribute("editModeFlags", ImcmsConstants.PERM_EDIT_DOCUMENT);
      pageContext.setAttribute("isEditMode", isEditMode);
      pageContext.setAttribute("isVersioningAllowed", Imcms.isVersioningAllowed());
      pageContext.setAttribute("language", language);
  