window.addEvent('domready', function() {
	Nav.init();
	var sn = new smartNav();
    sn.init();
    if($("clickToEnlarge"))
    {
    	Modal.setDefault(defaultDiv);
    }
});
var Nav = {
	init:function()
	{
		$("Bass").onclick = function()
		{
			window.location = "/our_guitars/bass/"
		}
		$("Bass").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		   //$("a4").src = "/images/nav/subnav_arrow_over.gif";
		    //$("level3Nav_Bass").style.display = "block";
		    //$("level3Nav_Bass").style.zIndex = "100";
		}
		$("Bass").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    //$("a4").src = "/images/nav/subnav_arrow.gif";
		    //$("level3Nav_Bass").style.display = "none";
		    //$("level3Nav_Bass").style.zIndex = "1";
		}
		
		$("GZ_Series_Electric").onclick = function()
		{
			window.location = "/our_guitars/gz/index.php";
		}
		$("GZ_Series_Electric").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		   // $("a1").src = "/images/nav/subnav_arrow_over.gif";
		    //$("level3Nav_GZ").style.display = "block";
		    //$("level3Nav_GZ").style.zIndex = "100";
		}
		$("GZ_Series_Electric").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    //$("a1").src = "/images/nav/subnav_arrow.gif";
		    //$("level3Nav_GZ").style.display = "none";
		    //$("level3Nav_GZ").style.zIndex = "1";
		}
				
		$("legacy").onclick = function()
		{
			window.location = "/legacy/";
		}
		$("legacy").onmouseover = function()
		{
		    //this.className = "navigation_on";
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("nav_legacy").src = "/images/nav/nav_legacy_over.gif";
		    //$("s1").src="/images/px.gif";
		}
		$("legacy").onmouseout = function()
		{
		    this.className = "navigation";
		    this.style.zIndex = "1";
		    $("nav_legacy").src = "/images/nav/nav_legacy.gif";
		    $("s1").src="/images/nav/sliver.gif";
		}
		
		
		$("our_guitars").onclick = function()
		{
			window.location = "/our_guitars/";
		}
		$("our_guitars").onmouseover = function()
		{
		    this.className = "navigation_on";
		    this.style.cursor = "pointer";
		    //this.style.zIndex = "100";
		    $("guitarSubNavContainer").style.zIndex = "100";
		    //document.getElementById("guitarSubNavContainer").style.zIndex = "100";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";
		    $("s1").src="/images/px.gif";
		    $("s2").src="/images/px.gif";
		    $("guitarSubNavContainer").style.display = "block";
		}
		$("our_guitars").onmouseout = function()
		{
		    //this.className = "navigation";
		    //this.style.zIndex = "1";
		    handleOurGuitarsOut();
		    /*
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";
		    $("s1").src="/images/nav/sliver.gif";
		    $("s2").src="/images/nav/sliver.gif";
		    */
		    document.getElementById("guitarSubNavContainer").style.display = "none";
		    
		}
		
		
		$("guitarSubNavContainer").onmouseover = function()
		{
		    $("our_guitars").className = "navigation_on";
		    $("our_guitars").style.cursor = "pointer";
		    $("our_guitars").style.zIndex = "100";

		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";
		    $("s1").src="/images/px.gif";
		    $("s2").src="/images/px.gif";
            
		    document.getElementById("guitarSubNavContainer").style.display = "block";
		}
		$("guitarSubNavContainer").onmouseout = function()
		{
		    $("our_guitars").className = "navigation";
		    $("our_guitars").style.zIndex = "1";
		    /*
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";
		    $("s1").src="/images/nav/sliver.gif";
		    $("s2").src="/images/nav/sliver.gif";
		    */
		    handleOurGuitarsOut();
		    document.getElementById("guitarSubNavContainer").style.display = "none";
		}
		
		
		$("GZ_Inlay_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a1").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_GZ").style.display = "block";
		    $("level3Nav_GZ").style.zIndex = "100";
		}
		$("GZ_Inlay_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a1").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_GZ").style.display = "none";
		}
		$("GZ_Inlay_Front").onclick = function()
		{
		     window.location = "/our_guitars/gz/index.php";
		}

		$("GZ_Disc_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a1").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_GZ").style.display = "block";
		    $("level3Nav_GZ").style.zIndex = "100";
		}
		$("GZ_Disc_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a1").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_GZ").style.display = "none";
		}
		$("GZ_Disc_Front").onclick = function()
		{
		     window.location = "/our_guitars/gz/index.php";
		}

		$("GZ_Metal_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a1").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_GZ").style.display = "block";
		    $("level3Nav_GZ").style.zIndex = "100";
		}
		$("GZ_Metal_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a1").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_GZ").style.display = "none";
		}
		$("GZ_Metal_Front").onclick = function()
		{
		    window.location = "/our_guitars/gz/index.php";
		}
		
		$("GZ_Wood_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a1").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_GZ").style.display = "block";
		    $("level3Nav_GZ").style.zIndex = "100";
		}
		$("GZ_Wood_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a1").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_GZ").style.display = "none";
		}
		$("GZ_Wood_Front").onclick = function()
		{
		     window.location = "/our_guitars/gz/index.php";
		}
			
		$("Acoustic").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    //$("a2").src = "/images/nav/subnav_arrow_over.gif";
		    //$("level3Nav_Acoustic").style.display = "block";
		    //$("level3Nav_Acoustic").style.zIndex = "100";
		}
		$("Acoustic").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    //$("a2").src = "/images/nav/subnav_arrow.gif";
		    //$("level3Nav_Acoustic").style.display = "none";
		    //$("level3Nav_Acoustic").style.zIndex = "1";
		}
		$("Acoustic").onclick = function()
		{
			window.location = "/our_guitars/acoustic/";
		}

		$("Small_Body").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a2").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Acoustic").style.display = "block";
		    $("level3Nav_Acoustic").style.zIndex = "100";
		}
		$("Small_Body").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a2").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Acoustic").style.display = "none";
		}
		$("Small_Body").onclick = function()
		{
		     window.location = "/our_guitars/acoustic/";
		}
		
		$("Jumbo_Body").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a2").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Acoustic").style.display = "block";
		    $("level3Nav_Acoustic").style.zIndex = "100";
		}
		$("Jumbo_Body").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a2").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Acoustic").style.display = "none";
		}
		$("Jumbo_Body").onclick = function()
		{
		     window.location = "/our_guitars/acoustic/";
		}
		
		$("Limited_Edition").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a2").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Acoustic").style.display = "block";
		    $("level3Nav_Acoustic").style.zIndex = "100";
		}
		$("Limited_Edition").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a2").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Acoustic").style.display = "none";
		}
		$("Limited_Edition").onclick = function()
		{
		     window.location = "/our_guitars/acoustic/";
		}
		$("GZ_Acoustic").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a2").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Acoustic").style.display = "block";
		    $("level3Nav_Acoustic").style.zIndex = "100";
		}
		$("GZ_Acoustic").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a2").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Acoustic").style.display = "none";
		}
		$("GZ_Acoustic").onclick = function()
		{
		     window.location = "/our_guitars/acoustic/";
		}		
		
		$("Custom_Shop").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Custom_Shop").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}

		$("Custom_Shop").onclick = function()
		{
            
		}

		$("Pearl_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Pearl_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}
		$("Pearl_Front").onclick = function()
		{
		     window.location = "/our_guitars/custom_pearl/";
		}
		$("Metal_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Metal_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}
		$("Metal_Front").onclick = function()
		{
		     window.location = "/our_guitars/custom_metal/";
		}
		
		$("Disc_Front").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Disc_Front").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}
		$("Disc_Front").onclick = function()
		{
		     window.location = "/our_guitars/custom_disc/";
		}
		
		$("Sculptured").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Sculptured").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}
		$("Sculptured").onclick = function()
		{
		     window.location = "/our_guitars/custom_sculptured/";
		}
		$("Superior").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Superior").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}
		$("Superior").onclick = function()
		{
		     window.location = "/our_guitars/custom_superior/";
		}
		
		$("Standard").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Custom").style.display = "block";
		    $("level3Nav_Custom").style.zIndex = "100";
		}
		$("Standard").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Custom").style.display = "none";
		}
		$("Standard").onclick = function()
		{
		     window.location = "/our_guitars/custom_standard/";
		}
		
		
		
		
		$("BMF-DCP-BK").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a4").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Bass").style.display = "block";
		    $("level3Nav_Bass").style.zIndex = "100";
		}
		$("BMF-DCP-BK").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a4").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Bass").style.display = "none";
		}
		$("BMF-DCP-BK").onclick = function()
		{
		     window.location = "/our_guitars/bass/";
		}
		
		$("BMF-DCP-NT").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a4").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Bass").style.display = "block";
		    $("level3Nav_Bass").style.zIndex = "100";
		}
		$("BMF-DCP-NT").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a4").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Bass").style.display = "none";
		}
		$("BMF-DCP-NT").onclick = function()
		{
		     window.location = "/our_guitars/bass/";
		}
		
		
        $("BSU-MCPJ").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a4").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Bass").style.display = "block";
		    $("level3Nav_Bass").style.zIndex = "100";
		}
		$("BSU-MCPJ").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a4").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Bass").style.display = "none";
		}
		$("BSU-MCPJ").onclick = function()
		{
		     window.location = "/our_guitars/bass/";
		}
		
		
		$("GZB300").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.color = "#ff3333";
		    $("a4").src = "/images/nav/subnav_arrow_over.gif";
		    $("level3Nav_Bass").style.display = "block";
		    $("level3Nav_Bass").style.zIndex = "100";
		}
		$("GZB300").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		    $("a4").src = "/images/nav/subnav_arrow.gif";
		    $("level3Nav_Bass").style.display = "none";
		}
		$("GZB300").onclick = function()
		{
		     window.location = "/our_guitars/bass/";
		}
		
		
		
		
		$("players").onclick = function()
		{
			window.location = "/players/";
		}
		$("players").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("nav_players").src = "/images/nav/nav_players_over.gif";
		}
		$("players").onmouseout = function()
		{
		    this.style.zIndex = "1";
		    $("nav_players").src = "/images/nav/nav_players.gif";
		}
		$("wares").onclick = function()
		{
			window.location = "/wares/";
		}
		$("wares").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("nav_wares").src = "/images/nav/nav_wares_over.gif";
		}
		$("wares").onmouseout = function()
		{
		    this.style.zIndex = "1";
		    $("nav_wares").src = "/images/nav/nav_wares.gif";
		}
		$("where_to_buy").onclick = function()
		{
			window.location = "/where_to_buy/";
		}
		$("where_to_buy").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("nav_where_to_buy").src = "/images/nav/nav_where_to_buy_over.gif";
		}
		$("where_to_buy").onmouseout = function()
		{
		    this.style.zIndex = "1";
		    $("nav_where_to_buy").src = "/images/nav/nav_where_to_buy.gif";
		}
		$("news_events").onclick = function()
		{
			window.location = "/news_events/";
		}
		$("news_events").onmouseover = function()
		{
		    //this.className = "navigation_on";
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("nav_news_events").src = "/images/nav/nav_news_events_over.gif";
		    //$("s5").src="/images/px.gif";
		}
		$("news_events").onmouseout = function()
		{
		    //this.className = "navigation";
		    this.style.zIndex = "1";
		    $("nav_news_events").src = "/images/nav/nav_news_events.gif";
		    //$("s5").src="/images/nav/sliver.gif";
		}
		$("level3Nav_GZ").onmouseover = function()
		{
		    this.style.cursor = "pointer";
		    this.style.display = "block";
		    this.style.zIndex = "100";
		    $("guitarSubNavContainer").style.display = "block";
		    $("level3Nav_GZ").style.display = "block";
		    $("GZ_Series_Electric").style.color = "#ff3333";

		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";		    
		    $("a1").src = "/images/nav/subnav_arrow_over.gif";
		    $("our_guitars").className = "navigation_on";
            $("s1").src="/images/px.gif";
		    $("s2").src="/images/px.gif";
		}
		$("level3Nav_GZ").onmouseout = function()
		{
		    this.style.display = "none";
		    $("guitarSubNavContainer").style.display = "none";
		    $("a1").src = "/images/nav/subnav_arrow.gif";
		    $("GZ_Series_Electric").style.color = "#e6e4e3";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";
		    $("our_guitars").className = "navigation";
            $("s1").src="/images/nav/sliver.gif";
		    $("s2").src="/images/nav/sliver.gif";
		}
		$("level3Nav_Acoustic").onmouseover = function()
		{
		    this.style.display = "block";
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("guitarSubNavContainer").style.display = "block";
		    $("Acoustic").style.color = "#ff3333";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";		    
		    $("a2").src = "/images/nav/subnav_arrow_over.gif";
		    $("our_guitars").className = "navigation_on";
            $("s1").src="/images/px.gif";
		    $("s2").src="/images/px.gif";

		}
		$("level3Nav_Acoustic").onmouseout = function()
		{
		    this.style.display = "none";
		    $("guitarSubNavContainer").style.display = "none";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";	
		    $("Acoustic").style.color = "#e6e4e3";	    
		    $("a2").src = "/images/nav/subnav_arrow.gif";
		    $("our_guitars").className = "navigation";
            $("s1").src="/images/nav/sliver.gif";
		    $("s2").src="/images/nav/sliver.gif";

		}
		
		
		$("level3Nav_Bass").onmouseover = function()
		{
		    this.style.display = "block";
		    this.style.cursor = "pointer";
		    this.style.zIndex = "100";
		    $("guitarSubNavContainer").style.display = "block";
		    $("Bass").style.color = "#ff3333";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";		    
		    $("a4").src = "/images/nav/subnav_arrow_over.gif";
		    $("our_guitars").className = "navigation_on";
            $("s1").src="/images/px.gif";
		    $("s2").src="/images/px.gif";

		}
		$("level3Nav_Bass").onmouseout = function()
		{
		    this.style.display = "none";
		    $("guitarSubNavContainer").style.display = "none";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";	
		    $("Bass").style.color = "#e6e4e3";	    
		    $("a4").src = "/images/nav/subnav_arrow.gif";
		    $("our_guitars").className = "navigation";
            $("s1").src="/images/nav/sliver.gif";
		    $("s2").src="/images/nav/sliver.gif";

		}
		
		$("level3Nav_Custom").onmouseover = function()
		{
		    this.style.display = "block";
		    this.style.cursor = "pointer";
		    $("guitarSubNavContainer").style.display = "block";
		    $("Custom_Shop").style.color = "#ff3333";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";		    
		    $("a3").src = "/images/nav/subnav_arrow_over.gif";
		    $("our_guitars").className = "navigation_on";
            $("s1").src="/images/px.gif";
		    $("s2").src="/images/px.gif"
		}
		$("level3Nav_Custom").onmouseout = function()
		{
		    this.style.display = "none";
		    $("guitarSubNavContainer").style.display = "none";
		    $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";	
		    $("Custom_Shop").style.color = "#e6e4e3";
		    $("a3").src = "/images/nav/subnav_arrow.gif";
		    handleOurGuitarsOut();
		    /*
		    $("our_guitars").className = "navigation";
            $("s1").src="/images/nav/sliver.gif";
		    $("s2").src="/images/nav/sliver.gif";
		    */
		}
		$("SA500-F").onmouseover = 
		$("subNav_Custom_bottom").onmouseover =
        $("Z-JRWSR").onmouseover = 
        $("Z-SHDSR").onmouseover = 
        $("Z-JHWR").onmouseover = 
        $("Z-SJHW12R").onmouseover = 
        $("GZA500HD").onmouseover = 
        $("GZA300-HEART").onmouseover = 
        $("GZAS300-HEART").onmouseover = 
        $("GZA200-SUN").onmouseover = 
        $("GZAS200-SUN").onmouseover = 
        $("subNav_Acoustic_bottom").onmouseover = 
		$("GZsub_Electric").onmouseover = 
		$("GZsub_GZWF").onmouseover = 
		$("GZsub_GZ").onmouseover = 
		$("GZsub_GZV").onmouseover = 
		$("GZsub_MetalFront").onmouseover = 
		$("GZsub_DiskFront").onmouseover = 
		$("subNav_GZ_bottom").onmouseover = function()
		{
		    this.style.color = "#ff3333";
		}
		$("SA500-F").onmouseout = 
		$("subNav_Custom_bottom").onmouseout =
        $("Z-JRWSR").onmouseout = 
        $("Z-SHDSR").onmouseout = 
        $("Z-JHWR").onmouseout = 
        $("Z-SJHW12R").onmouseout = 
        $("GZA500HD").onmouseout = 
        $("GZA300-HEART").onmouseout = 
        $("GZAS300-HEART").onmouseout = 
        $("GZA200-SUN").onmouseout = 
        $("GZAS200-SUN").onmouseout = 
        $("subNav_Acoustic_bottom").onmouseout = 
		$("GZsub_Electric").onmouseout = 
		$("GZsub_GZWF").onmouseout = 
		$("GZsub_GZ").onmouseout = 
		$("GZsub_GZV").onmouseout = 
		$("GZsub_MetalFront").onmouseout = 
		$("GZsub_DiskFront").onmouseout = 
		$("subNav_GZ_bottom").onmouseout = function()
		{
		    this.style.color = "#e6e4e3";
		}
	},
	lvl1on:function()
	{
	
	},
	highestZIndex:function()
	{
		var allElems = document.getElementsByTagName?
		document.getElementsByTagName("*"):
		document.all; // or test for that too
		var maxZIndex = 0;
		for(var i=0;i<allElems.length;i++) 
		{
			var elem = allElems[i];
			var cStyle = null;
			if (elem.currentStyle) {cStyle = elem.currentStyle;}
			else if (document.defaultView && document.defaultView.getComputedStyle) {
			cStyle = document.defaultView.getComputedStyle(elem,"");
		}
		var sNum;
		if (cStyle) 
		{
			sNum = Number(cStyle.zIndex);
		} 
		else 
		{
			sNum = Number(elem.style.zIndex);
		}
		if (!isNaN(sNum)) 
		{
			maxZIndex = Math.max(maxZIndex,sNum);
		}
		}
	}
}
var curLoc;
var smartNav = function()
{
    curLoc = null;
    this.init = function()
    {
        var str = new String(window.location);
        curLoc = str.split("jp/")[1].split("/")[0];
        var src = "/images/nav/nav_"+curLoc+"_over.gif"
        $("nav_"+curLoc).src = src;
        if(curLoc!="our_guitars")
        {
            $(curLoc).onmouseover = null;
            $(curLoc).onmouseout = null;
        }
    }
}

function handleOurGuitarsOut()
{
    if(curLoc =="our_guitars")
    {
        $("our_guitars").className = "navigation_on_section";
	    $("nav_our_guitars").src = "/images/nav/nav_our_guitars_over.gif";
        $("s1").src="/images/nav/sliver.gif";
	    $("s2").src="/images/nav/sliver.gif";
    }
    else
    {
        $("our_guitars").className = "navigation";
        $("nav_our_guitars").src = "/images/nav/nav_our_guitars.gif";
        $("s1").src="/images/nav/sliver.gif";
	    $("s2").src="/images/nav/sliver.gif";
    }
}

var smartGuitarNavHandler = function()
{
    var last;
    var cur;
    this.init = function(_cur)
    {
        cur = _cur;
        cur.className = "ourGuitarsOnState";
    }
    this.light = function(next)
    {
        if(cur) last = cur;
        cur = next;
        $(next).className = "ourGuitarsOnState";
        $(last).className = "ourGuitarsOffState";
    }
}

var smartGuitarNav = new smartGuitarNavHandler();