/* DOM based drop down menu code required for IE 5+ Win / Mac */
sfHover = function() {
	var sfEls = document.getElementById("primaryNavigation").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			if(this.className == "") {
				this.className+="sfhover";
			} else {
				this.className+=" sfhover";
			}
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp("\\bsfhover\\b"), "");
		}
	}
}

// load for IE 5+ (Win) and IE 5 (Mac)
if (document.all) { //MS IE
	if (window.attachEvent) window.attachEvent("onload", sfHover);
	else { //IE 5.2 Mac does not support attachEvent
		var old = window.onload;
		window.onload = function() { if (old) old(); sfHover(); }
	}
}