
jQuery(document).ready(function(){

jQuery("#coda-slider-1").codaSlider({
	
 });
jQuery('.boxgrid.captionfull').hover(function(){
					jQuery(".cover", this).stop().animate({top:'162px'},{queue:false,duration:400 } );
				}, function() {
					jQuery(".cover", this).stop().animate({top:'260px'},{queue:false,duration:400});
				});

	
		
		
		
		jQuery("#.sosial a").hover(function() {
		    jQuery(this).stop().animate({ marginTop: "-6px" }, 200);
		    
		},function(){
		    jQuery(this).stop().animate({ marginTop: "0px" }, 300);
		   
		});
	
		jQuery("#.coda-nav-left a").hover(function() {
		    jQuery(this).stop().animate({ marginLeft: "-5px" }, 200);
		    
		},function(){
		    jQuery(this).stop().animate({ marginLeft: "0px" }, 300);
		   
		});
		
		jQuery("#.coda-nav-right a").hover(function() {
		    jQuery(this).stop().animate({ marginRight: "-5px" }, 200);
		    
		},function(){
		    jQuery(this).stop().animate({ marginRight: "0px" }, 300);
		   
		});
	
 	
// set opacity to nill on page load
jQuery("ul#navlist span").css("opacity","0");
// on mouse over
jQuery("ul#navlist span").hover(function () {
// animate opacity to full
jQuery(this).stop().animate({
	opacity: 1
	}, 1200);
	},
// on mouse out
function () {
// animate opacity to nill
jQuery(this).stop().animate({
	opacity: 0
	}, 1200);
	
	});
	
 
 jQuery("#navcontainer,#hvorstarte, #footer, #tilbud").localScroll({
				
				});
								
jQuery('.slideshow')
	.before('<div id="nav">')
	.cycle({
	fx: 'fade',
	timeout:4000,
	pause: 1,
	pager: '#nav',
	next:   '#next2', 
    prev:   '#prev2'
	

	});
	
	
});
		
	

