anchor.diff:      <script type="text/javascript">
           var aeReportId = ${empty command.aeReport.id ? 'null' : command.aeReport.id}
           var initialCategory ='';
  +        var ctcTermIdvalues = new Array();
  +        <c:forEach items="${command.ctcTermIds}" varStatus="status" var="ctcTermId">
  +	        	ctcTermIdvalues[${status.index}]='${ctcTermId}'
  +         </c:forEach>
   
   		
   		  var EnterMeddra = Class.create()
  
positive.code:                    ctcTerms.each(function(ctcTerm) {
                         var opt = new Option(ctcTerm.fullName, ctcTerm.id)
                         terms.options.add(opt)
                     })
                 })
             }
  
negative.code:            		new EnterMeddra(${status.index}, '${adverseEvent.lowLevelTerm.fullName}')
             		</c:if>
              </c:forEach>
  	        
  	        
  	        showTerms()
  	        Event.observe("cats", "change", function() { showTerms() })
  