// This script is required to create the desired navbar rollover effects in IE. 
// Modified from: (http://www.alistapart.com/articles/horizdropdowns/...
initNavbar1 = function() {
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("nav-buttons");
		for (i=0; i<navRoot.childNodes.length; i++) {
			if (navRoot.childNodes[i].nodeName=="LI") {			
				configNode(navRoot.childNodes[i], "");	
			}
		}
	}
}
initNavbar2 = function() {
	navItems = document.getElementsByTagName("LI")
	for (i=0; i<navItems.length; i++) {
		if (navItems[i].className=="nav-list nav-list-top"){
			configNode(navItems[i], "");	
		} else {
			if (navItems[i].className=="nav-list nav-list-sub"){
				configNode(navItems[i], "sub");					
			}
		}
	}
}
function configNode(node, pre){
	node.onmouseover=function() {
		this.className+=" "+pre+"over";
	}
	node.onmouseout=function() {
		this.className=this.className.replace(" "+pre+"over", "");
	}
}
//init window once all items have loaded...
window.onload=initNavbar2;