/*  MouseOver - jQuery
-------------------------------------------------------------------------------------------*/
function imageSwitch(imgObj,hovSuffix,offSuffix)
{

	
	jQuery(imgObj).hover(
						 
						 
		function() {
			this.src = this.src.replace( offSuffix, hovSuffix );
		},
		function() {
			this.src = this.src.replace( hovSuffix, offSuffix );
		}
		
	);
	
	
}


/*  On DOM Ready
-------------------------------------------------------------------------------------------*/
jQuery().ready(function(){
			   
	imageSwitch("#menuMain a img.off","_on.html","_off.html");

});





/*  MouseOver Fix for IE8
-------------------------------------------------------------------------------------------*/
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);
