No miré todo, pero pixelTop y pixelLeft no son propiedades estandar (creo que no se usan desde Explorer 4 o algo así). deberías usar algo como:
Código PHP:
var t=parseInt($(id).style.top);
var l=parseInt($(id).style.left);
Si es que tienen definido un top y un left con el atributo style, si no, tendrías que usar algo como esto:
Código PHP:
var l;
if( window.getComputedStyle ) {
l = window.getComputedStyle($(id),null).left;
} else if( $(id).currentStyle ) {
l = $(id).currentStyle.left;
}