If you must assign your event handler that way (that is, the "DOM 0" way, instead of with jQuery), you can do this:
...
Or, I suppose (given that you want to pass a parameter):
...
That way, "this" inside the function will be the element, which seems closer to what you want.