Might be worth looking at this tutorial if you haven't already:
http://www.talkfreelance.com/registe...901&i=26921490
It does include the code to add previous/next links.
(it's worth noting the javascript on that site is a direct adaptation of the code from the panic.com website and is therefore property of Panic Software.)
Let me know if you have any problems!
Fred.