1var dw_index = jQuery('#index__tree').dw_tree({deferInit: true,
2    load_data: function  (show_sublist, $clicky) {
3        jQuery.post(
4            DOKU_BASE + 'lib/exe/ajax.php',
5            $clicky[0].search.substr(1) + '&call=index',
6            show_sublist, 'html'
7        );
8    }
9});
10jQuery(function () {
11    var $tree = jQuery('#index__tree');
12
13    dw_index.$obj = $tree;
14
15    dw_index.init();
16});
17