;(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();
        /*
         * Toggle Show/Hide
         */
        $("*[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();
        });
        /*
         * Force Show
         */
        $("*[class*=_adc_hider_show_]").click(function(e){
            e.preventDefault();
            var i = /_adc_hider_show_(\d*)/.exec(this.className)[1];
            $("._adc_hide_"+i).show();
        });
        /*
         * Force Hide
         */
        $("*[class*=_adc_hider_hide_]").click(function(e){
            e.preventDefault();
            var i = /_adc_hider_hide_(\d*)/.exec(this.className)[1];
            $("._adc_hide_"+i).hide();
        });
    });
})(jQuery);
