function openQuickLinks(evt) { 
	var charCode = (evt.which) ? evt.which : event.keyCode;
//	alert ("charCode: " + charCode);
	if (document.getElementById && (charCode == 40 || charCode == 13)) { 
		navRoot = document.getElementById("quickLinksnav"); 
		for (i = 0; i < navRoot.childNodes.length; i++) { 
			node = navRoot.childNodes[i]; 
			if (node.nodeName == "LI") { node.className += " over"; } 
		} 
	} 
}

function closeQuickLinks(evt) { 
	var charCode = (evt.which) ? evt.which : event.keyCode;
//	alert ("charCode: " + charCode);
	if (document.getElementById && charCode != 9) { 
		navRoot = document.getElementById("quickLinksnav"); 
		for (i=0; i<navRoot.childNodes.length; i++) { 
			node = navRoot.childNodes[i]; 
			if (node.nodeName == "LI") { 
				node.className = node.className.replace(" over", ""); 
				node.className = node.className.replace("over", ""); 
			} 
		} 
	} 
}

function startList() {
	if (document.all && document.getElementById) {
		navRoot = document.getElementById("quickLinksnav");
		for (var i = 0; i < navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName == "LI") {
				node.onmouseover = function() { this.className += " over"; }
				node.onmouseout = function() { this.className = this.className.replace(" over", ""); }				
			}
		}
	}
}

window.onload = function(){
	startList();
}
