$(document).ready(function() {
				$(function($){
					$.nuwelbanner({
						slides :  	[
                                    {image : 'images/banner/6.jpg'},
                                    {image : 'images/banner/1.jpg'},
                                    {image : 'images/banner/2.jpg'},
                                    {image : 'images/banner/3.jpg'},
                                    {image : 'images/banner/5.jpg'}
									]
					});
				});
				$('#linksslide, #rechtsslide').fadeTo(50, 0);
				$('#linksslide, #rechtsslide').hover(function(){
					$(this).fadeTo(300, 1.0); 
					},function(){
						$(this).fadeTo(300, 0);
				});
				$('#jumpwrap', this).hoverIntent(function () { 
				   $('#jumpnieuwscontainer', this).slideToggle(300);
				}, function() {
				   $('#jumpnieuwscontainer', this).slideToggle(200); 
				});
				var wrapper = $('#footer'),
					content = $('#jumpnieuws');
			
				wrapper.bind('mouseenter mousemove', $.throttle(100, mousemove));
			
				function mousemove(e) {
					var wrapper_width = wrapper.outerWidth(),
						content_width = content.outerWidth();
					var tmp = e.pageX * (content_width - wrapper_width) / wrapper_width;
			
					content.stop().animate({
						'margin-left': '-' + tmp + 'px'
					}, 'fast', 'linear');
				}
				$('.jumpnieuwswrap').fadeTo(50, 0.6);
				$('ul#jumpnieuws li').hover(function(){
					$(this).find('.jumpnieuwswrap').fadeTo(300, 1.0); 
					},function(){
						$(this).find('.jumpnieuwswrap').fadeTo(300, 0.6);
				});
				$(function(){
					$('#splash').meerkat({
						background: '#000000 url(../images/welkombij.gif) no-repeat center center',
						height: '100%',
						width: '100%',
						position: 'bottom',
						dontShowAgainAuto: true,
						animationIn: 'none',
						animationOut: 'fade',
						animationSpeed: 500,
						timer: 2
					});
				});				
			
});
