pass treeview node to getHtmlTitle function