$(document).ready(function()
{
	$(".slideshow a").fancybox(
	{
		'autoScale': true,
		'overlayOpacity': 0.7,
		'overlayColor': "#000",
		'titlePosition': "inside"
	});
	

	if($('.video_container').length)
	{
		new VideoPlayer(
			$('.video_container').attr('id'), 
			'start', 
			{
				basePath: base_path,
				debug: false,
				googleAnalytics: false,
				hideScrubberWhilePlaying: true
				
			}
		);
	}
	
	$('.social a').click(function()
	{
		var share_window = window.open(this.href, "social", "width=586,height=270");
		share_window.focus();
		
		return false;
	});
});
