$(document).ready(function(){

	$('.giftidea.caption').hover(function(){
		$(".cover", this).stop().animate({top:'0px'},{queue:false,duration:200});
	}, function() {
		$(".cover", this).stop().animate({top:'115px'},{queue:false,duration:200});
	});
	$('.product_related.caption_related').hover(function(){
		$(".cover", this).stop().animate({top:'15px'},{queue:false,duration:200});
	}, function() {
		$(".cover", this).stop().animate({top:'70px'},{queue:false,duration:200});
	});
	$('.designer_people.caption_people').hover(function(){
		$(".cover2", this).stop().animate({top:'20px'},{queue:false,duration:200});
	}, function() {
		$(".cover2", this).stop().animate({top:'0px'},{queue:false,duration:200});
	});
	$('.designer_people1.caption_people1').hover(function(){
		$(".cover2", this).stop().animate({top:'20px'},{queue:false,duration:200});
	}, function() {
		$(".cover2", this).stop().animate({top:'20px'},{queue:false,duration:200});
	});
	$('.cover').css({ opacity: 0.8 });
	$('.cover2').css({ opacity: 0.65 });

	$('#ForsideTop-TopLeftImage')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-40px -40px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:500})
		})

	$('#ForsideTop-TopRightImage')
		.css( {backgroundPosition: "0 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-40px -40px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 0px)"}, {duration:500})
		})

	$('#ForsideTop-BottomLeftImage')
		.css( {backgroundPosition: "70px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(110px -40px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(70px 0px)"}, {duration:500})
		})

	$('#ForsideTop-BottomRightImage')
		.css( {backgroundPosition: "70px 0px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(110px -40px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(70px 0px)"}, {duration:500})
		})

	$('#Produkter-VenstreImage')
		.css( {backgroundPosition: "-30px -20px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-50px -40px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(-30px -20px)"}, {duration:500})
		})

	$('#Produkter-MidtImage')
		.css( {backgroundPosition: "0 0"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-20px -20px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(0 0)"}, {duration:500})
		})

	$('#Produkter-HoejreImage')
		.css( {backgroundPosition: "-30px -10px"} )
		.mouseover(function(){
			$(this).stop().animate({backgroundPosition:"(-50px -30px)"}, {duration:500})
		})
		.mouseout(function(){
			$(this).stop().animate({backgroundPosition:"(-30px -10px)"}, {duration:500})
		})
});
