Fixed pointer positions and added missing var declarations.
- fixed inconsistent pointer position - touch and mouse now uses position relative to document origin (pageX/Y)
- added new helper method ngc_elementFromPoint() which solves cross-browser issues (Safari 4 and Opera 10.10)
- added missing var declaration in function nga_DoResizeElement()