function centerMenus() {
    var topMenu = $('#menu');
    topMenu.css('margin-left', ((860 - topMenu.width()) / 2) + 'px');
    
    var footerMenu = $('#footer-menu');
    footerMenu.css('margin-left', ((860 - footerMenu.width()) / 2) + 'px');
}
