jQuery(document).ready(function($){

$("#look_map").click(
	function(){
	$("#map").load("map.html");
    $("#map").toggle(1000);
	})


$("#subnavi a").css({opacity: 1});

$("#subnavi a").hover(
	function(){
	$(this).stop().animate({opacity: 0.7}, 'slow');
	},
	function () {
		$(this).stop().animate({opacity: 1}, 'fast');
	}	
	)


$("#footer_navi").hover(
	function(){
	$(this).stop().animate({opacity: 1}, 'slow');
	},
	function () {
		$(this).stop().animate({opacity: 0.7}, 'fast');	
	}	
	)


$("#hibrid").hover(
	function(){
	$(this).stop().animate({opacity: 0.6}, 'slow');
		$("#hibrid").css({background:"url(img/feature.gif) -201px 0px no-repeat"});
		$("h1").css({background:"url(img/home_head.jpg) 0 -289px no-repeat"});
	},
	function () {
		$(this).stop().animate({opacity: 1}, 'fast');	
		$("#hibrid").css({background:"url(img/feature.gif) no-repeat"});
		$("h1").css({background:"url(img/home_head.jpg) no-repeat"});		
	}	
	)

$("#walker").hover(
	function(){
	$(this).stop().animate({opacity: 0.6}, 'slow');	
		$("#walker").css({background:"url(img/feature.gif) -201px -46px no-repeat"});
		$("h1").css({background:"url(img/home_head.jpg) 0 -578px no-repeat"});
	},
	function () {
	$(this).stop().animate({opacity: 1}, 'fast');	
		$("#walker").css({background:"url(img/feature.gif) 0 -46px no-repeat"});
		$("h1").css({background:"url(img/home_head.jpg) no-repeat"});				
	}	
	)

$("#panps").hover(
	function(){
	$(this).stop().animate({opacity: 0.6}, 'slow');	
		$("#panps").css({background:"url(img/feature.gif) -201px -92px no-repeat"});
		$("h1").css({background:"url(img/home_head.jpg) 0 -867px no-repeat"});		
	},
	function () {
	$(this).stop().animate({opacity: 1}, 'fast');		
		$("#panps").css({background:"url(img/feature.gif) 0 -92px no-repeat"});
		$("h1").css({background:"url(img/home_head.jpg) no-repeat"});			
	}	
	)

    $("#subnavi").scrollFollow({
    speed: 1500,
    offset: 20,
   });
		
})