anchor.diff:  
   	import="com.imcode.imcms.servlet.admin.ChangeText,
   	        imcode.server.Imcms,
  -	        imcode.server.LanguageMapper, imcode.server.document.textdocument.TextDomainObject, imcode.util.Utility, org.apache.commons.lang.StringEscapeUtils, java.util.ArrayList, java.util.Arrays, java.util.List"
  +	        imcode.server.LanguageMapper, imcode.server.document.textdocument.TextDomainObject, imcode.util.Utility, org.apache.commons.lang.StringEscapeUtils, java.util.ArrayList, java.util.Arrays, java.util.List, com.imcode.imcms.api.ContentManagementSystem"
   
       contentType="text/html; charset=UTF-8"
   
  
positive.code: 				}, 500);
  			}
  		} catch (e) {}
  }
  
  var ua = navigator.userAgent.toLowerCase() ;
  var isIE7   = ua.indexOf("msie 7") != -1 ;
  var isGecko = ua.indexOf("gecko") != -1 ;
  var isMac   = ua.indexOf("mac") != -1 ;
  
  function setEditorSize() {
  	var oTextArea = document.getElementById("text") ;
  	if (oTextArea) {
  		var offsetH = (isMac && isGecko) ? 250 : (isIE7) ? 240 : 230 ;
  		var winH = (window.innerHeight) ? window.innerHeight : (document.body && document.body.offsetHeight) ? document.body.offsetHeight - 4 : document.body.clientHeight ;
  		if (winH > 400) {
  			oTextArea.style.height = (winH - offsetH) + "px" ;
  		}
  	}
  }
  setEditorSize() ;
  if (window.attachEvent) {
  	window.attachEvent("onresize",    function(){ setEditorSize(); }) ;
  } else if (window.addEventListener) {
  	window.addEventListener("resize", function(){ setEditorSize(); }, true) ;
  }
  </script>
          <% } %>
  
negative.code: if (rows > 0) {
  	showModeEditor = false ;
  }
  
  boolean isSwe = false ;
  try {
  	isSwe =	ContentManagementSystem.fromRequest(request).getCurrentUser().getLanguage().getIsoCode639_2().equals("swe");
  } catch (Exception e) {}
  %>
  <vel:velocity>
  <html>
  