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