http://phrogz.net/JS/AttachEvent_js.txt

I am using this AttachEvent function like so:

AttachEvent(myElement, 'mouseover', doHover1, false);

function doHover1 { alert(this.innerHTML); }

This works in FF, but not IE. Am I missing something obvious?