This example demonstrates how to use Dom.getXY to get an elements position.
Click anywhere and the grey element will move to the red element.