Thank you for your answer, Joe!
You are right and your example runs fine.
But what I need now is to run different JS
actions depending on the event trapped.
I need to take an action for onclick events and a different one for onDblClick.
Do you know how to do it?
Thank you very much
TomÃ s JimÃ©nez