Wire.endTransmission-probl when talking to HMC6352

the code that I´m using is:

http://www.arduino.cc/playground/Learning/Hmc6352

Thanks!