function anti_out() {
	$('.flash-container').each(function() {
		if ($(document).height() < $(this).height() + 65) {
			$(this).css("margin-top", 0).css("top", 65);
		} else {
			$(this).css("margin-top", -$(this).height() / 2).css("top",	"50%");
		}
	})
}

$(function() {
	window.onresize = function() {
		anti_out();
	}
})
