Cloning UI events

Cloning UI events

Hello,
Does anyone knows how to clone a UI event? I'm able to clone events on
DOM elements but I can't clone the events for UI widgets.
Here's a link to the file:
http://code.google.com/p/raxan/source/browse/trunk/raxan/raxan/startup.js
Have a look at the iUpdateElement function.
__
Raymond Irving
--