// Update the flash URl Paths for the videos Thumb and Source below:
/*
var videos = {
	video_1: {
		thumb: 'http://dev.fastspot.com/clients/cartondonofrio/images/movie_still_center-for-financial-policy-introduction.jpg',
		source: 'http://dev.fastspot.com/clients/cartondonofrio/videos/small_center-for-financial-policy-introduction_2.f4v',
		height: 162,
		width: 290
	},
	video_2: {
		thumb: 'http://dev.fastspot.com/clients/cartondonofrio/images/movie_still_SBCU_Goldfarb2.jpg',
		source: 'http://dev.fastspot.com/clients/cartondonofrio/videos/small_SBCU_Goldfarb2_2_1.f4v',
		height: 162,
		width: 290
	},
	video_3: {
		thumb: 'http://dev.fastspot.com/clients/cartondonofrio/images/movie_still_svc-conference-09-review.jpg',
		source: 'http://dev.fastspot.com/clients/cartondonofrio/videos/small_svc-conference-09-review_2.f4v',
		height: 162,
		width: 292
	},
	video_4: {
		thumb: 'http://dev.fastspot.com/clients/cartondonofrio/images/movie_still_SBCU_Lee.jpg',
		source: 'http://dev.fastspot.com/clients/cartondonofrio/videos/small_SBCU_Lee_2.f4v',
		height: 222,
		width: 290
	}
};
*/
var currentVideo = null;

if (window.console === undefined)
{
	window.console = {log: function(){}};
}

$(document).ready(function() {

	$(".news_tabs_content").hide();
	$("ul.news_tabs li a:first").addClass("selected").show();
	$(".news_tabs_content:first").show();

	$("ul.news_tabs li a").click(function() {
	
		$("ul.news_tabs li a").removeClass("selected");
		$(this).addClass("selected"); 
		$(".news_tabs_content").hide(); 

		var selectedTab = $(this).attr("href"); 
		$(selectedTab).fadeIn(); //Fade in the active ID content
		return false;
	});
	
/*	$(document).bind('lightboxload', lightboxLoaded);
 
	$('.lightbox').click(lightboxClick).lightbox();	*/
});

/*
function lightboxClick()
{
	currentVideo = $(this).attr('href').replace('#', '');
}


function lightboxLoaded()
{
	var videoPlayer = currentVideo + '_player';
	
	$('#lightbox_content .video_container').append('<div id="' + videoPlayer + '"></div>');
	
	$('#' + videoPlayer).fsPlayer({
		autoPlay: false,
		autoLoad: false,
		sourceFile: videos[currentVideo].source,
		thumbnailFile: videos[currentVideo].thumb,
		controls: 'full', //full, min, none
		fullscreen: true,
		width: videos[currentVideo].width, //290
		height: videos[currentVideo].height, //160
		loop: false,
		fitting: 'stretch', //fit, fill, stretch
		videoBackgroundColor: '000000',
		uiBackgroundColor: '322E2D',
		buttonColor: '999999',
		highlightColor: 'FFFFFF',
		trackBackgroundColor: '666666',
		trackColor: '999999',
		accentColor: 'FDD706'
	});
}
*/
