sys prefs> dock
check automatically hide and show the dock. that's what i use. then the dock doesn't show at all unless you nit the bottom of the screen with the cursor.
doesn't take up real estate unless you need it -- then it's always available.
i know it doesn't answer your question exactly, but it works beautifully.