I'm working on a large site (over 3,000 pages) and would like to have my navigation handled through dropdown menus. I've used several java script solutions that are nice, but don't meet all of my requirements.

To make it possible to update this large site easily I'd like to place the javascript files in the root of my server, and use SSI to write to each HTML file to build the menus. Each HTML file that uses these files would simply use <!-- virtual include> and call the js by a URL, such as http://www.hss.state.ak.us/js/filename.js.

So far I've found one JS solution that works this way, but only has one level of submenus, but I need two. All of the solutions that I've found with 2 levels require that the js file be in the directory with the HTML.

Am I missing something basic, any suggestions?