Converts <ul> into interactive tree.
This will do the thing. Div specifies a container in which your list lives. Dir is a directory containing important images, ext is their extension and reformat is a boolean value, specifying whether do you want to reformat (i.e. collapse all deep levels) the tree. Example:
Tree.assign("myDiv", "images", "png", true);