JS: How to get the element clicked on?
===

How would you check to see which item was clicked in the document, given this code?
            if ( document.addEventListener && document.attachEvent && document.fireEvent ) {
              document.attachEvent( "onclick", function() {
               // ...
