Very strange. Can you run the code directly inside the documentation pages?
Once I had a curious problem with graphics reverting to pre-version-6 format. It was due to a corruption of some initialization file in $UserBaseDirectory
. If you have not personalized Mathematica yet, you may try trashing that directory and see what happens.