function initBottom(){
    var menu=document.getElementById("menuBottom");
    var bottom=document.getElementById("bottom");

    menu.style.left=(menu.parentNode.clientWidth-menu.clientWidth)/2+"px";
    bottom.style.width=menu.clientWidth+"px";
    bottom.style.left=menu.style.left;

    document.getElementById("footer").style.visibility="visible";
}

function adjustContent(){
    var left=document.getElementById("contentLeft");
    var right=document.getElementById("contentRight");

    if(left.clientHeight<right.clientHeight)  left.style.height=right.clientHeight+"px";
}