// JavaScript Document
// --------------------------------------------------------------------------------------------------
$(document).ready(function() {
    $('.slideshow').cycle({
		fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
	});
});
// --------------------------------------------------------------------------------------------------
$(document).ready(function() {
		
		$("p.fancybox a").fancybox({
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'titlePosition' 	: 'over'
		});
		
	})

	$(document).ready(function() {
		/* This is basic - uses default settings */
		$("a[rel=example_group]").fancybox({
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'speedIn'		:	600, 
			'speedOut'		:	200, 
			'titlePosition' 	: 'over',
			'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
			}
		});
	});
	
		$(document).ready(function() {
		/* This is basic - uses default settings */
		$("img.imagecms").fancybox({
			'transitionIn'		: 'none',
			'transitionOut'		: 'none',
			'speedIn'		:	600, 
			'speedOut'		:	200, 
			'titlePosition' 	: 'over',
			'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
				return '<span id="fancybox-title-over">Bild ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
			}
		});
	});
	

// --------------------------------------------------------------------------------------------------
Cufon.replace('h2','');
Cufon.replace('h3','');
Cufon.replace('div#contentSidebar h3','');
Cufon.replace('div#accordion .head','');
// --------------------------------------------------------------------------------------------------
