/*
 * @abrys.edu.pl
 */

(function($) {           
    var methods = {
        init : function(options) {
            var settings = {

            };
            if ( options ) { 
                $.extend( settings, options );
            } 
        $('#specjalnosci dd').each(function(){
            $(this).hide();
        })
        $('#specjalnosci dd').click(function(){
            $(this).hide();
        }) 
        $('#specjalnosci dt').toggle(function(){
               $(this).next().show(); 
        },function(){
            $(this).next('dd:first').hide(); 
        })
        }
    };
    $.fn.startAbrys = function( method ) {
        if ( methods[method] ) {
            return methods[method].apply( this, Array.prototype.slice.call( arguments, 1 ));
        } else if ( typeof method === 'object' || ! method ) {
            return methods.init.apply( this, arguments );
        } else {
            $.error( 'Method ' +  method + ' does not exist on jQuery.startAbrys' );
        }
    }
})(jQuery);

jQuery(document).ready(  
    function($)
    {  

        $('#content').startAbrys();

    }
)
