$(document).ready(function() {
	if(typeof initArticle=='function'){
		var html1=$('.fiches2').html();
		var html2=$('.pointers').html();
	}
	$(".pop").fancybox({transitionIn:'elastic',transitionOut:'elastic',onStart:function(){
		if(typeof initArticle=='function'){
			$('.fiches2').html('');
			$('.pointers').html('');
			clearInterval(jQuery.slideshowtxt.timerval);

		};
	},onComplete:function(){
		if(typeof initArticle=='function'){
			if($('.fiches')[0])$('.fiches').slideshowtxt(5000);
			if($('.fiches2')[0])$('.fiches2').slideshowtxt(5000);
		};
	},
	onClosed:function(){
		if(typeof initArticle=='function'){
			clearInterval(jQuery.slideshowtxt.timerval);
			$('.fiches2').html(html1);
			$('.pointers').html(html2);
			if($('.fiches')[0])$('.fiches').slideshowtxt(5000);
			if($('.fiches2')[0])$('.fiches2').slideshowtxt(5000);
		}
	}
	});
});
