
x=0

function droite()
{
x=x+7

if(document.all)
        {
        document.all("couloir").style.left= x
        }
else if (document.layers)
        {
        document.layers("couloir").left= x
        }
else if(document.getElementById)
        {
        document.getElementById("couloir").style.left = x
        }

d=setTimeout('droite()',25)
}

function stopD()
{
clearTimeout(d)
}

function gauche()
{
x=x-7

if(document.all)
        {
        document.all("couloir").style.left= x
        }
else if (document.layers)
        {
        document.layers("couloir").left= x
        }
else if(document.getElementById)
        {
        document.getElementById("couloir").style.left = x
        }

g=setTimeout('gauche()',25)

}
function stopG()
{
clearTimeout(g)
}