$(function(){	
	// News
    $('#news ul.jcarousel-skin-news').jcarousel({
		scroll: 1,
		auto: 5,
		wrap: 'both',
		vertical: true,
		buttonPrevHTML: '',
		buttonNextHTML: ''
	});
	
	// popupMentions
	$('.popupMentions').click(function(){
		var hauteur = 400;
		var largeur = 500;
		var top = (screen.height-hauteur)/2;
		var left = (screen.width-largeur)/2;
		window.open('mentions-legales.html', '', 'top='+top+',left='+left+',width='+largeur+',height='+hauteur+',menubar=no,scrollbars=no,statusbar=no');
		return false;
	});
});

$(document).ready(function(){
	$('#popup_close').hover(function(){
		$(this).css('cursor', 'pointer');
	});
	$('#tv_video').click(function(){
		$('#popup_video').fadeIn('normal');
		$('#fond_popup').fadeIn('fast');
		return false;
	});
	$('#popup_close').click(function(){
		$('#popup_video').fadeOut('normal');
		$('#fond_popup').fadeOut('normal');
	});
	
});

