//<!-- ADDTHIS BUTTON BEGIN -->
var addthis_config = {
         username: "fender",
         ui_cobrand: "Fender&reg;"
}

function navHover() {
	// JavaScript DocumentnavHover = function() {
		var lis = document.getElementById("navmenu-h").getElementsByTagName("LI");
        nav_overlay = document.getElementById("bg");
		for (var i=0; i<lis.length; i++) {
			lis[i].onmouseover=function() {
				this.className+=" iehover";
	                        nav_overlay.style.display = "block";
			}
			lis[i].onmouseout=function() {
	                        this.className=this.className.replace(new RegExp(" iehover\\b"), "");
	                        nav_overlay.style.display = "";
			}
		}
	}


/*
  Special navigation menu support for IE 6 only.
 */
var IE6 = (navigator.userAgent.indexOf("MSIE 6") > -1 ? 1 : 0);

if(IE6) {
	//if (window.attachEvent) window.attachEvent("onload", navHover);
	$(document).ready(function(){
        over = function() { 
                $("#bg").css({display:"block"});
                $(this).addClass("iehover");
        }
        out = function() { 
                $("#bg").css({display:""});
                $(this).removeClass("iehover");
        }
        $("#navmenu-h li").hover(over, out);//hover
        
		//Activate PNG fix
		$(document).pngFix(); 
	        
	});
}
