
function hide(){
	document.getElementById('box1').style.display = 'none';
	document.getElementById('box2').style.display = 'none';
	document.getElementById('box3').style.display = 'none';
	document.getElementById('box4').style.display = 'none';
	
	document.getElementById('lien1').className = 'lien_normal';
	document.getElementById('lien2').className = 'lien_normal';
	document.getElementById('lien3').className = 'lien_normal';
	document.getElementById('lien4').className = 'lien_normal';
}


function stopDefilement(){
	clearTimeout(timer2);
	clearTimeout(timer3);
	clearTimeout(timer4);
	clearTimeout(timer5);
	clearInterval(timer);
}

function Defilement(){
	
	timer = window.setInterval(function(){}, 1);	
	timer2 = window.setTimeout(function(){}, 1);
	timer3 = window.setTimeout(function(){}, 1);
	timer4 = window.setTimeout(function(){}, 1);
	timer5 = window.setTimeout(function(){}, 1);
	
	timer2 = window.setTimeout(function(){   																																
			document.getElementById('box1').style.display='block';document.getElementById('lien1').className='lien_type1';
			document.getElementById('box2').style.display='none';document.getElementById('lien2').className='lien_normal';
			document.getElementById('box3').style.display='none';document.getElementById('lien3').className='lien_normal';
			document.getElementById('box4').style.display='none';document.getElementById('lien4').className='lien_normal';
				timer3 = window.setTimeout(function(){   
					document.getElementById('box1').style.display='none';document.getElementById('lien1').className='lien_normal';
					document.getElementById('box2').style.display='block';document.getElementById('lien2').className='lien_type1';
					document.getElementById('box3').style.display='none';document.getElementById('lien3').className='lien_normal';	
					document.getElementById('box4').style.display='none';document.getElementById('lien4').className='lien_normal';
						timer4 = window.setTimeout(function(){   
							document.getElementById('box1').style.display='none';document.getElementById('lien1').className='lien_normal';
							document.getElementById('box2').style.display='none';document.getElementById('lien2').className='lien_normal';
							document.getElementById('box3').style.display='block';document.getElementById('lien3').className='lien_type1';
							document.getElementById('box4').style.display='none';document.getElementById('lien4').className='lien_normal';
								timer5 = window.setTimeout(function(){   
									document.getElementById('box1').style.display='none';document.getElementById('lien1').className='lien_normal';
									document.getElementById('box2').style.display='none';document.getElementById('lien2').className='lien_normal';
									document.getElementById('box3').style.display='none';document.getElementById('lien3').className='lien_normal';
									document.getElementById('box4').style.display='block';document.getElementById('lien4').className='lien_type1';
								}, 4000);
							
						}, 4000);	
				}, 4000);
		}, 4000);
	
	
	timer = window.setInterval(function(){  
																			
		timer2 = window.setTimeout(function(){   																																
			document.getElementById('box1').style.display='block';document.getElementById('lien1').className='lien_type1';
			document.getElementById('box2').style.display='none';document.getElementById('lien2').className='lien_normal';
			document.getElementById('box3').style.display='none';document.getElementById('lien3').className='lien_normal';
			document.getElementById('box4').style.display='none';document.getElementById('lien4').className='lien_normal';
				timer3 = window.setTimeout(function(){   
					document.getElementById('box1').style.display='none';document.getElementById('lien1').className='lien_normal';
					document.getElementById('box2').style.display='block';document.getElementById('lien2').className='lien_type1';
					document.getElementById('box3').style.display='none';document.getElementById('lien3').className='lien_normal';
					document.getElementById('box4').style.display='none';document.getElementById('lien4').className='lien_normal';
						timer4 = window.setTimeout(function(){   
							document.getElementById('box1').style.display='none';document.getElementById('lien1').className='lien_normal';
							document.getElementById('box2').style.display='none';document.getElementById('lien2').className='lien_normal';
							document.getElementById('box3').style.display='block';document.getElementById('lien3').className='lien_type1';
							document.getElementById('box4').style.display='none';document.getElementById('lien4').className='lien_normal';
								timer5 = window.setTimeout(function(){   
										document.getElementById('box1').style.display='none';document.getElementById('lien1').className='lien_normal';
										document.getElementById('box2').style.display='none';document.getElementById('lien2').className='lien_normal';
										document.getElementById('box3').style.display='none';document.getElementById('lien3').className='lien_normal';
										document.getElementById('box4').style.display='block';document.getElementById('lien4').className='lien_type1';
									}, 4000);
							
						}, 4000);	
				}, 4000);
		}, 4000);
		
		
	}, 16000);	
	
	
}

Defilement();
Defilement();
