$.fn.gkAccordion = function( options ){
   
    var defaults = $.extend({
        openAll: false,
        onHover: true,
        firstOpen: true
    }, options );
   
    return this.each(function(){
        $('div.accordion').hide();
        $('.ce_accordion .toggler').click(function() {
            $(this).css('outline','none');
			$(this).css('background','url(tl_files/design/minus.jpg) left center no-repeat');
            if( $(this).parent().hasClass('current') ) {
				$(this).parent().children('.toggler').css('background','url(tl_files/design/plus.jpg) left center no-repeat');
                $(this).parent().children('.accordion').slideUp('slow',function() {
                    $(this).parent().removeClass('current');
					 
                });
            } else {
                $('.accordion').slideUp('slow',function() {
					$(this).parent('.current').children('.toggler').css('background','url(tl_files/design/plus.jpg) left center no-repeat');
                    $(this).parent().removeClass('current');
					
                });
                $(this).parent().children('.accordion').slideToggle('slow',function() {
                    $(this).parent().toggleClass('current');
                });
            }
            return false;
        });
       
    });
   
};
