JavaScript Tutorial: Hooking Events at Runtime with Parameter Functions