var strUA = "";
  strUA = navigator.userAgent.toLowerCase();
if(strUA.indexOf("firefox") != -1){

  }else{

$(document).ready(function(){
		$("#SubNavi2 li").hover(
			function(){ $("ul", this).fadeIn("fast"); }, 
			function() { } 
		);
	if (document.all) {
			$("#SubNavi2 li").hoverClass ("sfHover");
		}
  });
  
	$.fn.hoverClass = function(c) {
		return this.each(function(){
			$(this).hover( 
				function() { $(this).addClass(c);  },
				function() { $(this).removeClass(c); }
			);
		});
	};
}
	
	
	
	function MM_submenu( num ){
	if( num==1 ){
		window.document.getElementById("nav1").style.display = "block";
		window.document.getElementById("nav2").style.display = "none";
		window.document.getElementById("nav3").style.display = "none";
		window.document.getElementById("nav4").style.display = "none";
		window.document.getElementById("nav5").style.display = "none";
	}
	else if( num==2 ){
		window.document.getElementById("nav1").style.display = "none";
		window.document.getElementById("nav2").style.display = "block";
		window.document.getElementById("nav3").style.display = "none";
		window.document.getElementById("nav4").style.display = "none";
		window.document.getElementById("nav5").style.display = "none";
	}
}

function MM_showHideLayers() { //v9.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3)
  with (document) if (getElementById && ((obj=getElementById(args[i]))!=null)) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}