sfHover = function() {
	if (document.getElementById("nav") != null) {
		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 (document.getElementById("cottagenav") != null) {
		var cotsfEls = document.getElementById("cottagenav").getElementsByTagName("LI");
		for (var j=0; j<cotsfEls.length; j++) {
			cotsfEls[j].onmouseover=function() {
				this.className+=" cotsfhover";
			}
				cotsfEls[j].onmouseout=function() {
					this.className=this.className.replace(new RegExp(" cotsfhover\\b"), "");
			}
		}
	}

	if (document.getElementById("FSSJumpNav") != null) {
		var cotsfEls = document.getElementById("FSSJumpNav").getElementsByTagName("LI");
		for (var j=0; j<cotsfEls.length; j++) {
			cotsfEls[j].onmouseover=function() {
				this.className+=" jNsfhover";
			}
				cotsfEls[j].onmouseout=function() {
					this.className=this.className.replace(new RegExp(" jNsfhover\\b"), "");
			}
		}
	}

	if (document.getElementById("headmenuleftimg") != null) {
		var headSwap = document.getElementById("headmenuleftimg");
			headSwap.onmouseover=function() {
				this.src = "fileadmin/templates/images/holidaycottages/head_menu_left_rollover.gif";
			}
			headSwap.onmouseout=function() {
				this.src = "fileadmin/templates/images/holidaycottages/head_menu_left.gif";
			}
		
	}
}


if (window.attachEvent) window.attachEvent("onload", sfHover);