function scrollGauche_journee() {	posJR = 17;	posJ= $('div.journee_en_image div.diap_journee_en_image').css("left").split("px");	var posJRight = new Number(posJ[0]);	if(posJRight < posJR) {		posJRight = posJRight+(vitesse*2);		if (posJRight > posJR) posJRight = posJR;		var test = posJRight+"px";		$('div.journee_en_image div.diap_journee_en_image').css("left",test);	}}function scrollDroite_journee() {	posJL = (310-journeesW)-20;	posJ= $('div.journee_en_image div.diap_journee_en_image').css("left").split("px");	var posJLeftJ = Number(posJ[0]);	if(posJLeftJ > posJL) {		posJLeftJ = posJLeftJ-(vitesse*2);		if(posJLeftJ < posJL) posJLeftJ = posJL;		var test = posJLeftJ+"px";		$('div.journee_en_image div.diap_journee_en_image').css({left: test});	}}
function scrollGauche() {	posJR = -1;	posJ= $('div.listejournee_evenement div.journees_evenement').css("left").split("px");	var posJRight = new Number(posJ[0]);	if(posJRight < 18) {		posJRight = posJRight+(vitesse*2);		if (posJRight > 18) posJRight = 18;		var test = posJRight+"px";		$('div.listejournee_evenement div.journees_evenement').css("left",test);	}}function scrollDroite() {	posJL = (594-jourTab)+18;	posJ= $('div.listejournee_evenement div.journees_evenement').css("left").split("px");	var posJLeft = Number(posJ[0]);	if(posJLeft >= posJL) {		posJLeft = posJLeft-(vitesse*2);		if(posJLeft < posJL) posJLeft = posJL;		var test = posJLeft+"px";		$('div.listejournee_evenement div.journees_evenement').css({left: test});	}}$(document).ready(function(){	vitesse = 2;	jourTab = $('div.listejournee_evenement div.journees_evenement td').length*118;	clubTab = $('#navresult .diapoclub td').width();		journeesW = $('div.journee_en_image div.diap_journee_en_image td').length*85;			$('div.listejournee_evenement div.btgauche').hover(		function() {			scrollGauche();			intGauche = setInterval(scrollGauche,1);		},		function() { clearInterval(intGauche); }	);	$('div.listejournee_evenement div.btdroite').hover(		function() {			scrollDroite();			intDroite = setInterval(scrollDroite,1);		},		function() { clearInterval(intDroite); }	);	$('div.journee_en_image div.btgauche').hover(		function() {			scrollGauche_journee();			intGauche = setInterval(scrollGauche_journee,1);		},		function() { clearInterval(intGauche); }	);	$('div.journee_en_image div.btdroite').hover(		function() {			scrollDroite_journee();			intDroite = setInterval(scrollDroite_journee,1);		},		function() { clearInterval(intDroite); }	);});