setLeftNav = function() {
if (document.all&&document.getElementById) {
	navRoot = document.getElementById("leftNav");
	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", "");
  	 	}
   	}

  }
 }
}

setTopNav = function() {
if (document.all&&document.getElementById) {
	navRoot = document.getElementById("topNav");
	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 init() {
	setLeftNav();
//	setTopNav();
}
window.onload=init;

function section(name) {
	document.getElementById("contact").style.display = 'none';
	document.getElementById("clinical").style.display = 'none';
	document.getElementById("research").style.display = 'none';
	document.getElementById("awards").style.display = 'none';
	document.getElementById("statement").style.display = 'none';
	document.getElementById(name).style.display = 'block';
}

//for alumni search by group
function goto_URL(object) {
	//alert(object.options[object.selectedIndex].value)
    window.location.href = object.options[object.selectedIndex].value;
}

function openMovieWin(moviename) {
	movie="media/preloader.asp?mov=" + moviename
	window.open(movie, "moviewin","width=400,height=300, status")
}
