In your user's Preferences folder (located in your user's library folder) there's a file called, com.apple.dock.plist ...Try moving that to your desktop and logging out and then back in. This will reset your dock to default settings, and hopefully fix the problem.
And finally, if everything's OK, you can trash the file now on your desktop.