		$(document).ready(function() {
			/*
			*   Examples - images
			*/

			$("a#example1").fancybox({
				'titleShow'		: false
			});

			$(".photo").fancybox({
				'titlePosition'	: 'over',
				'titleShow'		: true,
				'cyclic'		: true,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'fade',
				'overlayColor'	: '#000',
				'onComplete'		:	function() {
					$("#fancybox-wrap").hover(function() {
						$("#fancybox-title").show();
					}, function() {
						$("#fancybox-title").hide();
					});
				},
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

			$("a#example3").fancybox({
				'titleShow'		: false,
				'transitionIn'	: 'none',
				'transitionOut'	: 'none'
			});

			$("a#example4").fancybox();

			$("a#example5").fancybox({
				'titlePosition'	: 'inside'
			});

			$("a#example6").fancybox({
				'titlePosition'	: 'over',
				'onComplete'	:	function() {
					$("#fancybox-wrap").hover(function() {
						$("#fancybox-title").show();
					}, function() {
						$("#fancybox-title").hide();
					});
				}
			});

			$("a[rel=example_group]").fancybox({
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'speedIn'			: 600,
				'speedOut'			: 600,
				'titlePosition' 	: 'over',
				'onComplete'		:	function() {
					$("#fancybox-wrap").hover(function() {
						$("#fancybox-title").show();
					}, function() {
						$("#fancybox-title").hide();
					});
				},
				'titleFormat'		: function(title, currentArray, currentIndex, currentOpts) {
					return '<span id="fancybox-title-over">Image ' + (currentIndex + 1) + ' / ' + currentArray.length + (title.length ? ' &nbsp; ' + title : '') + '</span>';
				}
			});

			/*
			*   Examples - various
			*/

			$("#various1").fancybox({
				'titlePosition'		: 'inside',
				'transitionIn'		: 'none',
				'transitionOut'		: 'none'
			});

			$(".scheduleDetail").fancybox({
				'width'			 	: 900,
				'height'			: '100%',
				'overlayOpacity'	: .75,
				'overlayColor'		: '#000',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'allowfullscreen'	: 'true',
				'type'				: 'iframe'
			});

			$(".eventDetail").fancybox({
				'width'			 	: 600,
				'height'			: '100%',
				'overlayOpacity'	: .33,
				'overlayColor'		: '#000',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'allowfullscreen'	: 'true',
				'type'				: 'iframe'
			});

			$(".googleMap").fancybox({
				'width'			 	: 600,
				'height'			: 605,
				'overlayColor'		: '#000',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'fade',
				'allowfullscreen'	: 'true',
				'titlePosition' 	: 'inside',
				'scrolling'			: 'no',
				'type'				: 'iframe'
			});

			$(".video456X260").fancybox({
				'width'				: 456,
				'height'			: 265,
				'overlayOpacity'	: .33,
				'overlayColor'		: '#000',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe',
				'titlePosition'		: 'inside',
				'titleShow'			: 'true'
			});

			$(".videos2").fancybox({
				'padding'			: 0,
				'autoScale'			: true,
				'overlayColor'		: '#000',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe',
				'wmode'				: 'transparent',
				'titleShow'			: 'true'
			});

			$(".flickr").fancybox({
				'width'				: 600,
				'height'			: 450,
				'scrolling'			: 'no',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});

			$("#various3").fancybox({
				'width'				: '75%',
				'height'			: '100%',
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe'
			});

			$("#various4").fancybox({
				'padding'			: 0,
				'autoScale'			: false,
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic'
			});

			$("#podcast").fancybox({
				'titlePosition'		: 'inside',
				'titleShow'			: 'true',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic'
			});

$("#youtube").click(function() {
	$.fancybox({
			'padding'		: 0,
			'autoScale'		: false,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'speedIn'		: 600,
			'speedOut'		: 600,
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			'wmode'			: 'transparent',
			'allowfullscreen'	: 'true'
			}
		});

	return false;
});
			
$(".videos").click(function() {
	$.fancybox({
			'padding'		: 0,
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			'wmode'			: 'transparent',
			'allowfullscreen'	: 'true'
			}
		});

	return false;
});
			
$(".swfvideo").click(function() {
	$.fancybox({
			'padding'		: 0,
			'autoScale'		: true,
			'width'			: 480,
			'height'		: 360,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			'wmode'			: 'transparent',
			'allowfullscreen'	: 'true'
			}
		});

	return false;
});
			
			$(".wmplayer").fancybox({
				'padding'			: 0,
				'autoScale'			: true,
				'width'				: 480,
				'height'			: 360,
				'overlayColor'		: '#000',
				'transitionIn'		: 'elastic',
				'transitionOut'		: 'elastic',
				'type'				: 'iframe',
				'wmode'				: 'transparent',
				'titleShow'			: 'true'
			});

$(".newschannel10").click(function() {
	$.fancybox({
			'width'			: 429,
			'height'		: 295,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".wprichannel12").click(function() {
	$.fancybox({
			'width'			: 320,
			'height'		: 280,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".cbsnews").click(function() {
	$.fancybox({
			'width'			: 425,
			'height'		: 324,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".abcnews").click(function() {
	$.fancybox({
			'width'			: 320,
			'height'		: 264,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".msnbcnews").click(function() {
	$.fancybox({
			'width'			: 420,
			'height'		: 245,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".msnbc").click(function() {
	$.fancybox({
			'width'			: 425,
			'height'		: 339,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".hulu").click(function() {
	$.fancybox({
			'width'			: 512,
			'height'		: 296,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".necn").click(function() {
	$.fancybox({
			'width'			: 640,
			'height'		: 360,
			'scrolling'		: 'no',
			'autoScale'		: true,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'iframe'
		});

	return false;
});

$(".jobingvideo").click(function() {
	$.fancybox({
			'padding'		: 0,
			'autoScale'		: false,
			'width'			: 440,
			'height'		: 400,
			'overlayColor'	: '#000',
			'transitionIn'	: 'elastic',
			'transitionOut'	: 'elastic',
			'title'			: this.title,
			'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
			'type'			: 'swf',
			'swf'			: {
			'wmode'			: 'transparent',
			'allowfullscreen'	: 'true'
			}
		});

	return false;
});
			
			$(".googlevideo").fancybox({
				'titleShow'		: true,
				'transitionIn'	: 'elastic',
				'transitionOut'	: 'elastic',
				'overlayColor'	: '#000'
			});

			
			});

