Problems importing armature from fbx file.

I exported a fbx file from 3ds max, and imported it into Blender. The mesh imports correctly, but the armature is completely messed up.


Any idea what might be going on here?