anchor.diff:  <h:outputText styleClass="ags2agp agp2agpCaption" value="#{gptMsg['catalog.harvest.manage.edit.dest.caption']}"/>
   
   <%-- dest host --%>
  -<h:outputLabel styleClass="requiredField ags2agp" for="agp-dest-h" value="#{gptMsg['catalog.harvest.manage.edit.dest.h']}"/>
  -<h:inputText   styleClass="ags2agp" size="30" value="#{HarvestController.editor.attrs['ags-dest-h']}" id="agp-dest-h"/>
  +<h:outputLabel styleClass="requiredField ags2agp" for="ags-dest-h" value="#{gptMsg['catalog.harvest.manage.edit.dest.h']}"/>
  +<h:inputText   styleClass="ags2agp" size="30" value="#{HarvestController.editor.attrs['ags-dest-h']}" id="ags-dest-h"/>
   
   <%-- dest user name --%>
   <h:outputLabel styleClass="requiredField ags2agp" for="ags-dest-u" value="#{gptMsg['catalog.harvest.manage.edit.dest.u']}"/>
  
positive.code:   });
  }
  
  function searchFolders() {
    var foldersDiv = dojo.byId("foldersDiv");
    esri.request({
      url: "<%=basePath%>/catalog/harvest/searchFolders.jsp",
      content: {
        h: dojo.trim(dojo.attr("harvestCreate:dest-h","value")),
        u: dojo.trim(dojo.attr("harvestCreate:dest-u","value")),
        p: dojo.trim(dojo.attr("harvestCreate:dest-p","value")),
        o: dojo.trim(dojo.attr("harvestCreate:dest-o","value"))
      },
      handleAs: "json",
      callbackParamName: "callback"
    }).then(function(response){
  
negative.code:   dojo.addClass(dijit.byId("timeDialog").domNode,"tundra");
  });
  
  function getSelectedProtocol() {
    var ps = dojo.query("#harvestCreate\\:protocolType input:checked").attr("value");
    return ps!=null && ps.length>0? ps[0]: "";
  }
  
  function getAgp2AgpDestination() {
    var destination = {
      h: dojo.trim(dojo.attr("harvestCreate:dest-h","value")),
      u: dojo.trim(dojo.attr("harvestCreate:dest-u","value")),
      p: dojo.trim(dojo.attr("harvestCreate:dest-p","value")),
      o: dojo.trim(dojo.attr("harvestCreate:dest-o","value")),
      f: dojo.trim(dojo.attr("harvestCreate:dest-f","value"))
    };
    return destination;
  };
  
  function getAgs2AgpDestination() {
    var destination = {
      h: dojo.trim(dojo.attr("harvestCreate:ags-dest-h","value")),
      u: dojo.trim(dojo.attr("harvestCreate:ags-dest-u","value")),
      p: dojo.trim(dojo.attr("harvestCreate:ags-dest-p","value")),
      o: dojo.trim(dojo.attr("harvestCreate:ags-dest-o","value")),
      f: dojo.trim(dojo.attr("harvestCreate:ags-dest-f","value"))
    };
    return destination;
  };
  
  function getDestination(protocolType) {
    if (protocolType=="agp2agp") {
      return getAgp2AgpDestination();
    }
    if (protocolType=="ags2agp") {
      return getAgs2AgpDestination();
    }
    return null;
  }
  
  function setDestinationOwner(protocolType,owner) {
    if (protocolType=="agp2agp") {
      dojo.attr("harvestCreate:dest-o","value",owner);
    }
    if (protocolType=="ags2agp") {
      dojo.attr("harvestCreate:ags-dest-o","value",owner);
    }
  }
  
  function setDestinationFolder(protocolType,folder) {
    if (protocolType=="agp2agp") {
      dojo.attr("harvestCreate:dest-f","value",folder);
    }
    if (protocolType=="ags2agp") {
      dojo.attr("harvestCreate:ags-dest-f","value",folder);
    }
  }
  
  function getSelf(protocolType) {
    var ownersDiv = dojo.byId("ownersDiv");
    esri.request({
      url: "<%=basePath%>/catalog/harvest/getSelf.jsp",
      content: getDestination(protocolType),
      handleAs: "json",
      callbackParamName: "callback"
    }).then(function(response){
  