

			$('.cta_foto a').mouseenter(function()
			{
				
							$(this).parent().parent().find(".meer_info_button").css("zIndex",9999)
							$(this).animate({top:'0px', height:'200px'},{easing: "easeOutExpo", duration:150});
							$(this).find("img").animate({marginTop:'0px'},{easing: "easeOutExpo",duration:150});
				
			});
			$('.cta_foto a').mouseleave(function()
			{
				
							$(this).animate({top:'30px',height:'100px'},{easing: "easeOutExpo",duration:400});
							$(this).find("img").animate({marginTop:'-50px'},{easing: "easeOutExpo",duration:400});
				
			});
			
			
			
			$('.meer_info_button').mouseenter(function()
			{
						$(this).animate({backgroundColor:'white', color:'black'},200);
			});
			
			$('.meer_info_button').mouseleave(function()
			{
						$(this).animate({backgroundColor:'black', color:'white'},{easing: "easeOutExpo", duration:400});
			});
			
			
			$('.input_button').mouseenter(function()
			{
						$(this).animate({backgroundColor:'white', color:'black'},200);
			});
			
			$('.input_button').mouseleave(function()
			{
						$(this).animate({backgroundColor:'black', color:'white'},{easing: "easeOutExpo", duration:400});
			});
			

			$('.u_l_item a').mouseenter(function()
			{
				$(this).children('img.colorimage').fadeIn(100);
				
			});
			
		
			$('.u_l_item a').mouseleave(function()
			{
				$(this).children('.colorimage').fadeOut(300); 
			});
		
		
		
		
		$(window).load(function(){
			if($("#slider").length){
				tS = $("#slider").children("img").length;		
				aS = 1;
				a = 0;
				o = 0;
				if(tS > 1){
					setTimeout("startTimer()",3000);
				}
			}
		});
		
		$(".nivo-directionNav").mouseover(function(){
			o = 1;	   
		});
		$(".nivo-directionNav").mouseout(function(){
			o = 0;	   
		});
		
		function startTimer(){
			if(o != 1){
				nextSlide();
			}
			setTimeout("startTimer()",3000);
		}
		function nextSlide(){
			if(a != 1){
				if(aS < tS){
					nS = aS + 1;
				}else{
					nS = 1;	
				}
				switchSlides();
			}
		}			
		function prevSlide(){
			if(a != 1){
				if(aS > 1){
					nS = aS - 1;
				}else{
					nS = tS;	
				}
				switchSlides();
			}
		}
		function switchSlides(){
			a = 1;					  
			if($("#p" + aS)){
				$("#p" + aS).css("z-index","1");	
				$("#p" + nS).css("z-index","2");	
				$("#p" + nS).fadeIn(500,function(){		
					$("#p" + aS).hide();	
				});
			}
			
			$("#beeld_" + aS).css("z-index","1");	
			$("#beeld_" + nS).css("z-index","2");	
			$("#beeld_" + nS).fadeIn(500,function(){				
				$("#beeld_" + aS).hide();													  
				aS = nS;	
				a = 0;
			});		
		}
	
		
