Your File
The file that contains the tree menu should look something like this:
<html>
<head>
<title>Tree Menu example</title>
<link rel="STYLESHEET" type="text/css"
href="menu_files/styles.css">
<script src="menu_files/navfunction.js"
type=text/javascript></script>
<script src="menu_files/navdata.js"
type=text/javascript></script>
</head>
<body>
<script>buildnav("");</script>
</body>
</html>
The function buildnav() Creates the tree, place it within the code whereever you want the tree to appear. To preselect an item enter its url as the parameter (This can be particularly useful if you are using the tree outside of a frameset).