jQuery(document).ready(function($){

    var muziekURL = "http://www.elizabet.nl/muziek_pf/",
		productieURL = "http://www.elizabet.nl/productie_",
		techniekURL = "http://www.elizabet.nl/techniek_p",		
		currentLocation = document.location.href.substr(0,33);
												
				if (currentLocation == muziekURL) {				
				$("body").animate({ backgroundColor: "#151C07"}, 100);
				$(".nieuws").animate({ borderBottomColor: "#99CC33"}, 100);  
				$("#stripe_trans").add("#header").add("#tabtekst_2").animate({ backgroundColor: "#99CC33"}, 100);
				$("#tab_2").add("a.green").animate({ color: "#99CC33"}, 100);
				$("#tabtekst_3").stop().animate({ backgroundColor: "#B8860B" }, 100);
				$("#tab_3").add("a.gold").stop().animate({ color: "#B8860B" }, 100);
				$("#tabtekst_4").stop().animate({ backgroundColor: "#765AAD" }, 100);  
				$("#tab_4").add("a.purple").stop().animate({ color: "#765AAD" }, 100);					  				  
				}
				
				else if (currentLocation == productieURL) {		
				$("body").animate({ backgroundColor: "#251B02"}, 100);  
				$(".nieuws").animate({ borderBottomColor: "#FFCC33"}, 100);  
				$("#stripe_trans").add("#header").add("#tabtekst_3").animate({ backgroundColor: "#FFCC33"}, 100);  				
				$("#tab_3").add("a.gold").animate({ color: "#FFCC33"}, 100);
				$("#tabtekst_2").stop().animate({ backgroundColor: "#6B8E23" }, 100);  
				$("#tab_2").add("a.green").stop().animate({ color: "#6B8E23" }, 100);	
				$("#tabtekst_4").stop().animate({ backgroundColor: "#765AAD" }, 100);  
				$("#tab_4").add("a.purple").stop().animate({ color: "#765AAD" }, 100);
				} 
				
				else if (currentLocation == techniekURL) {		
				$("body").animate({ backgroundColor: "#181223"}, 100);  
				$(".nieuws").animate({ borderBottomColor: "#B39BE4"}, 100);  
				$("#stripe_trans").add("#header").add("#tabtekst_4").animate({ backgroundColor: "#B39BE4"}, 100);  		
				$("#tab_4").add("a.purple").animate({ color: "#B39BE4"}, 100);
				$("#tabtekst_2").stop().animate({ backgroundColor: "#6B8E23" }, 100);  
				$("#tab_2").add("a.green").stop().animate({ color: "#6B8E23" }, 100);						
				$("#tabtekst_3").stop().animate({ backgroundColor: "#B8860B" }, 100);
				$("#tab_3").add("a.gold").stop().animate({ color: "#B8860B" }, 100);
				} 
				
				else {
				$("body").animate({ backgroundColor: "#202020"}, 100);  
				$(".nieuws").animate({ borderBottomColor: "#FFF"}, 100);  
				$("#stripe_trans").add("#header").animate({ backgroundColor: "#FFF"}, 100);				
				$("#tabtekst_2").stop().animate({ backgroundColor: "#6B8E23" }, 100);  
				$("#tab_2").add("a.green").stop().animate({ color: "#6B8E23" }, 100);				
				$("#tabtekst_3").stop().animate({ backgroundColor: "#B8860B" }, 100);
				$("#tab_3").add("a.gold").stop().animate({ color: "#B8860B" }, 100);
				$("#tabtekst_4").stop().animate({ backgroundColor: "#765AAD" }, 100);  
				$("#tab_4").add("a.purple").stop().animate({ color: "#765AAD" }, 100);							  				
				}
			



}); // End document ready function.
















