//Cufon.replace('h2', { fontFamily: 'Vegur'});
//Cufon.replace('h1', { fontFamily: 'Vegur'});
	//		Cufon.replace('.menu', { fontFamily: 'studio89'});
		//	Cufon.replace('h3', { fontFamily: 'Vegur'});
	//		Cufon.replace('.page-footer strong', { fontFamily: 'Vegur'});
		//	Cufon.replace('.top-text', { fontFamily: 'Vegur'});
			
			$(function () {
			$('#slider1').anythingSlider({
				startStopped    : false, // If autoPlay is on, this can force it to start stopped
				width           : 500,  // Override the default CSS width
				height           : 400,  // Override the default CSS width
				toggleControls  : false, // if true, then slide in controls on hover and slider change, hide @ other times
				buildNavigation : false,      // If true, builds a list of anchor links to link to each panel
				buildArrows     : true,      // If true, builds the forwards and backwards buttons
				startPanel          :0,         // This sets the initial panel
				autoPlay            : true,      // This turns off the entire slideshow FUNCTIONALY, not just if it starts running or not
				delay: 4000,                    // How long between slide transitions in AutoPlay mode
				easing: "easeInOutExpo",        // Anything other than "linear" or "swing" requires the easing plugin
				animationTime: 400,             // How long the slide transition takes

			});
			
			});
			
			$(document).ready(function(){
	$(".menu .normal").fadeTo(0, 0.7); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	$(".menu .normal").hover(function(){
		$(this).fadeTo(400, 1.0); // This should set the opacity to 100% on hover
	},function(){
   		$(this).fadeTo(400, 0.7); // This should set the opacity back to 60% on mouseout
	});
		});	
		
		//$(document).ready(function(){
	//$(".logo-link").fadeTo(0, 1.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	//$(".logo-link").hover(function(){
	//	$(this).fadeTo(400, 0.0); // This should set the opacity to 100% on hover
	//},function(){
   		//$(this).fadeTo(400, 1.0); // This should set the opacity back to 60% on mouseout
	//});
		//});
		
		$(document).ready(function(){
	$(".project-title").fadeTo(0, 0.0); // This sets the opacity of the thumbs to fade down to 60% when the page loads

	$(".project-title").hover(function(){
		$(this).fadeTo(400, 1.0); // This should set the opacity to 100% on hover
	},function(){
   		$(this).fadeTo(400, 0.0); // This should set the opacity back to 60% on mouseout
	});
		});
		
		 $(function() {
			$(".image-select").click(function() {
			var image = $(this).attr("rel");
			$('#big-img').fadeOut(300, function(){
				$('#big-img').fadeIn('slow');
				$('#big-img').html('<img src="' + image + '"/>');
			});
			return false;
			});
		});

$(function() {
	$('.gallery-small').corner("5px");
	$('#gallery-2').fadeTo('fast', 0.5);
	$('#gallery-3').fadeTo('fast', 0.5);
	$('#gallery-4').fadeTo('fast', 0.5);
});

$(function() {
$('#gallery-1').click(function() {
      $('#gallery-2').fadeTo('fast', 0.5);
	  $('#gallery-1').fadeTo('fast', 1.0);
	  $('#gallery-3').fadeTo('fast', 0.5);
	  $('#gallery-4').fadeTo('fast', 0.5);
        // Animation complete
      });
    });
	
$(function() {
$('#gallery-2').click(function() {
      $('#gallery-1').fadeTo('fast', 0.5);
	  $('#gallery-2').fadeTo('fast', 1.0);
	  $('#gallery-3').fadeTo('fast', 0.5);
	  $('#gallery-4').fadeTo('fast', 0.5);
        // Animation complete
      });
    });
	
$(function() {
$('#gallery-3').click(function() {
      $('#gallery-1').fadeTo('fast', 0.5);
	  $('#gallery-2').fadeTo('fast', 0.5);
	  $('#gallery-3').fadeTo('fast', 1.0);
	  $('#gallery-4').fadeTo('fast', 0.5);
        // Animation complete
      });
    });
	
$(function() {
$('#gallery-4').click(function() {
      $('#gallery-1').fadeTo('fast', 0.5);
	  $('#gallery-2').fadeTo('fast', 0.5);
	  $('#gallery-3').fadeTo('fast', 0.5);
	  $('#gallery-4').fadeTo('fast', 1.0);
        // Animation complete
      });
    });
	
$(document).ready(function() {

		$(".dropbutton").click( function() {

		if ($(".contactdropdown").is(":hidden")) {
			$(".contactdropdown").slideDown("slow");
			$(".dropbutton").html('NAAR BOVEN');
		} else {
			$(".contactdropdown").slideUp("slow");
			$(".dropbutton").html('Hoi');
		}

		});  

	});

