The video below shows how to correctly switch the axis orientation according to the needs of your shot. It's also a great explanation of the importance of it, which most of the times goes unnoticed.
Rotation Orders for Animators from Brian Horgan on Vimeo.
Here's the link for the script in Creative Crash: zooChangeRoo
Also, check Brian's website. Full of useful tools and video tutorials.