$(document).ready(function(){
 
    
    
//	$("a.single_image").fancybox();
	
	/* Using custom settings */
	
	$("a.inline").fancybox({
		'hideOnContentClick': true
	});

	/* Apply fancybox to multiple items */
	
	$("a.group").fancybox({
		'padding'           : 0,
		'overlayColor' : '#000',
		'transitionIn'	:	'fade',
		'transitionOut'	:	'fade',
        'autoDimensions'	: true,
		'speedIn'		:	400, 
		'speedOut'		:	200, 
        'autoScale'     	: true,
		'cyclic'		:	false,
		'overlayShow'	:	true,
		'overlayOpacity'  :	0.7,
		'titleShow'  	: true,
		'titlePosition' 		: 'outside',
		'titleFormat'	:  	null,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: true

	});
	$("a.media").fancybox({
		'padding'           : 0,
		'overlayColor' : '#000',
		'transitionIn'	:	'fade',
		'transitionOut'	:	'fade',
        'autoDimensions'	: false,
		'speedIn'		:	400, 
		'speedOut'		:	200, 
        'autoScale'     	: false,
		'cyclic'		:	false,
		'overlayShow'	:	true,
		'overlayOpacity'  :	0.7,
		'titleShow'  	: true,
		'titlePosition' 		: 'outside',
		'titleFormat'	:  	null,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: true

	});
	

        $("a.fancy_swf").fancybox({
	    'padding'           : 10,
		'overlayColor' : '#000',
		'overlayOpacity'  :	0.7,
		'width'	: 1000,
		'height'	: 500,
        'autoScale'     	: true,
'autoDimensions'	: true,
        'transitionIn'		: 'none',
		'cyclic'		:	true,
		'transitionOut'		: 'none',
		'swf'			: {
			   	 'wmode'		: 'opaque'
			},
		'titleShow'  	: true,
		'titlePosition' 		: 'outside',
		'titleFormat'	:  	null,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: false
	
	});
 $("a.iframe").fancybox({
 	'width'		: '80%',
		'overlayColor' : '#000',
		'overlayOpacity'  :	0.7,
		'height'		: '80%',
		'margin' : 0,
		'padding'  :  5,
		'hideOnOverlayClick' : true,
		'hideOnContentClick'	: false,
		'cyclic'		:	true
		
		
	
 });
});

