$(document).ready(function() {


		$("div .catalogImg a").fancybox(
		//{'hideOnContentClick': true}
		{ 'zoomSpeedIn': 600, 'zoomSpeedOut': 300, 'overlayShow': true, 'hideOnContentClick': true }
		); 
		
		
		/*
		$("div .catalogImgOpen1 a").fancybox(
			{ 'hideOnContentClick': true, 'hideOnContentClick': true, 'hideOnContentClick': true }
		);
		*/ 
	
		
		$("div .catalogImgOpen a").fancybox(
			{ 'zoomSpeedIn': 600, 'zoomSpeedOut': 300, 'overlayShow': true, 'hideOnContentClick': true }
		);
	
		 
		$("div .rounded_content a").fancybox(
			{ 'zoomSpeedIn': 600, 'zoomSpeedOut': 300, 'overlayShow': true, 'hideOnContentClick': true, 'displayBuy': false  }
		);
		
		$("div .awardsImgOpen a").fancybox(
			{ 'zoomSpeedIn': 600, 'zoomSpeedOut': 300, 'overlayShow': true, 'hideOnContentClick': true, 'displayBuy': false }
		);
		  
		$("div .awardsImg a").fancybox(
			{ 'zoomSpeedIn': 600, 'zoomSpeedOut': 300, 'overlayShow': true, 'hideOnContentClick': true, 'displayBuy': false }
		);
		
		$(".cMapImg a, .zoom a").fancybox(
			{ 'zoomSpeedIn': 600, 'zoomSpeedOut': 300, 'overlayShow': true, 'hideOnContentClick': true, 'displayBuy': false }
		);
		 
	}
);

//List can contain mixed media too
		//Parameter "o" ir optional and used to override settings, example: {url: "http://www.google.com", title: false,  o: {'frameWidth': 200} }
		var imageList = [
			{url: "/img/examples/6_b.jpg", title: "First image"},
			{url: "/img/examples/7_b.jpg", title: "Second image"},
			{url: "/img/examples/8_b.jpg", title: "Third image"}
		];
		
		function getGroupItems(opts) {
			jQuery.each(imageList, function(i, val) {
		        opts.itemArray.push(val);
		    });
		}

