var Timer=null;
var Pas = 6;
function moveLayer(Sens) {
    var Objet=document.getElementById("contour");
    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);
}