I saw recently a new interesting feature in the new gmail and also in the HTML5 bing preview that fixes a navigation bar to the top of the browser window when scrolling. The
If browser supports "position:fixed" next plain javascript example is more fast:
Navigation Bar Content