function onepage_nav()
{
    if (function_exists('wp_nav_menu')) {
        wp_nav_menu(array('theme_location' => 'custom_menu', 'container_id' => 'menu', 'menu_class' => 'sf-menu', 'fallback_cb' => 'onepage_nav_fallback'));
    } else {
        onepage_nav_fallback();
    }
}
function onepage_subpage_menu_nav()
{
    if (function_exists('wp_nav_menu')) {
        wp_nav_menu(array('theme_location' => 'subpage-menu', 'container_id' => 'menu_sub', 'menu_class' => 'nav navbar-nav navbar-right sf-menu sf-js-enabled sf-shadow', 'fallback_cb' => 'onepage_nav_fallback'));
    } else {
        onepage_nav_fallback();
    }
}