		// Scroller
		$(function() {
			$("#scroller").scrollable({
					vertical: true,
					circular: true,
					speed: 1200
			}).autoscroll({
					interval: 6000
			 }).navigator();
		});
		
		
		
		$(window).load(function() {
			$('#slider').orbit({
				 animation: 'horizontal-push',
				 advanceSpeed: 1000,
				 directionalNav: false
			});
			$('#project-slider').orbit({
				 animation: 'horizontal-push',
				 timer: true,
				 pauseOnHover: true,
				 startClockOnMouseOut: true,
				 bullets: true
			});
		});
		
		
		
		$(document).ready(function(){
			
				
				// Blog
				$("#home #main .blog .image img").mouseover(function () {
					$(this).animate( { opacity: 0.6 } , 200 );
					$(this).animate( { filter: alpha(opacity=60) } , 200 );
				});
				$("#home #main .blog .image img").mouseout(function () {
					$(this).animate( { opacity: 1.0 } , 200 );
					$(this).animate( { filter: alpha(opacity=100) } , 200 );
				});
				
			
				// Recent Werk
				$("#home .recent-werk .item .image img").mouseover(function () {
					$(this).animate( { opacity: 0.6 } , 200 );
					$(this).animate( { filter: alpha(opacity=60) } , 200 );
				});
				$("#home .recent-werk .item .image img").mouseout(function () {
					$(this).animate( { opacity: 1.0 } , 200 );
					$(this).animate( { filter: alpha(opacity=100) } , 200 );
				});
				
			
				// Werk
				$("#werk .block .image img").mouseover(function () {
					$(this).animate( { opacity: 0.6 } , 200 );
					$(this).animate( { filter: alpha(opacity=60) } , 200 );
				});
				$("#werk .block .image img").mouseout(function () {
					$(this).animate( { opacity: 1.0 } , 200 );
					$(this).animate( { filter: alpha(opacity=100) } , 200 );
				});
				
				
				$('#websites-toggle').click(function() {
					$('#school').hide();
					$('#websites').fadeIn();
					$("#websites-toggle").addClass("current");
					$("#school-toggle").removeClass("current");
				});
				$('#school-toggle').click(function() {
					$('#websites').hide();
					$('#school').fadeIn();
					$("#school-toggle").addClass("current");
					$("#websites-toggle").removeClass("current");
				});
				
				
				// FancyBox
				$("#volledig").fancybox();
						
			
			/* Cufon */
			Cufon.replace('#nav li, #head h1, #head h2, #head h3, #home .recent-werk h2, .cufon', { fontFamily: 'HNMedium', hover: true });
			Cufon.replace('#home .blog h2, #home .twitter h2, #diensten .title h2, #sidebar h2', { fontFamily: 'ProxNovReg', hover: true });
			Cufon.replace('#footer .copyright p', { fontFamily: 'ProxNovSemB', hover: true, textShadow: 'rgba(0,0,0,0.25) 1px 1px' });
			/* / Cufon */
				
		});
