function AttachSrvMngrToHTMLBox(srvManager) { var htmlBox = scene.getBoxById("myHtmlBox"); if (htmlBox) { htmlBox.addServiceManager(srvManager); } }