;(function($) {
    $.fn.collapsible = function(opts) {
        $.fn.collapsible.defaults = {};

        opts = $.extend({}, $.fn.collapsible.defaults, opts);

        return this.each(function() {
            $(this).children(":not(:header)").hide().end().children(":header:first").click(function() {
                var li = $(this).parent("li");
                if (li.hasClass("open")) {
                    li.removeClass("open");
                    $(this).siblings().hide();
                    removeFromShowLst($(this).children()[0].id);
                } else {
                    li.addClass("open");
                    $(this).siblings().show();
                    addToShowLst($(this).children()[0].id);
                }
				//alert("kkkkkkkkkk");
                //ttest2("a test")
                //ttest2(this)
                //ttest2($(this).children()[0].id);
            });
        });
    };
})(jQuery)
