

// vierde uit het archief

		   $(document).ready(function(){ 
			    $(".intro_deel:nth-child(2)").attr('id','intro_2');
			    $(".recent:odd").attr('id','recent_oneven'); 
		        $(".archief:nth-child(5n)").attr('id','archief_laatste');      
		        $("div.archief_nieuws:odd").attr('id','archief_nieuws_oneven');  
		        $(".mensen_foto_container:even").attr('id','mensen_oneven'); 
		        // $(".content_header_balk_buttons li:last").attr('id','menu_laatste');     	     
			}); 

// opacity thumbnails

	$(document).ready(function(){
		$("#footer").fadeTo("fast", 0.7); // This sets the opacity of the thumbs to fade down to 60% when the page loads
	
		$("#footer").hover(function(){
			$(this).fadeTo("fast", 1.0); // This should set the opacity to 100% on hover
		},function(){
	   		$(this).fadeTo("fast", 0.7); // This should set the opacity back to 60% on mouseout
		});
	});

// slider regular
	    $(window).load(function() {
	        $('#slider').nivoSlider({
	        effect:'boxRain',
	        animSpeed: 1000,
	        pauseTime: 5000,
	        controlNavThumbs: true
	        });
	    });


// slider homepage
	    $(window).load(function() {
	        $('#slider_home').nivoSlider({
	        effect:'slideInLeft',
	        animSpeed: 1000,
	        pauseTime: 10000,
	        controlNavThumbs: true
	        });
	    });

// Slider pagina mensen
		$(document).ready(function(){
		    $("#myController").jFlow({
		    	slides: "#slides",
		    	controller: ".jFlowControl", // must be class, use . sign
		    	slideWrapper : "#jFlowSlide", // must be id, use # sign
		    	selectedWrapper: "jFlowSelected",  // just pure text, no sign
		    	auto: true,		//auto change slide, default true
		    	width: "356px",
		    	height:"478px",
		    	duration: 400,
		    	prev: ".jFlowPrev", // must be class, use . sign
		    	next: ".jFlowNext" // must be class, use . sign
		    });
		});

// Fade werk
		$(document).ready(function() {
		    $('#bg').fadeIn(1000);
		    $('.fade').fadeIn(1500);
		    $('.fade_werk').fadeIn(1000);

		});

// Faden van alle gekleurde thumbnails
		$(document).ready(function($){																																	 
			$(".fade_werk").hover(																																				 
				function() {																	 																			 
					$(this).stop().animate({"opacity": "0"}, 450);								 																			 
					},																																						 
				function() {																	 																			 
					$(this).stop().animate({"opacity": "1"}, 450);								 																			 
					});																																		 
		});	
    

    
