// requires jquery for the following scripts to work - check the source html for the proper link

$(document).ready(function(){
	$(".hidden_bio").hide(); // hides the divs on the bio pages (our_team and board)
	// ----
	// this is for swfobject...
	// header
	var so_header = new SWFObject("/animation/top/dynamic_banner.swf", "icon_banner_schools", "770", "50", "8", "#ffffff");
	//so_header.addParam("wmode", "opaque");
	so_header.write("flash_header");
	// and footer
	//var so_footer = new SWFObject("/animation/bottom/dynamic_banner.swf", "icon_banner_schools", "770", "50", "8", "#ffffff");
	//so_footer.addParam("wmode", "opaque");
	//so_footer.write("flash_footer");
});

	// son of suckerfish, the original trilogy...
sfHover = function() {
	var sfEls = document.getElementById("mainnav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
