		$(document).ready(function() {
			$("a.grouped_elements").fancybox({

			});
			
			
		$("a.various3").fancybox({
				'width'				: 780,
				'height'			: 550,
				'padding'			: 10,
				'overlayColor'		: '#000',
				'scrolling'			: 'auto',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
	
		});


		$(document).ready(function() {
			$("a.grouped_elements").fancybox({

			});
		
		
		$("a.various4").fancybox({
				'width'				: 500,
				'height'			: 460,
				'padding'			: 10,
				'overlayColor'		: '#000',
				'scrolling'			: 'auto',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
	
		});
		
		
		$(document).ready(function() {
			$("a.grouped_elements").fancybox({

			});
		
		
		$("a.various5").fancybox({
				'width'				: 500,
				'height'			: 520,
				'padding'			: 10,
				'overlayColor'		: '#000',
				'scrolling'			: 'auto',
				'autoScale'			: false,
				'transitionIn'		: 'none',
				'transitionOut'		: 'none',
				'type'				: 'iframe'
			});
	
		});
		
		
		
		
		jQuery(document).ready(function() {

	$(".video").click(function() {
		$.fancybox({
			'padding'		: 0,
			'autoScale'		: false,
			'transitionIn'	: 'none',
			'transitionOut'	: 'none',
			'title'			: this.title,
			'width'			: 640,
			'height'		: 385,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			'wmode'				: 'transparent',
			'allowfullscreen'	: 'true'
			}
		});

		return false;
	});
});
