jQuery(document).ready(function() {


	$("a#example4").fancybox({
		'titleShow'     : true,
		'easingIn'      : 'easeOutBack',
		'easingOut'     : 'easeInBack'
		
	});
		
	$("a#example2").fancybox({
		'titleShow'     : false,
		'transitionIn'	: 'elastic',
		'transitionOut'	: 'elastic',
		'easingIn'      : 'easeOutBack',
		'easingOut'     : 'easeInBack'
	});
	
	$("a#example3").fancybox({
	    'titleShow'     : false,
		'transitionIn'	: 'none',
		'transitionOut'	: 'none'
	});
	
	
	$("a#example5").fancybox({
		'titlePosition'  : 'inside'
	});
	
	$("a#example6").fancybox({
		'titlePosition'  : 'over'
	});


	$("a[rel=photoshow_group]").fancybox({
		'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'titlePosition' 	: 'over',
		'titleFormat'       : function(title, currentArray, currentIndex, currentOpts) {
		    return '<span id="fancybox-title-over">' + title +'  - ' +  (currentIndex + 1) + ' / ' + currentArray.length + '</span>';
		}		
	});


	$("a.image").fancybox({
		'zoomOpacity'			: true,
		'overlayShow'			: true,
		'zoomSpeedIn'			: 500,
		'zoomSpeedOut'			: 500
	});

	$("a.photoshow").fancybox();
	
	$("a.showmap").fancybox({
		'width'				: 500,
		'height'			: 420,
        'autoScale'     	: false,
        'transitionIn'		: 'fade',
		'transitionOut'		: 'fade',
		'type'				: 'iframe',
		'showCloseButton'	: true
	});

	$("area.showdocumentarea").fancybox({
		'width'				: 810,
		'height'			: 635,
        'autoScale'     	: false,
        'transitionIn'		: 'fade',
		'transitionOut'		: 'fade',
		'type'				: 'iframe',
		'showCloseButton'	: false
	});


	$("a.showdetails").fancybox({
        'transitionIn'		: 'fade',
		'width'				: 620,
		'height'			: 610,
		'transitionOut'		: 'fade',
		'type'				: 'iframe',
		'scrolling'   		: 'auto'		
		
	});

	$("a.showplayer").fancybox({
		'width'             : 650,
		'height'            : 485,
		'margin'            : 5,
		'padding'           : 5,
        'autoScale'     	: false,
        'transitionIn'		: 'none',
		'transitionOut'		: 'none',
		'type'				: 'iframe'
	});

});

