var Timer;
var Pas = 3;

function moveLayer(Sens)
{
	                  Objet=document.getElementById("conteneur");
                          if(parseInt(Objet.style.top) + (Pas*Sens)>0)
                          {
		              clearTimeout(Timer);
	                  }
	                  else if(parseInt(Objet.style.top) + (Pas*Sens)<-(Objet.offsetHeight-document.getElementById("support").offsetHeight))
                          {
		              clearTimeout(Timer);
	                  }
                          else
                          {
                               Objet.style.top = (parseInt(Objet.style.top) + (Pas*Sens)) + "px";
                          }
	                  Timer = setTimeout("moveLayer(" + Sens + ");", 30);
}

function sortir (doc)
               {
                top.location.href=doc;
                }
