nl_tokens: cross - browser utility functions
pl_tokens: function $getMouseOffset ( <mask> , ev ) { ev = ev || _window . event ; var docPos = $getPosition ( target ) ; var mousePos = $mouseCoords ( ev ) ; return { x : mousePos . x - docPos . x , y : mousePos . y - docPos . y } ; }