
	$(document).ready(function(){
		
		$('.nieuwsbrief input').focus(function(){
			
			if($(this).attr('type') != 'submit'){
				if($(this).attr('value') == 'typ hier uw e-mailadres'){
					$(this).attr('value','');
					$(this).css('font-style','inherit');
				}
				
				$(this).css('background-color','#333');
			}
			
		});
		
		$('.nieuwsbrief input').blur(function(){
			
			if($(this).attr('type') != 'submit'){
				if($(this).attr('value') == ''){
					$(this).attr('value','typ hier uw e-mailadres');
					$(this).css('font-style','italic');
				}
				
				$(this).css('background-color','#222');
			}
			
		});
		
		$('.icons img').mouseover(function(){
			
			$(this).css('vertical-align','top');
			$(this).stop().animate({marginTop:'5px'},{duration:300});
			
		});
		
		$('.icons img').mouseout(function(){
			
			$(this).stop().animate({marginTop:'0'},{duration:300});
			
		});
		
		$('#bottom .images').cycle({
			pager : '.nav',
			slideExpr: 'div.slider',
			prev: '.prev',
			next: '.next',
			startingSlide: 1,
		});
		
		$('#bottom .images').cycle('prev');
		$('#bottom .images').cycle('pause');
		
	});
