!function(e){e.extend(e.tree.plugins,{themeroller:{defaults:{},callbacks:{oninit:function(t){if("themeroller"==this.settings.ui.theme_name){e.extend(!0,{},e.tree.plugins.themeroller.defaults,this.settings.plugins.themeroller);this.container.addClass("ui-widget ui-widget-content"),e("#"+this.container.attr("id")+" li a").live("mouseover",function(){e(this).addClass("ui-state-hover")}),e("#"+this.container.attr("id")+" li a").live("mouseout",function(){e(this).removeClass("ui-state-hover")})}},onparse:function(t,i){if("themeroller"==this.settings.ui.theme_name){e.extend(!0,{},e.tree.plugins.themeroller.defaults,this.settings.plugins.themeroller);return e(t).find("a").not(".ui-state-default").addClass("ui-state-default").children("ins").addClass("ui-icon").end().end().end()}},onselect:function(t,i){if("themeroller"==this.settings.ui.theme_name){e.extend(!0,{},e.tree.plugins.themeroller.defaults,this.settings.plugins.themeroller);e(t).children("a").addClass("ui-state-active")}},ondeselect:function(t,i){if("themeroller"==this.settings.ui.theme_name){e.extend(!0,{},e.tree.plugins.themeroller.defaults,this.settings.plugins.themeroller);e(t).children("a").removeClass("ui-state-active")}}}}})}(jQuery);