Getting shared form instance handle when using UI init

How do we use the constructore “new dhtmlXForm(‘id’)” to get a shared form instance handle when using the UL init method.

Are there any examples.

Please see viewtopic.php?f=17&t=14734