$(document).ready(function(){  
	$('.boven a').click(function(){
		$('html, body').animate({scrollTop:0}, 750);
	});
	
		$(' .pfitem').hover(function(){$(this).find('div').animate({bottom: '0px'},{queue:false,duration: 300});
	}, function(){$(this).find('div').animate({bottom: '-132px'},{queue:false,duration: 300});
	});

	
	jQuery('#mycarousel').jcarousel();
	
	$("#header ul li").hover(
		function(){$("ul", this).fadeIn(250);},
		function(){$("ul", this).fadeOut(250);}
	);
	$("#header ul li").hoverClass("sfHover");
	});	
	$.fn.hoverClass = function(c){
	return this.each(function(){
		$(this).hover( 
			function(){$(this).addClass(c);},
			function(){$(this).removeClass(c);}
		);
	});
};

$(document).ready(function(){
	
	
	 $('.holder').hover(
		function () {
		$(this).removeClass('.notactive');	
		$('.notactive').stop().animate({'width':'290px'},400); 
        $(this).find('img').stop().animate({'top':'-125px'},400); 
		$(this).stop().animate({'width':'380px'},400); 
		$(this).find('span').css({'background-color':'#000'}); 
		$(this).find('.text').fadeIn(300); 
      },
	    function () {
		  	$('.notactive').stop().animate({'width':'320px'},400); 
		  	$(this).addClass('.notactive');	
			$(this).find('.text').hide();
       	    $(this).find('img').stop().animate({'top':'0px'},500); 
		    $(this).stop().animate({'width':'320px'},400);
			$(this).find('span').css({'background-color':'#333', 'color':'#dedede'}); 
		 
      });
	
});

$(document).ready(function(){
    $('#tweetFeed').jTweetsAnywhere({
        username: 'bartsinternet',
        count: 1,
		showTweetFeed: {
        paging: { mode: 'more' }
    }
    });
});
