;(function($){
    $(function(){
        /*
         * Global Function for Hiding and Showing Elements
         * class='adc_hider_{id}' is the action element
         * class='adc_hide_{id}' is the element affected
         */
        $("*[class^=_adc_hide_]").hide();
        if(location.hash){
            $(location.hash).parents("*[class^=_adc_hide_]").show(function(){
                var scroll = $(location.hash).offset().top;
                window.scrollTo(0,scroll);
            });
        };
        $("*[class^=_adc_hider_]").click(function(e){
            e.preventDefault();
            var i = /_adc_hider_(\d*)/.exec(this.className)[1],
            q = $("._adc_hide_"+i);
            q.is(":hidden") ? q.show() : q.hide();
        });
    });
})(jQuery);
