var $ = jQuery;
$(function(){
	logoAnimate();
	sidebarHeight();
});


function logoAnimate(){
	$('.icon, .designation').hide();
	$('.animate').fadeIn();
	$('.logo a').delay(4000).animate({
		opacity: 1,
		marginRight: "6.0in"
		}, 2500, 'linear', function() {
			$('.icon').fadeOut('slow');
		$(this).animate({
			marginLeft: "3.0in"
		}, 2500, 'linear', function() {
			$('.designation').slideDown(1000).fadeIn(1200);
		});
	});
};


function sidebarHeight(){
	var articleHeight = ($('article.posts').height())+30;
	$('aside.sidebar').css('min-height', articleHeight+'px');
};
