anchor.diff:        _d._tree_elem.jstree("check_node", node );
       },
       
  -    this.createNodeListeners = function(){
  +    this.createNodeListeners = function(){      
         _d._tree_elem.delegate("a","click", function(e) { 
  -        if ( _d._tree_elem.jstree("is_checked", this) )
  -          _d.uncheckNode(this);
  -        else 
  -          _d.checkNode(this);
  +        var node = $(this).parent("li"); 
           
  -        // TODO this should be handled with an event listener for checked and unchecked,
  -        //      right now only clicking the titles toggle visibility
  -        var node = $(this).parent("li"); 
           if (node.data().lat) // it's a marker
             return _d.toggleVisibility( [_d.markers[node.data().id.toString()]] );
           else {
  
positive.code:     this.initTree = function(){
        _d.tree = _d._tree_elem.jstree({
          core      : { html_titles : true },
          plugins   : [ "json_data", "themes", "checkbox" ],
          themes    : { theme : "apple" },
          json_data : { data : tree }
        });
        
        // this isnt working without a delay ?
  
negative.code:         $("#page-header").outerHeight() - 21 + "px"
        });
      },
      
      this.setData = function(data){
        _d._data = data;
        
  