Cufon.replace('#aboutinfo, .mynetworks, .share, .subscribe', {
	hover: false
});

jQuery.easing.def = 'easeOutQuint';

this.tooltip = function(){
		
	xOffset = 38;
	yOffset = -10;		

	$("a.day").hover(function(e){											  
		this.t = this.title;
		this.title = "";									  
		$("body").append("<p id='day'>"+ this.t +"</p>");
		$("#day")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px")
			.fadeIn("fast");		
    },
	function(){
		this.title = this.t;		
		$("#day").remove();
    });	
	$("a.day").mousemove(function(e){
		$("#day")
			.css("top",(e.pageY - xOffset) + "px")
			.css("left",(e.pageX + yOffset) + "px");
	});			
};

$(document).ready(function(){
	calendar();
	tooltip();
});

function calendar() {
	$('.calendar').toggle(function(){
     $("#navigation").animate({"bottom": "165px", "opacity": 1}, 500);
	 }, function() {
      $("#navigation").animate({"bottom": "0px", "opacity": 1}, 500);
	});

    $(".close").click(function () {  
			$('.calendar').click();	
	 }); 
};

