// JavaScript Document

$(document).ready(function() {
		
	$("a.popup").fancybox({
		'hideOnContentClick': false,
		'frameWidth' : 526,
		'frameHeight' : 600,
		'centerOnScroll' : true,
	});

});

/*  parameters for the box that you can change

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				Easing used for animations
easingOut				Easing used for animations
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

*/
