User blog comment:Rupert Giles/Global Navigation Update/@comment-4738639-20141205202625/@comment-3271569-20141206012246

Was lazy but this script could help:

Note that this is just a lazy version and this script doesn't include the sub navigation bars.