anchor.diff:               </c:choose>
               <span nowrap>
                 <span id="operandEditSpan${index-1}">
  -              	
  -				
  -				              	
  +
                   <c:set var="pathString" value="${node.pathString}"/>
  -              	<c:set var="classDesc" value="${classDesc}"/>
  +                <c:set var="classDesc" value="${classDesc}"/>
                   <c:set var="fieldDesc" value="${fieldDesc}"/>
                   <c:set var="acPath" value="${classDesc[pathString]}.${fieldDesc[pathString]}"/>
  -              	<c:set var="hasAutoC" value="0"/>
  -              	<c:forEach items="${autoCompleterMap[acPath]}" var="useAC">
  -              		<%-- exist for this field a autocompleter --%>             		
  -              		<c:if test="${!empty useAC  and hasAutoC eq 0}">
  -            			<input name="attributeValues(${index})" id="attributeId_${index}" size="45" autocomplete="off" 
  -            			       style="background:#ffffc8" 
  -            			       onKeyDown="getId(this.id); isEnter(event);" 
  -            			       onKeyUp="readInput(event, '${classDesc[pathString]}', '${fieldDesc[pathString]}');" 
  -            			       onMouseOver="setMouseOver(${index});"
  -   		  					   onMouseOut="setMouseOver(0);" 
  -            			       onBlur="if(MOUSE_OVER != ${index}) { removeList(); }"/>
  -            			<div class="error_auto_complete" id="attributeId_${index}_error" tabindex="-1"></div>
  -            			<iframe width="100%" height="0" id="attributeId_${index}_IEbugFixFrame" tabindex="-1"
  -            			        marginheight="0" marginwidth="0" frameborder="0" style="position:absolute;" ></iframe> 
  +                <c:set var="hasAutoC" value="0"/>
  +                <c:forEach items="${autoCompleterMap[acPath]}" var="useAC">
  +                  <%-- exist for this field a autocompleter --%>
  +                  <c:if test="${!empty useAC  and hasAutoC eq 0}">
  +                  <input name="attributeValues(${index})" id="attributeId_${index}" size="45" autocomplete="off"
  +                         style="background:#ffffc8"
  +                         value="${con.value}"
  +                         onKeyDown="getId(this.id); isEnter(event);"
  +                         onKeyUp="readInput(event, '${classDesc[pathString]}', '${fieldDesc[pathString]}');"
  +                         onMouseOver="setMouseOver(${index});"
  +                         onMouseOut="setMouseOver(0);"
  +                         onBlur="if(MOUSE_OVER != ${index}) { removeList(); }"/>
  +                  <div class="error_auto_complete" id="attributeId_${index}_error" tabindex="-1"></div>
  +                  <iframe width="100%" height="0" id="attributeId_${index}_IEbugFixFrame" tabindex="-1"
  +                          marginheight="0" marginwidth="0" frameborder="0" style="position:absolute;" ></iframe>
                           <div class="auto_complete" id="attributeId_${index}_display" tabindex="-1"
                                onMouseOver="setMouseOver(${index});"
  -   						     onMouseOut="setMouseOver(0);" 
  -   						     onBlur="if(MOUSE_OVER != ${index}) { removeList(); }"></div>
  -            			<c:set var="hasAutoC" value="1"/>
  -            		</c:if>
  -            	</c:forEach>
  -            	
  -            	<%-- if no auto completer exist --%>
  -             	<c:if test="${hasAutoC eq 0}">
  -              		<html:text property="attributeValues(${index})"/>
  -                </c:if>  	
  -
  - 
  -
  -                
  -                
  -                
  -                
  +                    onMouseOut="setMouseOver(0);"
  +                    onBlur="if(MOUSE_OVER != ${index}) { removeList(); }"></div>
  +                  <c:set var="hasAutoC" value="1"/>
  +                </c:if>
  +              </c:forEach>
  +
  +              <%-- if no auto completer exist --%>
  +               <c:if test="${hasAutoC eq 0}">
  +                  <html:text property="attributeValues(${index})"/>
  +                </c:if>
  +
                   <c:if test="${!empty keyFields[con]}">
                     <span onMouseDown="displayHelpMsg(event,'lookupHelp')" style="cursor:pointer">?</span>
                     <div class="smallnote helpnote" id="lookupHelp" style="display:none" >
  
positive.code:       return n == null || isNaN(n) ? 0 : n;
    }
  
     function forwardToLinks() 
     {
         document.getElementById('actionType').value = 'links';
         document.templateForm.submit();
  
negative.code:       <c:if test="${IS_SUPERUSER}">
          <html:submit property="editTemplate"><fmt:message key="template.submitToQueryEdit"/></html:submit>
        </c:if>
  
       </td>
       <td align="right">
    <html:link action="/exportTemplates?scope=all&amp;name=${templateQuery.name}">
      <img src="theme/xml.png" title="Export this template to XML"/>
    </html:link>
    </td>
    </tr>
    </table>
  
      </c:if>
    </html:form>
  
    <c:if test="${empty previewTemplate}">
      <div style="font-style: italic;">
        <b>NEW:</b> <a href="javascript:forwardToLinks()">Embed</a> this query. <a href="http://intermine.org/wiki/TemplateWebService">Help</a>
      </div>
    </c:if>
  
    <c:if test="${empty PROFILE_MANAGER || empty PROFILE.username}">
      <p>
        <i>
  