startList = function(){

	if (document.all&&document.getElementById) {

		navRoot = document.getElementById("nav");

		for (i=0; i<navRoot.childNodes.length; i++) {

			node = navRoot.childNodes[i];

			for (m = 0; m < node.childNodes.length;m++) {

				node2 = node.childNodes[m];

				if (node2.nodeName == "UL") {

					for (q = 0;q < node2.childNodes.length; q++) {

						node3 = node2.childNodes[q];

						if (node3.nodeName=="LI" ) {

							node3.onmouseover=function() {

								this.className+=" over";

							}

							node3.onmouseout=function() {

								this.className=this.className.replace(" over", "");

							}

						}

					}

				}

			}

			if (node.nodeName=="LI") {

				node.onmouseover=function() {

					this.className+=" over";

				}

				node.onmouseout=function() {

					this.className=this.className.replace(" over", "");

				}

			}

		}

	}

}

window.onload=startList;