function moveTo(obj, x, y) {
        if (document.getElementById) {
        document.getElementById('menuDiv').style.right = x;
        document.getElementById('menuDiv').style.bottom = y;
        }
}

function init(){
        if(document.getElementById){
        obj = document.getElementById("menuDiv");
        obj.style.right = "-130px";
        }
}

function slideLeft(){
        if(document.getElementById){
                if(parseInt(obj.style.right) < 10){
                        obj.style.right = parseInt(obj.style.right) + 10 + "px";
                        setTimeout("slideLeft()",50);
                }
        }
}

function slideRight(){
        if(document.getElementById){
                if(parseInt(obj.style.right) > -120){
                        obj.style.right = parseInt(obj.style.right) - 10 + "px";
                        setTimeout("slideRight()",50);
                }
        }
}

