// fonctions

uncOL = new Array(); 
function StkFunc(Obj) { 
    FuncOL[FuncOL.length] = Obj; 
} 
     
// Execution des scripts au chargement de la page 
window.onload = function() { 
    for(i=0; i<FuncOL.length; i++) 
        {FuncOL[i]();} 
}

if (document.images) 
	{ 
	image1 = new Image; 
	image2 = new Image;
	image1.src = '/images/asinerie-bleu.jpg'; 
	image2.src = '/images/asinerie-couleur.jpg' 
	}

function ph_aff(ph,id) 
	{
	document.getElementById(id).src=ph;
	}
	
	
var currentScroller;

function myScroll(elem, value) {
	var content = $C("content", elem.parentNode)[0];
	content.scrollLeft += value;
}

function myScroll2(content, value) {
	document.getElementById(content).scrollLeft += value;
}

	
var Timer;
var Pas = 3; // vitesse défilement texte

function moveLayer(Sens) {
   if(document.getElementById)
       Objet = document.getElementById("Contenu");
   else
      Objet = document.all["Contenu"];
   if(parseInt(Objet.style.top) + (Pas*Sens) > 0)
      Objet.style.top = "0px";
   else
      Objet.style.top = (parseInt(Objet.style.top) + (Pas*Sens)) + "px";
   Timer = setTimeout("moveLayer(" + Sens + ");", 50);
}
	
