// JavaScript Document

var positions_fleches=new Array("225","325","425","530","632","735","835","935");
var page_hover=0;

$(document).ready(function() {
	
	var paddingD = positions_fleches[page_en_cours]+"px";
	document.getElementById('fleche').style.paddingLeft=paddingD;
	
	$(".lienmenu").hover(function() {
		//alert($(this).attr("id"));
		page_hover = $(this).attr("id").substr(5,1);
		var paddingA = positions_fleches[page_hover]+"px";
		$('#fleche').stop(true, false).animate({paddingLeft: paddingA},200);
	},function() {
		$('#fleche').stop(true, false).animate({paddingLeft: paddingD},200);
	});
	
});
