First you need to include the file dockbar.js like this:
Then you should probably change some of the constants because most likely the default values wont fit your page. This should be added after the previous script tag.
There is no need to include a CSS file because I've added the style information in the
BODY, #handle, #toolbar, #contentDiv,
so if you want to set the style for them make sure you do it after the script tags.
The next step is to define the necessary HTML. First you need to add
scroll="no" to the body tag.
Then you should set up the toolbar and finally add the contentDiv. It should look something like this:
Next I'll show you how to combine this script with the Cool Buttons script to make a real toolbar