function contentSlide(){
	/*Set left to 0 for a starting point*/
	var left = 0;
	/*Get the width of the containing div*/
	var width =$("#content").width();
	/*Set left to 0 for the first div to show on load
	multiply the width to set every next div offset*/
	$("#contHome").css({
		left: 0 + "px"
	});
	$("#contPrijzen").css({
		left: width + "px"
	});
	$("#contFeedback").css({
		left: 2 * width + "px"
	});
	$("#contFaq").css({
		left: 3 * width + "px"
	});
	$("#contStappen").css({
		left: 4 * width + "px"
	});

	$("#Home").click(function() {

		$("#navSlider").animate({
			left: 0 + "px",
			width: 60 + "px"
		});
	
		left -= width;
    
        left = 0;
    
		$("#contHome").animate({
			left: left + "px"
		});
		$("#contPrijzen").animate({
			left: left + width + "px"
		});
		$("#contFeedback").animate({
			left: left + +2 * width + "px"
		});
		$("#contFaq").animate({
			left: left + +3 * width + "px"
		});
		$("#contStappen").animate({
			left: left + +4 * width + "px"
		});

	});

	$("#Prijzen").click(function() {
        
		$("#navSlider").animate({
			left: 80 + "px",
			width: 60 + "px"
		});
		
		left = -600;
    
		$("#contHome").animate({
			left: left + "px"
		});
		$("#contPrijzen").animate({
			left: left + width + "px"
		});
		$("#contFeedback").animate({
			left: left + +2 * width + "px"
		});
		$("#contFaq").animate({
			left: left + +3 * width + "px"
		});
		$("#contStappen").animate({
			left: left + +4 * width + "px"
		});

	});

	$("#Feedback").click(function() {
        
		$("#navSlider").animate({
			left: 165 + "px",
			width: 80 + "px"
		});
		
		left = -1200;
    
		$("#contHome").animate({
			left: left + "px"
		});
		$("#contPrijzen").animate({
			left: left + width + "px"
		});
		$("#contFeedback").animate({
			left: left + +2 * width + "px"
		});
		$("#contFaq").animate({
			left: left + +3 * width + "px"
		});
		$("#contStappen").animate({
			left: left + +4 * width + "px"
		});

	});
	$("#FAQ").click(function() {
        
		$("#navSlider").animate({
			left: 260 + "px",
			width: 60 + "px"
		});
		
		left = -1800;
    
		$("#contHome").animate({
			left: left + "px"
		});
		$("#contPrijzen").animate({
			left: left + width + "px"
		});
		$("#contFeedback").animate({
			left: left + +2 * width + "px"
		});
		$("#contFaq").animate({
			left: left + +3 * width + "px"
		});
		$("#contStappen").animate({
			left: left + +4 * width + "px"
		});

	});
	$("#Stappen").click(function() {
        
		$("#navSlider").animate({
			left: 330 + "px",
			width: 75 + "px"
		});
		
		left = -2400;
    
		$("#contHome").animate({
			left: left + "px"
		});
		$("#contPrijzen").animate({
			left: left + width + "px"
		});
		$("#contFeedback").animate({
			left: left + +2 * width + "px"
		});
		$("#contFaq").animate({
			left: left + +3 * width + "px"
		});
		$("#contStappen").animate({
			left: left + +4 * width + "px"
		});

	});

}

function feedbackSlide(){
	var left = 0;
	var width =$("#feedback").width();
	$("#feedback-feed").css({
		left: 0 + "px"
	});
	$("#serienummer").css({
		left: width + "px"
	});

	$("#createFeedback").click(function() {

		left -= width;
    
        left = 0;
    
		$("#feedback-feed").animate({
			left: left + "px"
		});
		$("#serienummer").animate({
			left: left + width + "px"
		});
	});
	
	$("#customers").click(function() {

		left -= width;
    
        left = -280;
    
		$("#feedback-feed").animate({
			left: left + "px"
		});
		$("#serienummer").animate({
			left: left + width + "px"
		});
	});
}

