A consistent cross-browser document.elementFromPoint function. Works around idiosyncracies of old WebKits et al.