		// Set up Sliders
		// **************
		$(function(){

			$('#slider1').anythingSlider({
				startStopped	: false, // If autoPlay is on, this can force it to start stopped
				
				navigationFormatter: function(index, panel){
					return "&bull;"
				},
				forwardText		:"&nbsp;",
				backText		:"&nbsp;",
				delay			: 6000,
				
				easing			: 'easeInOutBack',
				autoPlay  		: true,  // If true, user changing slides will not stop the slideshow
	//				resumeDelay     : 10000, // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
				onSlideComplete : function(slider){
					// alert('Welcome to Slide #' + slider.currentPage);
				},
				stopAtEnd : false,
				onShowStop : function(e, slider){
					setTimeout(function(){
						if (slider.currentPage === slider.pages) { slider.gotoPage(1); }
					}, 5000);
				}
			});
		});
		
		$(function(){

			$('#introslider').anythingSlider({
				width			: 467,
				height			: 263,
				delay			: 6000,
				startStopped    : false, // If autoPlay is on, this can force it to start stopped
				
				navigationFormatter: function(index, panel){
					return "&bull;"
				},
				forwardText:"&nbsp;",
				backText:"&nbsp;",
				
				easing          : 'easeInOutBack',
				autoPlay  		: true,  // If true, user changing slides will not stop the slideshow
	//				resumeDelay     : 10000, // Resume slideshow after user interaction, only if autoplayLocked is true (in milliseconds).
				onSlideComplete : function(slider){
					// alert('Welcome to Slide #' + slider.currentPage);
				},
				stopAtEnd : false,
				onShowStop : function(e, slider){
					setTimeout(function(){
						if (slider.currentPage === slider.pages) { slider.gotoPage(1); }
					}, 5000);
				}
			});


		});
		
		
		

			/* 
			 * Submenu TO-DO:
			 * Hij moet nog uitgeklapt blijven zolang de muis nog niet van het submenu af is....
 			 *
			
			$("#main1").hoverIntent(function(){
				$("#home").addClass("hovering")
			},function(){
				$("#home").removeClass("hovering")
			},300);
			
			$("#main2").hoverIntent(function(){
				$(".up").slideUp("fast");
				$("#sporten").slideDown("fast");
			},function(){
				$("#sporten").delay(4000).slideUp("fast");
			},300);
			
			$("#main3").hoverIntent(function(){
				$(".up").slideUp("fast");
				$("#sportlocaties").slideDown("fast");
			},function(){
				$("#sportlocaties").delay(4000).slideUp("fast");
			},300);
			$("#main4").hoverIntent(function(){
				$(".up").slideUp("fast");
				$("#speciaal-voor").slideDown("fast");
			},function(){
				$("#speciaal-voor").delay(4000).slideUp("fast");
			},300);
			$("#main5").hoverIntent(function(){
				$(".up").slideUp("fast");
				$("#klantenservice").slideDown("fast");
			},function(){
				$("#klantenservice").delay(4000).slideUp("fast");
			},300);
		});*/
		
