$(document).ready(function(){

		$('.imageslider img').hide();
		$('.imageslider img:nth-child(1)').show();	
		
		/* OVER FORT */
		$('#nav li:nth-child(1) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .overfort').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
		/* DE PRAKTIJK */
		$('#nav li:nth-child(2) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .depraktijk').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
		/* ADVOCATEN */
		$('#nav li:nth-child(3) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .advocaten').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
		/* NIEUWS */
		$('#nav li:nth-child(4) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .nieuws').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
		/* WERKEN BIJ FORT */
		$('#nav li:nth-child(5) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .werkenbijfort').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
		/* ALUMNI */
		$('#nav li:nth-child(6) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .alumni').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
		/* CONTACT */
		$('#nav li:nth-child(7) a').hover(
			function () {
				$('.imageslider img').hide();
		    	$('.imageslider .contact').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
		  	},
		  	function () {
		    	showHome();
		  	}
		);
		
	});
	
	function showHome() {
		$('.imageslider img').hide();
		$('.imageslider .home').css('margin-left','50px').animate({marginLeft: '0', opacity: 'show'}, 500);
	}
