

	
	
	//plugin
//<![CDATA[ 		
		Cufon.replace('h2, h3, h4, h5');
		Cufon.replace('ul#naviAdd li', { hover: true });
			//]]>

	
	



// fancybox

	 

	$(document).ready(function() {
		
		if (typeof $.fn.fancybox != "undefined") {
			$("p.groupfancy a").fancybox({
				'transitionIn'	:	'elastic',
				'transitionOut'	:	'elastic',
				'speedIn'		:	600, 
				'speedOut'		:	200, 
				'overlayShow'	:	true
			});
			
			$("p.groupfancyCmsRight a").fancybox({
				'transitionIn'	:	'elastic',
				'transitionOut'	:	'elastic',
				'speedIn'		:	600, 
				'speedOut'		:	200, 
				'overlayShow'	:	true
			});
			
			$("p.groupfancyCms a").fancybox({
				'transitionIn'	:	'elastic',
				'transitionOut'	:	'elastic',
				'speedIn'		:	600, 
				'speedOut'		:	200, 
				'overlayShow'	:	true
			});
		}
		

	});



//Slideshow

$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade', // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		speed:   6000,
		timeout: 6000
	});
	
	
	
	$("a[rel=lightbox]").fancybox({
        'titlePosition': 'over',
        'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
        return '<span id="fancybox-title-over">Bild ' +  (currentIndex + 1) + ' von ' + currentArray.length + ' - ' + title + '</span>';
        }
    });
	
	
	
	
});









