$(function(){
	$('#dropdown li, #menu_behandelwijzen').hover(function(){
			//DROPDOWN FADE IN
			$('ul', this).stop().fadeTo(200, 1.0);
			$("#menu_behandelwijzen").css({'background-position' : '-71px -179px'});
		},
		function(){
			//DROPDOWN FADE OUT
			$('ul', this).stop().fadeOut(200);     
			$("#menu_behandelwijzen").css({'background-position' : '-71px -165px'});
	});
	
	//LOGO HOVER
	$('#logo').mouseover(function(){
			$(this).stop().fadeTo(500, 0.0);
			$('#logo_hover').stop().fadeTo(200, 1.0);
	});
	$('#logo_hover').mouseout(function(){
			$("#logo").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(500);
	});	
	
	//MENU HOME HOVER
	$('#menu_home').mouseover(function(){
		$(this).stop().fadeTo(300, 0.0);
		$('#menu_home_hover').stop().fadeTo(200, 1.0);
	});
	$('#menu_home_hover').mouseout(function(){
			$("#menu_home").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});		
	
	//MENU BEHANDELWIJZEN HOVER
	$('#menu_behandelwijzen, #menu_behandelwijzen_hover').mouseover(function(){
		$(this).stop().fadeTo(300, 0.0);
		$('#menu_behandelwijzen_hover').stop().fadeTo(200, 1.0);
	});
	$('#menu_behandelwijzen_hover').mouseout(function(){
			$("#menu_behandelwijzen").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});	
	
	//MENU LINKS HOVER
	$('#menu_links').mouseover(function(){
		$(this).stop().fadeTo(300, 0.0);
		$('#menu_links_hover').stop().fadeTo(200, 1.0);
	});
	$('#menu_links_hover').mouseout(function(){
			$("#menu_links").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});		
	
	//MENU CONTACT HOVER
	$('#menu_contact').mouseover(function(){
		$(this).stop().fadeTo(300, 0.0);
		$('#menu_contact_hover').stop().fadeTo(200, 1.0);
	});
	$('#menu_contact_hover').mouseout(function(){
			$("#menu_contact").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});		
	
	//HEADER MASSAGES HOVER
	$('#header_massages').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#header_massages_hover').stop().fadeTo(200, 1.0);
	});
	$('#header_massages_hover').mouseout(function(){
			$("#header_massages").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});	
	
	//HEADER ENERGETISCHE THERAPIE HOVER
	$('#header_energetisch').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#header_energetisch_hover').stop().fadeTo(200, 1.0);
	});
	$('#header_energetisch_hover').mouseout(function(){
			$("#header_energetisch").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});	
	
	//HEADER VOEDINGSADVIES HOVER
	$('#header_voedingsadvies').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#header_voedingsadvies_hover').stop().fadeTo(200, 1.0);
	});
	$('#header_voedingsadvies_hover').mouseout(function(){
			$("#header_voedingsadvies").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});	
	
	//HEADER MEER INFORMATIE HOVER
	$('#header_meerinformatie').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#header_meerinformatie_hover').stop().fadeTo(200, 1.0);
	});
	$('#header_meerinformatie_hover').mouseout(function(){
			$("#header_meerinformatie").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});	
	
	//HEADER BEL MIJ TERUG HOVER
	$('#header_belmijterug').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#header_belmijterug_hover').stop().fadeTo(200, 1.0);
	});
	$('#header_belmijterug_hover').mouseout(function(){
			$("#header_belmijterug").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});

	//HEADER AFSPRAAK MAKEN HOVER
	$('#header_afspraakmaken').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#header_afspraakmaken_hover').stop().fadeTo(200, 1.0);
	});
	$('#header_afspraakmaken_hover').mouseout(function(){
			$("#header_afspraakmaken").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});
	
	//BUTTON LEES MEER
	$('#lees_meer').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#lees_meer_hover').stop().fadeTo(200, 1.0);
	});
	$('#lees_meer_hover').mouseout(function(){
			$("#lees_meer").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});
	
	$('#lees_meer_hover, #lees_meer').click(function(){
			$(".lees_meer_text").slideDown(300);
			$(".button_container").fadeOut(300);
	});	
	
	//BUTTON DOWNLOAD
	$('#download').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#download_hover').stop().fadeTo(200, 1.0);
	});
	$('#download_hover').mouseout(function(){
			$("#download").stop().fadeTo(200, 1.0);
			$(this).stop().fadeOut(300);
	});	
	
	//BUTTON VERSTUUR CONTACTFORMULIER
	$('#verstuur_contactformulier').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#verstuur_contactformulier_hover').stop().fadeTo(200, 1.0);
	});
	$('#verstuur_contactformulier').mouseout(function(){
			$("#verstuur_contactformulier").stop().fadeTo(200, 1.0);
			$("#verstuur_contactformulier_hover").stop().fadeOut(300);
	});	
	
	//BUTTON VERSTUUR BEL MIJ TERUG
	$('#verstuur_belmijterug').mouseover(function(){
			$(this).stop().fadeTo(300, 0.0);
			$('#verstuur_belmijterug_hover').stop().fadeTo(200, 1.0);
	});
	$('#verstuur_belmijterug').mouseout(function(){
			$("#verstuur_belmijterug").stop().fadeTo(200, 1.0);
			$("#verstuur_belmijterug_hover").stop().fadeOut(300);
	});	
});
