
/* Suckerfish JavaScript */
sfHover = function() {
	var sfEls = document.getElementById("nav").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);


menu_mark = function () {
	var ul_lis = document.getElementById("nav").getElementsByTagName("ul");
	for (var i=0; i<ul_lis.length; i++) {
		ul_lis[i].onmouseover=function() {
			//alert (this.parentNode.className);
			//var tempClassName = this.parentNode.className;
			this.parentNode.className = this.parentNode.className+' nav1act';
		}
			ul_lis[i].onmouseout=function() {
			this.parentNode.className = this.parentNode.className.replace(new RegExp(" nav1act\\b"), "");;
		}
	}	
}
if (window.attachEvent) { 
	window.attachEvent("onload", menu_mark);
} else
window.onload=menu_mark;
