title: Select/deselect all node with same ID on fancytree plugin
body: <p>I am trying to create company structure. 
  One employee can been employeed in two sector, but this is same employee with same ID <code>id = employee1</code>.</p>
  
  <p>Checking if is item selected or deselected and this is working. </p>
  
  <p>I having problem with nodes with same id. </p>
  
  <p>When selected node with id employee1, I want select/deselect all node where is id employee1.</p>
  
  <p>Thank you in advance.</p>
  
  <pre><code>&lt;div id="companyEmplyee"&gt;
      &lt;ul&gt;
          &lt;li class="folder" id="company1"&gt;Company
              &lt;ul&gt;
                  &lt;li class="folder" id="sector1"&gt;Sector 1
                      &lt;ul&gt;
                          &lt;li class="emplyee1"&gt;Emplyee 1&lt;/li&gt;  
                          &lt;li id="emplyee2"&gt;Emplyee 2&lt;/li&gt;        
                      &lt;/ul&gt;
                  &lt;/li&gt;
                  &lt;li class="folder" id="sector2"&gt;Sector 2
                      &lt;ul&gt;
                          &lt;li class="emplyee1"&gt;Emplyee 1&lt;/li&gt;  
                          &lt;li id="emplyee35"&gt;Emplyee 35&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/li&gt;
              &lt;/ul&gt;
          &lt;/li&gt;
      &lt;/ul&gt;                                                   
  &lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
      $(function () {
          var tree = $("#companyEmplyee").fancytree({
              checkbox: true,
              selectMode: 2,
              keyPathSeparator: "/",
  
              clones: {
                  highlightClones: true
              },
              select: function (event, data) {
                  var s = data.tree.getNodeByKey(data.node.key);
                  var s3 = s.key;
                  var s2 = $.map(data.tree.getSelectedNodes(), function (node) {//                                                                        
                      return node.key;
                  });
  
                  if ($.inArray(s3, s2) == -1) {//                                                                      
                      $("tr#" + s3).addClass("deleted");
                      //DESELECTED
                      $('table#tblID tr#' + s.key).remove();
                      alert(s.key + ' DESELECT');
  
                  }
  
                  else {
                      //SELECTED
                      alert(s.key + ' SELECT');
                  }
              }
          });
      });
  &lt;/script&gt;
  </code></pre>