w2sidebar = function (options) {
        this.name          = null;
        this.box           = null;
        this.sidebar       = null;
        this.parent        = null;
        this.nodes         = [];        // Sidebar child nodes
        this.menu          = [];
        this.routeData     = {};        // data for dynamic routes
        this.selected      = null;      // current selected node (readonly)
        this.img           = null;
        this.icon          = null;
        this.style         = '';
        this.topHTML       = '';
        this.bottomHTML    = '';
        this.keyboard      = true;
        this.onClick       = null;      // Fire when user click on Node Text
        this.onDblClick    = null;      // Fire when user dbl clicks
        this.onContextMenu = null;
        this.onMenuClick   = null;      // when context menu item selected
        this.onExpand      = null;      // Fire when node Expands
        this.onCollapse    = null;      // Fire when node Colapses
        this.onKeydown     = null;
        this.onRender      = null;
        this.onRefresh     = null;
        this.onResize      = null;
        this.onDestroy     = null;

        $.extend(true, this, w2obj.sidebar, options);
    }
*********************************************************************
  Library: Web 2.0 UI for jQuery (using prototypical inheritance)
  - Following objects defined
       - w2sidebar        - sidebar widget
       - $().w2sidebar    - jQuery wrapper
  - Dependencies: jQuery, w2utils

== NICE TO HAVE ==
  - return ids of all subitems
  - add find() method to find nodes by a specific criteria (I want all nodes for exampe)
  - dbl click should be like it is in grid (with timer not HTML dbl click event)
  - reorder with grag and drop
  - add route property that would navigate to a #route
  - node.style is missleading - should be there to apply color for example

**********************************************************************