Melexis SMBus IR Thermometer - NFI

Ahh, this is frustrating. I've searched all over the net for information to help me out. So far everything I've tried has failed. What am I doing wrong?

Shouldn't this code work too?

#include <Wire.h>
void setup()
{
Wire.begin();
Serial.begin(9600);
Serial.println("Hello!");
PORTC = (1 << PORTC4) | (1 << PORTC5);//enable pullups
}
void i2c_eeprom_write_byte( int deviceaddress, unsigned int eeaddress, byte data )
{

  • int rdata = data;*
  • Wire.beginTransmission(deviceaddress);*
  • Wire.send((int)(eeaddress >> 8)); // MSB*
  • Wire.send((int)(eeaddress & 0xFF)); // LSB*
  • Wire.send(rdata);*
  • Wire.endTransmission();*
  • delay(5);*
    }
    void loop()
    {
  • i2c_eeprom_write_byte(0x5A, 0x24, 0x0000); //Erase (write 0)*
  • Serial.println("Write Done");*
  • delay(5000);*
    }

I think my problem is not properly writing to the MSB and LSB. Any feedback at all would be much appreciated. I'm just spinning my wheels right now. This shouldn't be that hard! >:(