/*
aqtree3clickable.js
Converts an unordered list to an explorer-style tree, with clickable
icons
To make this work, simply add one line to your HTML:
and then make the top UL of your nested unordered list of class
"aqtree3clickable".
That's it. No registration function, nothing.
http://www.kryogenix.org/code/browser/aqlists/
Stuart Langridge, November 2002
sil@kryogenix.org
Inspired by Aaron's labels.js (http://youngpup.net/demos/labels/) and Dave Lindquist's menuDropDown.js (http://www.gazingus.org/dhtml/?id=109)
*/
addEvent(window, "load", makeTreesC);
function makeTreesC() {
// We don't actually need createElement, but we do
// need good DOM support, so this is a good check.
if (!document.createElement) return;
uls = document.getElementsByTagName("ul");
for (uli=0;uli