Each demo has the following components.
The JavaScript files
You must include the javascript files in this order:
<script src="/js/AnimTree/src/utils.js" type="text/javascript"></script> <script src="/js/AnimTree/src/treeparams.js" type="text/javascript"></script> <script src="/js/AnimTree/src/AnimTree.js" type="text/javascript"></script>
If you change the order of the files, it will not work. Do not do this.
Put global.js on your server. File global.js is for poor Mac IE. You'll change the parameter LISTENER_SCRIPT_SRC in TreeParams to point to this file.
Some (optional) images (these are included in the package), you may also create your own images in a graphics program.
Next in this tutorial: HTML Structure: explains the structure that the demos use