		if ($.browser.msie && $.browser.version.substr(0,1)<7){ window.location.replace("no-more-ie6.html")	}
	
	$(function(){	
	
		$('#menu ul').hide();
		
		$(".modal").hide();
		
		$('#nav img').css("opacity","0.6");
		
		  $('ul#menu li a').not('ul.menu2 li a').click( function() {
			  if ($(this).next().is(':visible')){
					 $(this).next().slideUp('normal');
			  } else {
					 $('ul.menu2').slideUp('normal');
					 $(this).next().slideDown('normal');
					 }
		  });
		
		$('#nav img').each(function() {
				$(this).hover(
					function() {
						$(this).stop().animate({ opacity: 1.0 }, 350);
					},
				   function() {
					   $(this).stop().animate({ opacity: 0.6 }, 150);
				   })
		});
        $('.double').hover(function() {
			$(".modal").stop(true,true).fadeIn('slow');
		 },
		 function() {
			$(".modal").stop(true,true).fadeOut('slow');
		});
				
		$('.left2').hover(function() {
			$(".modal").stop(true,true).fadeIn('slow');
		 },
		 function() {
			$(".modal").stop(true,true).fadeOut('slow');
		});
	});   	
	
	$(window).load(function(){
		$('.pagebanner img').fadeIn('normal');
		var _gaq=[['_setAccount','UA-3415250-23'],['_trackPageview']];(function(d,t){
var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.async=1;g.src='//www.google-analytics.com/ga.js';s.parentNode.insertBefore(g,s)
}(document,'script'))
	});
