var x = e.layerX;
if(dojo.isMoz){var n = dojox.grid.ascendDom(e.target, dojox.grid.makeNotTagName("th"));
x -= (n && n.offsetLeft)||0;
var t = e.sourceView.getScrollbarWidth();
if(!dojo._isBodyLtr()&& e.sourceView.headerNode.scrollLeft< t)
x -= t;
//x -= getProp(ascendDom(e.target, mkNotTagName("td")), "offsetLeft") || 0;}var n = dojox.grid.ascendDom(e.target, function(){if(!n || n == e.cellNode){returnfalse;
}// Mozilla 1.8 (FF 1.5) has a bug that makes offsetLeft = -parent border width// when parent has border, overflow: hidden, and is positioned// handle this problem here ... not a general solution!
x += (n.offsetLeft<0 ? 0 : n.offsetLeft);
returntrue;
});
return x;