(function($){
	$.fn.jacc = function(options)
	{
		// compares user settings and default settings
		var ops = $.extend({}, $.fn.jacc.defaults, options);
		
		ops.elm = $(this);

		$.fn.jacc.startup(ops);

		ops.elm
			.children(ops.toggler)
			.click(function(){
				ops.this = $(this);
				$.fn.jacc.fxClose(ops);
				$.fn.jacc.fxOpen(ops);
			});	

		return this
	};
	// open selectet togglerBox an add current-classes
	$.fn.jacc.fxOpen = function(ops)
	{
		if( ops.this.next(ops.togglerBox).is(":hidden") === true )
		{
			ops.this
				.addClass('current');
			ops.this
				.next(ops.togglerBox)
				.addClass('current')
				.slideDown(ops.fxSpeed,ops.easingIn);
		}
	}
	// close togglerBoxes and remove current-classes
	$.fn.jacc.fxClose = function(ops)
	{	
		ops.elm
			.children(ops.toggler)
			.removeClass('current');
		ops.elm
			.children(ops.togglerBox)
			.removeClass('current')
			.slideUp(ops.fxSpeed,ops.easingOut);
	};
	// close all togglerBoxes on start
	$.fn.jacc.startup = function(ops)
	{
		ops.elm
			.children(ops.togglerBox)
			.hide();

		// opens first togglerBox
		if( ops.openFirst === true )
		{
			ops.this = ops.elm.children(ops.toggler).eq(0);
			$.fn.jacc.fxOpen(ops);
		}
	};
	// default options
	$.fn.jacc.defaults =
	{
		togglerBox 	: '.togglerBox',
		openFirst	: false,
		fxSpeed		: 500,
		easingIn	: '',
		easingOut	: '',
		focusSlide	: false,
		focusOffset	: 0
	};
})(jQuery);
@@ -1,16 +1,1340 @@
+/*%0A * jQuery jacc%0A * Version 0.1%0A * Copyright (c) 2014 Konrad Rolof (http://www.konrad-rolof.de)%0A * requires jQuery%0A * build under jQuery 1.10.1%0A * Dual licensed under the MIT (below)%0A * and GPL (http://www.gnu.org/licenses/gpl.txt) licenses.%0A *%0A%0AMIT License%0A%0ACopyright (c) 2014 Konrad Rolof%0A%0APermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the %22Software%22), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:%0A%0AThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.%0A%0ATHE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.%0A%0A *%0A */%0A
 (function($)%7B%0A%09$

add license as comment to js file