I2C EEPROM not working

Oops, musta missed that one. Now it appears to work alright, however I'm having some trouble with:

void i2c_eeprom_write_page( int deviceaddress, unsigned int eeaddresspage, byte* data, byte length ) {
 Wire.beginTransmission(deviceaddress);
 Wire.send((int)(eeaddresspage >> 8)); // Address High Byte
 Wire.send((int)(eeaddresspage & 0xFF)); // Address Low Byte
 byte c;
 for ( c = 0; c < length; c++)
   Wire.send(data[c]);
 Wire.endTransmission();
 delay(10);                           // need some delay
}

Doesn't seem to matter what number I put for the page address, it doesn't seem to be writing anything. I thought it might be a problem with the page address, but now it looks like this function isn't writing anything at all, and the data I'm getting from the dump is left over from the last example I had working. Any thoughts?