$(document).ready(function(menu){
	$("#nav-container").animate({opacity: "0"});
	$(".postflag").animate({opacity: "0"});
	$(".posthumb2").hover(function() {
		$(this).find(".postflag").animate({opacity: "0.9", top: "0"}, 200, "swing");
		}, function() {
		$(this).find(".postflag").animate({opacity: "0", top: "-120"}, 500, "swing");
	});
	$(".menu-trigger").mouseover(function(){
		$("#nav-container").animate({opacity: "1", top: "40"}, 200, "swing");
		$("#out").css({"display":"block"});
		$(this).addClass("active"); return true;
	});
	$("#out").hover(function(){
		$(this).css({"display":"none"});
		$("#nav-container").animate({opacity: "0", top: "-400"}, 400, "swing");
		$(".menu-trigger").removeClass("active"); return true;
	});
});
