anchor.diff:  			}
   			else if (selectedField.value == 'category')
   			{
  -				                alert ("here");
  +
   				                
   				                createAE.getCategories(3, function(categories) {
   
  
positive.code: 				var date = new Date();
  				var curdate = null;
  				 do {curdate = new Date();} 
  				 	while (curdate - date < 500);
  				 	
  				 	//end 
  				 	
  
negative.code: 				                    })
  				                })
  
  			}
  			else if (selectedField.value == 'investigationalNewDrugIndicator') {
  				//alert ("ind");
  							var newId = validValueField.id; 
  							var spanId = newId + '.span';
  
  					var inputArea = '<input type="text" id="' + newId + '" name="' + newId +'" size="60"/>';
  					inputArea += '<img alt="activity indicator" src="/caaers/images/indicator.white.gif" class="indicator" id="term-indicator"/>';
  					$(spanId).innerHTML = inputArea + '<div id="' + newId + '-choices' + '" class="autocomplete"></div>';
  
  	
  
  				new Autocompleter.DWR(newId, newId + '-choices',
                  	orgsPopulator, {
                  	valueSelector: orgValueSelector,
                  	afterUpdateElement: function(inputElement, selectedElement, selectedChoice) {
  									alert (selectedChoice);
                  	},
                  	indicator: "term-indicator"});
  
  	
  					
  					
  			}
  			else
  			{
  