DHTMLXMenu and calling Javascript function

How to embed a javscript funtion in xml userdata tag?



function test()



Your prompt help will be appreciated

Could you please describge the result that should be achieved ?