jQuery(document).ready(function() {	/*	*   Examples - images	*/						$("a.zoom").fancybox({			'overlayOpacity'	:	0.8,				'overlayColor'		:	'#000'				});	/*-----------------------PORTFOLIO VIDEO CLIPS---------------*/		$("#flashmovie").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 720,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie1").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 720,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie2").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 720,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie3").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 640,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie4").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 800,		'height'		: 600,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie5").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 720,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie6").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 640,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});		$("#flashmovie7").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 640,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf',		'swf'                 : {'allowfullscreen':'true'}		});			return false;		});
        $("#flashmovie8").click(function() {
		$.fancybox({
		'autoScale'		: false,
		'overlayOpacity' : 0.8,
		'overlayColor' : '#000',
		'transitionIn'	: 'none',
		'transitionOut'	: 'none',
		'title'			: this.title,
		'width'		: 640,
		'height'		: 360,
		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
		'type'			: 'swf',
		'swf'                 : {'allowfullscreen':'true'}
		});
			return false;
		});
		/*-----------------------Multimedia Flash CLIPS---------------*/		$("#multimedia").fancybox({			    'padding'           : 0,		        'autoScale'     	: true,		        'transitionIn'		: 'none',				'transitionOut'		: 'none'			});		 $("a.movielink_640_390").fancybox({          'frameWidth' : 800,          'frameHeight' : 800,		  'centerOnScroll': 0,          'overlayOpacity' : 0.7,          'overlayColor' : 'rgb(0, 0, 0)',		  'hideOnContentClick' : false        });		$("a.flash1").fancybox({				'frameWidth' : 300,          'frameHeight' : 740,		  'centerOnScroll': 0,          'overlayOpacity' : 0.8,          'overlayColor' : '#000',		  'hideOnContentClick' : false			});		//-----------From Demo		$("#various6").fancybox({	    'padding'           : 0,        'autoScale'     	: false,        'transitionIn'		: 'none',		'transitionOut'		: 'none'			});		//-----------From Demo		$("#flash1").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 780,		'height'		: 600,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash2").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 300,		'height'		: 740,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash3").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 500,		'height'		: 500,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash4").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 640,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash5").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 900,		'height'		: 670,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash6").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 640,		'height'		: 480,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash7").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'background'     : '#fff',		'title'			: this.title,		'width'		: 900,		'height'		: 225,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash8").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 760,		'height'		: 670,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash9").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 600,		'height'		: 400,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		$("#flash10").click(function() {		$.fancybox({		'autoScale'		: false,		'overlayOpacity' : 0.8,		'overlayColor' : '#000',		'transitionIn'	: 'none',		'transitionOut'	: 'none',		'title'			: this.title,		'width'		: 300,		'height'		: 740,		'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),		'type'			: 'swf'		});			return false;		});		});	
