// Fancybox custom settings

// ------------ Available options ---------------

// You can pass them as shown above or modify them at the bottom of FancyBox JS file
// padding 	Padding around content
// imageScale 	If true, images are scaled to fit in viewport
// zoomOpacity 	If true, changes content transparency when animating
// zoomSpeedIn 	Speed in miliseconds of the zooming-in animation (no animation if 0)
// zoomSpeedOut 	Speed in miliseconds of the zooming-out animation (no animation if 0)
// zoomSpeedChange 	Speed in miliseconds of the animation when changing gallery items (no animation if 0)
// easingIn, easingOut, easingChange 	Easing used for animations
// frameWidth 	Default width for iframed and inline content
// frameHeight 	Default height for iframed and inline content
// overlayShow 	If true, shows the overlay (false by default)
// Overlay color is defined in CSS file
// overlayOpacity 	Opacity of overlay (from 0 to 1)
// hideOnContentClick 	Hides FancyBox when cliked on opened item
// centerOnScroll 	If true, content is centered when user scrolls page
// itemArray 	Optional, can set custom item array
// callbackOnStart 	Optional, called on start
// callbackOnShow 	Optional, called on displaying content
// callbackOnClose 	Optional, called on close

// Sample code
// For images <a id="single_image" href="image_big.jpg"><img src="image_small.jpg" alt=""/></a>
// Galleries are created from found anchors who have the same "rel" tags 
// Inline content <a id="inline" href="#data">This shows content of element who has id="data"</a>
// Iframe <a href="http://www.example?iframe">This goes to iframe</a> or <a class="iframe" href="http://www.example">This goes to iframe</a>
// Ajax <a href="http://www.example/data.php">This takes content using ajax</a>

// Optional: Use the title attribute if you want to show a caption
// Note: You may want to set hideOnContentClick to false if you display iframed or inline content and it containts clickable elements (for example - play buttons for movies, links to other pages) 

$(document).ready(function() {
		
	$("a#single_1").fancybox({
		'zoomOpacity'			: true,
		'overlayShow'			: true,
		'imageScale'			: true,
		'overlayOpacity'		: 0.6,
		'zoomSpeedIn'			: 1000,
		'zoomSpeedOut'			: 1000,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack'
	});
	$("a.popupFoto").fancybox({
		'zoomOpacity'			: true,
		'overlayShow'			: true,
		'imageScale'			: true,
		'overlayOpacity'		: 0.6,
		'zoomSpeedIn'			: 1000,
		'zoomSpeedOut'			: 1000,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack'
	});
	
	$("a.gallery").fancybox({
		'zoomOpacity'			: true,
		'overlayShow'			: true,
		'imageScale'			: true,
		'overlayOpacity'		: 0.6,
		'zoomSpeedIn'			: 1000,
		'zoomSpeedOut'			: 1000,
		'easingIn'				: 'easeOutBack',
		'easingOut'				: 'easeInBack',
		'hideOnContentClick'	: false
	});

});