jQuery().ready(function(){
									
		var tObj;
		
		jQuery('ul#navi').accordion({ 
			active: true,
			header: '.head',
			navigation: true, 
			event: 'mouseover', 
			autoheight: false
		});
		
		jQuery('ul#navi').mouseleave(function(){
			tObj=setTimeout("jQuery('#navi').accordion('activate', false);",0);
		}).mouseenter(function(){
			clearTimeout(tObj);
		}); 
		
		
		jQuery('#content-slider').anythingSlider({
			startPanel : 1,
			hashTags : false,
			width : 560,
			height : 360,
			buildArrows : true,
			buildNavigation : false,
			infiniteSlides: false,
			stopAtEnd: true,
			autoPlay: false
		});
		
		jQuery("a[rel=lightbox]").fancybox({
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'titlePosition' 	: 'over',
			'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
		    return '<span id="fancybox-title-over">Bild ' +  (currentIndex + 1) + ' von ' + currentArray.length + ' / ' + title + '</span>';
		}
	});


});
