PHP Code:
<?php
define('THIS_SCRIPT', 'external_articles');
define('NO_REGISTER_GLOBALS', 1);
$specialtemplates = array();
$globaltemplates = array();
$actiontemplates = array();
$phrasegroups = array();
chdir('/path/to/forum');
require_once('./global.php');
$navbits = array();
$navbits = construct_navbits($array);
eval('print_output("' . fetch_template('navbar') . '");');
?>
... if this is what you want.
But keep in mind that navbar is not a complete HTML Document.