/*

	UW-Madison Graduate School Home Page
	Function to ensure :hover functionality
	
	(c)2006 Yoh Suzuki
	
	Last revised December 1, 2006

*/

navHover = function() {
		var a = document.getElementsByTagName("li");

		for (var i=0; i<a.length; i++) {
			a[i].onmouseover=function() {
				this.className+=" hover";
			}
			a[i].onmouseout=function() {
				this.className=this.className.replace(new RegExp(" hover\\b"), "");
			}
		}

}
if (window.attachEvent) window.attachEvent("onload", navHover);

