Moving the OS X dock
From http://www.macosxhints.com/book/103scripts.html:
3-6 The Top-Mounted Dock
To put the dock at the top of the screen, open the Terminal and type:
defaults write com.apple.Dock orientation -string top
Also: left, right, and bottom work
3-8 Pinning the Dock to a Corner
To place the dock at the far right (bottom if vertical) of the screen:
defaults write com.apple.Dock pinning end
To place the dock at the far left (top if vertical) of the screen:
defaults write com.apple.Dock pinning start
To place the dock back in the middle of the screen:
defaults write com.apple.Dock pinning middle