You don't have a long enough transit to leave the airport terminal.
I have never managed to find an observation deck, but then again I normally just fly in and out, rather than transit. I suggest you start with this
http://www.dubaiairport.com/DIA/Engl...Guide/Transit/
...and wait for other posters to fill in the gaps.