Switching Of The Magnetic Poles