anchor.diff:  
   
   							<script type="text/javascript">
  -																		//alert ("calling cats....");
  -																		function wait(delay){
  -																				string="pauseforalert("+delay+");";
  -																				setTimeout(string,delay);
  -																		}
  -																		function pauseforalert(delay){
  -																				alert("Ok "+delay/1000+" seconds have elapsed");
  -																		}
  -
  -																		var fieldValue;
  +																	var fieldValue;
   																		var readableValue;
  -																		createAE.getCategories(3, function(categories) {
  +																		//createAE.getCategories(3, function(categories) {
   																	
   																			var newId = 'ruleSet.rule[' + ${ruleCount} + '].condition.column[' + ${columnCount} + '].fieldConstraint[0].literalRestriction[0].value'; 
   																			var spanId = newId + '.span';
  
positive.code: 																					    	sel.options[index].selected=true;
  																					    }
  																					    
  																		               })
  																		        
  																	           })
  																	</script>
  
  
  						</c:when>
  					
  						<c:when
  							test='${command.ruleSet.rule[ruleCount].condition.column[columnCount].fieldConstraint[0].fieldName eq "term"}'>
  
  
  
  							<script type="text/javascript">
  												// force 1sec delay for ajax to make sure categories are loaded.. this is just  TEMP FIX 
  											   setTimeout("loadTermsBasedOnCategory()",1000);	
  
  
  												function loadTermsBasedOnCategory() {
  
  																		var newId = 'ruleSet.rule[' + ${ruleCount} + '].condition.column[' + ${columnCount} + '].fieldConstraint[0].literalRestriction[0].value'; 
  
negative.code: </style>
  
  <script type="text/javascript">
  		//loadCategoryObjects();
  		var sections = new Array();
  		var callback = false;
  		var newNode = 0;
  		var domainObject = null;
  		var categoryObjects = null;
  		var isCategorySelected = false;
  		
  		//function loadCategoryObjects() {															
  			createAE.getCategories(3, function(categories) {				
  				categoryObjects = categories;							
  	    	}.bind(this)	  )	
  	    //}
  		
  		function checkCategories() {
  	    			do
  					{
    						alert ("Loading categories ...");
  					}
  					while(categoryObjects = null);
   		}
   		
  		function addRule() {
  				
  				var organization = '';
  