var currentStaff = 'staffintro';

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("navul");
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", "");
   }
   }
  }
 }
}
window.onload=startList;

//function fadeStaff (staffdiv) {
//	if (!currentStaff) { currentStaff = 'staffintro'; }
//	Effect.Fade($(currentStaff), { duration: .3 });
//	divToShow = staffdiv;
//	setTimeout("showStaff(divToShow);", 300);
////	alert('appearing ' + staffdiv);
////	Effect.Appear($(staffdiv));
////	alert('setting currentstaff to ' + staffdiv);
//	currentStaff = staffdiv;
//}

function fadeStaff (staffdiv) {
	if (!currentStaff) { currentStaff = 'staffintro'; }
	//alert('hiding ' + currentStaff);
	$(currentStaff).style.display='none';
	//alert('appearing ' + staffdiv);
	$(staffdiv).style.display='block';
	//alert('setting currentstaff to ' + staffdiv);
	currentStaff = staffdiv;
}

function showStaff(dothediv) {
	Effect.Appear($(dothediv), { duration: .3 });
}
	