I'm trying to modify the code below to make the link load a thickbox. How do I add the class thickbox to the a HTML element?

new YAHOO.widget.TextNode({label:"open in a thickbox", href:"thickboxlink.htm?height=570&width=700"}, root, false);