// Function to automatically load mouse functions for IE
// Call at window onload

function loadNav() {
	var root, node;

	if (document.all&&document.getElementById) {
		root = document.getElementById("nav");
		for (i=0; i<root.childNodes.length; i++) {
			
			node = root.childNodes[i];
			
			if (node.nodeName == "LI") {
				node.onmouseover = function() {
					this.className = "hover";
				}
				node.onmouseout = function() {
					this.className = "";
				}
			}
		}
	}
}