anchor.diff:  <%@ taglib prefix="authority" uri="http://www.webcurator.org/authority"  %>
   <%@page import="org.webcurator.domain.model.auth.Privilege"%>
   <%@page import="org.webcurator.ui.profiles.command.ProfileListCommand"%>
  +<script src="scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
   
   <%
   String path = request.getContextPath();
  
positive.code: 				<authority:hasPrivilege privilege="<%=Privilege.MANAGE_PROFILES%>" scope="<%=Privilege.SCOPE_AGENCY%>">
  				    <authority:hasAgencyOwnedPriv ownedObject="${profile}" privilege="<%= Privilege.VIEW_PROFILES %>">		        				    	    
  				        <img src="images/action-sep-line.gif" alt="" width="7" height="19" border="0" />		    				    
  				        <a href="curator/profiles/profiles.html?profileOid=<c:out value="${profile.oid}"/>&mode=copy" title="Copy">
  				        <img src="images/action-icon-copy.gif" alt="click here to COPY this item" border="0" />
  				        </a>
  					</authority:hasAgencyOwnedPriv>
  		        </authority:hasPrivilege>
  		        
  		    	<authority:hasAgencyOwnedPriv ownedObject="${profile}" privilege="<%=Privilege.MANAGE_PROFILES%>">
  			    	<img src="images/action-sep-line.gif" alt="" width="7" height="19" border="0" />
  			        <a href="curator/profiles/profiles.html?profileOid=<c:out value="${profile.oid}"/>&mode=export" title="Export">
  			        <img src="images/action-icon-export.gif" alt="click here to Export this item as XML" width="18" height="18" border="0" />
  			        </a>
  			    </authority:hasAgencyOwnedPriv>
  
  		    	<authority:hasAgencyOwnedPriv ownedObject="${profile}" privilege="<%=Privilege.MANAGE_PROFILES%>">
  
negative.code:   }
  
  //-->
  </script>
  
  <script type="text/javascript">
    $(document).ready(function() {
      $('#createType').change(function() {
          var selectedHarvesterType = this.value;
          var link = $(this).parent().find("#profilesLink");
          if (selectedHarvesterType == 'HERITRIX3') {
              link.attr("href", "curator/profiles/profilesH3.html");
          } else {
              link.attr("href", "curator/profiles/profiles.html");
          }
      });
  
    });
  </script>
  
  <span class="midtitleGrey">Profile</span>
  