// JavaScript Document
function init(){
changefoot();
}

changefoot= function(){ 
$("#textfoot").mousewheel(function(objEvent, intDelta){
			    if (intDelta > 0 && $("span").eq(intOverallDelta+1).html()!='fin'){
			       intOverallDelta++;
				var htmfoot=$("span").eq(intOverallDelta).html();
				   $("#textfoot").html(htmfoot);
				}
			    else if (intDelta < 0 && intOverallDelta>1){
					intOverallDelta--;
					
					var htmfoot=$("span").eq(intOverallDelta).html();
			       $("#textfoot").html(htmfoot);
				}
			});
}

lien=function(a){
window.location.href=a;
}
mouvover=function(a){
a.style.paddingLeft='20px';
}
mouvout=function(a){
a.style.paddingLeft='0px';
}

function lanceanim(){
	b=Math.random();
	c=Math.random();
	d=Math.random();
a=Math.floor(8.5*Math.random());
allume(a);
}
