//Function for gracefully failing popup windows
// if js is disabled the document will be loaded into the current window
var newwindow = '';
function popupWin(url) {
	if (!newwindow.closed && newwindow.location) {
		newwindow.location.href = url;
	}
	else {
		newwindow=window.open(url,'name','height=540,width=760,left=50,top=50,directories=no,location=No,menubar=No,resizable=yes,scrollbars=yes,status=No,toolbar=No');
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus)
	    newwindow.focus();
	
	return false;
}

//Bug fix in IE Mac
function addRolloverAction(tempElement){
		navRoot = document.getElementById(tempElement);
		if(navRoot!=null){
			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", "");
					}
				}
			}
		}
	  return true;
	}
startList = function() {
	if (document.all&&document.getElementById) {
		addRolloverAction("uncgBlueNavDrop");
		addRolloverAction("leftColumn");
	}
}
window.onload=startList;