
// PNG Fix of Layout

	DD_belatedPNG.fix('#header-overlay,.shadow-left,.shadow-right,#shadow-top,#shadow-bottom,#content-container,.tooltip');

// Slideshow im Header
	 
	 $('#slideshow').cycle({  

   	fx:      'scrollLeft', 
   	speedIn:  3000, 
   	speedOut: 2000,  
		timeout: 5000,
 // 	easeIn:  'bounceout', 
  //	easeOut: 'backin', 
 //  	delay:   -2000,
		cleartype:true,
      cleartypeNoBg: true,
		random: 1
	 }); 
	 
// Superfish Menu for Submenu

	 $(document).ready(function(){ 
		  $("ul.sf-menu").superfish({
				delay:       1000,                            // one second delay on mouseout 
				animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
				speed:       'normal',                          // faster animation speed 
				dropShadows:   true,
				autoArrows:    false
		  }); 
	 }); 
 
 
// Tooltip for Guestbook Link
 
	$(document).ready(function() {
		$("#gaestebuch a[title]").tooltip({
			 	position: "top center",
				effect:	'slide',
				bounce:	true,
			   offset: [5, -20]
		});
	});
	
	$(document).ready(function() {
		$("#newsletter a[title]").tooltip({
			 	position: "top center",
				effect:	'slide',
				bounce:	true,
			   offset: [5, -20]
		});
	});
	
// Cufon - To replace the Title
	 
	Cufon.replace('h2');
	Cufon.replace('h3');
	Cufon.replace('.footer-title');
	
// Fancybox

	$(document).ready(function() {
		
		$("p.groupfancy a").fancybox({
			'transitionIn'	:	'elastic',
			'transitionOut'	:	'elastic',
			'speedIn'		:	600, 
			'speedOut'		:	200, 
			'overlayShow'	:	true
		});
	});