$(function() {

	$("li.menuTop").hover(function() { //On hover...
		var thumbOver = $(this).find("img").attr("src"); //Get image url and assign it to 'thumbOver'
		//Set a background image(thumbOver) on the <a> top tag + Set position to bottom
		$(this).find("a.buttonTop").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		//Animate the image to 0 opacity (fade it out)
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() { //on hover out...
		//Fade the image to full opacity and remove <a> background image
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonTop").css({'background-image' : 'none'});
		});
	});

	$("li.menuBandleden").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonBandleden").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonBandleden").css({'background-image' : 'none'});
		});
	});

	$("li.menuAgenda").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonAgenda").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonAgenda").css({'background-image' : 'none'});
		});
	});

	$("li.menuVideo").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonVideo").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonVideo").css({'background-image' : 'none'});
		});
	});
	
	$("li.menuFoto").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonFoto").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonFoto").css({'background-image' : 'none'});
		});
	});

	$("li.menuShows").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonShows").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonShows").css({'background-image' : 'none'});
		});
	});

	$("li.menuTwitter").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonTwitter").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonTwitter").css({'background-image' : 'none'});
		});
	});
	
	$("li.menuPers").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonPers").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonPers").css({'background-image' : 'none'});
		});
	});
	
	$("li.menuReferenties").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonReferenties").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonReferenties").css({'background-image' : 'none'});
		});
	});
	
	$("li.menuNieuws").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonNieuws").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonNieuws").css({'background-image' : 'none'});
		});
	});

	$("li.menuContact").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonContact").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonContact").css({'background-image' : 'none'});
		});
	});
	
		$("li.menuBoekingen").hover(function() {
		var thumbOver = $(this).find("img").attr("src");
		$(this).find("a.buttonBoekingen").css({'background-image' : 'url(' + thumbOver + ')'}).css({'background-position' : 'bottom'});
		$(this).find("span").stop().fadeTo(200 , 0);
	}, function() {
		$(this).find("span").stop().fadeTo(100 , 1 , function(){
			$("a.buttonBoekingen").css({'background-image' : 'none'});
		});
	});
});
