//fix the IE rollover menu bug for the header
startList = function() {
	navRoot = document.getElementById("Navigation");
	for (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", "");
			}
		}
	}
}

function initLinks(){

	var aTags = document.getElementsByTagName('a');
	for (var i=0;i<aTags.length;i++)
	{
		if (aTags[i].className == "newwindow")
		{
			aTags[i].onclick = loadNewWindow;
		}
	}
}

function loadNewWindow() {
	window.open(this.href);
	return false;
}

window.onload = function() {
	startList();
	initLinks();
}
