Fixed function ng_ParentPosition - position was miscalculated in some situations.
Removed faulty/unused function ng_findPosX/Y and ng_findMousePosX/Y.
Mirror optimizations - added === to ng_DocumentScrollX/Y; try to calculate ng_ClientWidth/Height from style only if style width/height is defined.