code: function(ptr) {
  			var i,
  				l,
  				cl = this.children;
  
  			if (cl) {
  				if (typeof ptr === "string") {
  					for (i = 0, l = cl.length; i < l; i++) {
  						if (cl[i].key === ptr) {
  							return cl[i];
  						}
  					}
  				} else if (typeof ptr === "number") {
  					return this.children[ptr];
  				} else if (ptr.parent === this) {
  					return ptr;
  				}
  			}
  			return null;
  		}
docs: /* Return the direct child FancytreeNode with a given key, index.