function swap(A_obr, B_obr)
{
document.images[A_obr].src = B_obr;
}

window.onload = function()
{
ma = document.getElementById('menu_animate');
ma.style.left = ma.offsetWidth;

move_left(ma.offsetWidth);
}

function move_left(left)
{
new_left = left - 50;

document.getElementById('menu_animate').style.left = left;

if(left > 0)
{
window.setTimeout("move_left(new_left)", 25);
}
else
{
document.getElementById('menu_animate').style.left = 0;
}
}
