Use "traditional" model of registering onclick (name taken from http://www.quirksmode.org/js/events_tradmod.html)