 $(document).ready(function() {
														
					$('.scroll-pane').jScrollPane(
						{showArrows:true, scrollbarWidth: 6, arrowSize: 6, dragMaxHeight : 33, bottomCapHeight: 10 , topCapHeight : 10, wheelSpeed : 5, animateToInternalLinks : true}
					);

					$('div .block-links-mitte ul li').addClass('cufon');
					Cufon.replace('h1',{
						hover: true,
						hoverables: { a:true }
					});
					
					Cufon.replace('h3');
					$('h4').addClass('cufon');
					Cufon.replace('h4',{
						hover: true,
						hoverables: { a:true }
					});
					
					Cufon.replace('.nahrwerte');
					
					Cufon.replace('h2');
					Cufon.replace('.block-mitte ul li a',{
						hover: true,
						hoverables: { a:true }
					});
					Cufon.replace('div .block-links-mitte a', {
					hover: true,
					hoverables: { a:true }
				});
					
					
					
					
					
					
				$(".img-bt-gi").hover(function() {
					$(this).next("em").stop(true, true).animate({opacity: "show"}, "slow");
				}, function() {
					$(this).next("em").animate({opacity: "hide"}, "fast");
				});
				
				$(".img-bt-s").hover(function() {
					
					$(this).next("em").stop(true, true).animate({opacity: "show"}, "slow");
				}, function() {
					
					$(this).next("em").animate({opacity: "hide"}, "fast");
				});


				$(".img-bt-veg").hover(function() {
					$(this).next("em").css("top",400);
					$(this).next("em").stop(true, true).animate({opacity: "show"}, "slow");
				}, function() {
					$(this).next("em").animate({opacity: "hide"}, "fast");
				});
				
				$(".img-bt-cal").hover(function() {
					$(this).next("em").stop(true, true).animate({opacity: "show"}, "slow");
				}, function() {
					$(this).next("em").animate({opacity: "hide"}, "fast");
				});
				
				
				$(".jScrollArrowUp").css('top','0');
				$(".jScrollArrowDown").css('bottom','0');

	}); 
 
 
 
 // skaliebarer Background
 
 
			    $(function(){  
   			     $.fn.supersized.options = {  
   	         startwidth: 1024,  
   	         startheight: 768,  
   	         minsize: .3,  
   	         slideshow: 0,  
   	         slideinterval: 5000  
   	     };  
   	         $('#supersize').supersized(); 
						 
						 
						 
				 /* This is basic - uses default settings */ 
	 $("a#single_image").fancybox(); 
	 /* Using custom settings */ 
	 $("a#inline").fancybox({ 'hideOnContentClick': true}); 
	 $("a.group").fancybox({ 
		 'zoomSpeedIn': 300, 
		 'zoomSpeedOut': 300,
		 'overlayOpacity' :.8,
		 'overlayShow': true 
	 }); 
   });  
 
 
 
 
 
 