Event.observe(window, 'load', function() {
  	Event.observe('onglet1', 'click',function() {
		document.getElementById('onglet1').style.backgroundPosition = "0 0";
		Effect.BlindDown('par1');
		Effect.Appear('img_onglet0');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par6');
		document.getElementById('onglet7').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par7');
	}, false);
	Event.observe('onglet2', 'click',function() {
		document.getElementById('onglet2').style.backgroundPosition = "0 0";
		Effect.BlindDown('par2');
		Effect.Appear('img_onglet0');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
	}, false);
	Event.observe('onglet3', 'click',function() {
		document.getElementById('onglet3').style.backgroundPosition = "0 0";
		Effect.BlindDown('par3');
		Effect.Appear('img_onglet0');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
	}, false);
	Event.observe('onglet4', 'click',function() {
		document.getElementById('onglet4').style.backgroundPosition = "0 0";
		Effect.BlindDown('par4');
		Effect.Appear('img_onglet0');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
	}, false);
	Event.observe('onglet5', 'click',function() {
		document.getElementById('onglet5').style.backgroundPosition = "0 0";
		Effect.BlindDown('par5');
		Effect.Appear('img_onglet0');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
	}, false);
	Event.observe('onglet6', 'click',function() {
		document.getElementById('onglet0').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par0');
		document.getElementById('img_onglet0').style.display = "none";
		document.getElementById('onglet6').style.backgroundPosition = "0 0";
		Effect.BlindDown('par6');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet7').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par7');
		document.getElementById('onglet8').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par8');
		Effect.BlindUp('formulaire');
	}, false);
	Event.observe('onglet7', 'click',function() {
		document.getElementById('onglet0').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par0');
		document.getElementById('img_onglet0').style.display = "none";
		document.getElementById('onglet7').style.backgroundPosition = "0 0";
		Effect.BlindDown('par7');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par6');
		document.getElementById('onglet8').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par8');
		Effect.BlindUp('formulaire');
	}, false);
	Event.observe('onglet8', 'click',function() {
		document.getElementById('onglet0').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par0');
		document.getElementById('img_onglet0').style.display = "none";
		document.getElementById('onglet8').style.backgroundPosition = "0 0";
		Effect.BlindDown('par8');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet7').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par7');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par6');
		Effect.BlindUp('formulaire');
	}, false);
	Event.observe('onglet0', 'click',function() {
		document.getElementById('onglet0').style.backgroundPosition = "0 -0";
		Effect.BlindDown('par0');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par6');
		document.getElementById('onglet7').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par7');
		document.getElementById('onglet8').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par8');
		Effect.BlindUp('formulaire');
	}, false);
	Event.observe('onglet100', 'click',function() {
		Effect.BlindDown('formulaire');
		document.getElementById('img_onglet0').style.display = "none";
		document.getElementById('onglet0').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par0');
		document.getElementById('onglet6').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par6');
		document.getElementById('onglet1').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par1');
		document.getElementById('onglet2').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par2');
		document.getElementById('onglet3').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par3');
		document.getElementById('onglet4').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par4');
		document.getElementById('onglet5').style.backgroundPosition = "0 -28px";
		Effect.BlindUp('par5');
		document.getElementById('onglet7').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par7');
		document.getElementById('onglet8').style.backgroundPosition = "0 -22px";
		Effect.BlindUp('par8');
	}, false);
});