/** 
* @projectDescription France 2 & France 3, versions 2.0
*
* @author	Mururoa Project Team
* @version	0.1 
*/

// ---------------------------------------------------------------------------------------------- \\
// Jquery init event
// ---------------------------------------------------------------------------------------------- \\
$(document).ready(function()
{
	handleComments("#articleBlk01");
	if($("#articleBlk01 .newsLkIt.mainNews", ".commentsNewsBlk").length>0){
		handleLatestComments("#articleBlk01 .newsLkIt.mainNews", ".commentsNewsBlk");
	}
	handlePrintLinks("#articleBlk01");
	handleFontResizR("#articleBlk01");
	handleDiaporamas();
	cleanArticle();
	
	$('.filInfoScroll')
		.FilInfoPopin();
});

$(window).load(function()
{	
	handlePixLegendDimensions("#articleBlk01 .ctntBlk .newsLkIt");
	handlePixLegendDimensions("#articleBlk01 .dataBlk .articleBody .articleCtnt");
	kill("#noscriptsIframeComments");
	if($.browser.msie==true&&$.browser.version==7){
		finishDesignIE7();
	}
});

$(window).load(function()
{
	setInterval(function(){handleFlashNewsScroller("#flashNewsBlk .newsScrollerCtnr .newsScrollerCtnt");}, 12000);
});

function finishDesignIE7(){
	$('.eSiteContainer #eSiteContent.article.artActu .cmnBlk.articleBlk .indexBlk').css({zoom:1});
	return true;
}

