$(document).ready(function() {
	
 
  
  /*function chainTheAnimations(){	
	  $('#header').delay(200).animate({
		marginTop:"0px"
	  }, 600, function() {
		sendInTheFoot();
	  });
  }*/
  
  function sendInTheFoot(){
	  $('#footer,ul#mainnav').animate({
		marginTop:"0px"
	  }, 400, function() {
		fadeInTheRest();
	  }) ; 
  }
  
  function fadeInTheRest(){
  		$('#rich').fadeIn(400);
		$('ul#socialnav').fadeIn(400);
		//$('#prev,#next').delay(1000).animate({
			//top:"300px",
			//opacity:"1"
	 		//}, 600, function() {
			//});
											 
											 
		$('#blogbubble').delay(300).animate({
			bottom:"25px",
			opacity:"1"
	 		}, 600, function() {
			});
		}	
	
	//chainTheAnimations();
	sendInTheFoot();
						   
});
