$(function() {
	$('.no-js').removeClass('no-js');

/* Video popup */
	$('.video a').fancybox({titleShow:false});
	
	/* This is all now obsolete. Thanks IE6.
	var videoCount = 0;
	$('.video').each(function() {
		var a = $(this).find('a');
		var embed = $(this).find('.embed');
		
		var id = 'video-' + ++videoCount;
		$(a).attr('href', '#' + id);
		$(embed).attr('id', id);
		
		$(a).fancybox({titleShow:false});
	});
	*/
	
	/*Video Banner Popup*/
	$('.video-banner a').fancybox({titleShow:false});
	
});
