function loadCodaSlide(){

	jQuery(function( $ ){
		/**
		 * Most jQuery.localScroll's settings, actually belong to jQuery.ScrollTo, check it's demo for an example of each option.
		 * @see http://flesler.demos.com/jquery/scrollTo/
		 * You can use EVERY single setting of jQuery.ScrollTo, in the settings hash you send to jQuery.LocalScroll.
		 */
		
		// The default axis is 'y', but in this demo, I want to scroll both
		$.localScroll.defaults.axis = 'xy';

		// You can modify any default like this
		
		//TODO Abfrage (Main- oder Submenu)

		// handle nav selection
		function selectNav() {
		  $(this)
			.parents('ul:first')
			  .find('li')
				.removeClass('active')
			  .end()
			.end()
			.parents('li:first')
			  .addClass('active');
		}
		
		function selectSubNav() {
		  $(this)
			.parents('ul#menu')
			  .find('li')
				.removeClass('active')
			  .end()
			.end()
			.parents('li.levelOne:first')
			  .addClass('active');
		}
		
		$('#header .menu').find('a').click(selectNav);
		$('#header .submenu').find('a').click(selectSubNav);
		
		// Scroll initially if there's a hash (#something) in the url 
		$.localScroll.hash({
			target: '#slidingContent', // Could be a selector or a jQuery object too.
			queue:true,
			duration:1500
		});

		$.localScroll({
			lazy: true,
			target: '#slidingContent', // could be a selector or a jQuery object too.
			queue:true,
			duration:1000,
			hash:true,
			onBefore:function( e, anchor, $target ){
				
				$("#main .previewContainer").find("a.toogleContent").each(function(){
					if($(this).attr("href") == "#closed"){
						$(this).attr("href", "#open");
						$(this).css("background-position", "right -16px");
						$(this).parents(".previewContainer").find(".hiddenContent").slideUp(500);
					}
				});
			},
			onAfter:function( anchor, settings ){
				//refresh vars and Links of the Website
				refresh_page(null);
				$("#slidingContent").animate({"height": mainHeight+'px'}, 200);
			}
		});
	});
}
