function resizeContainer() {
	var cont = $('#container').height();
	var wind = $(window).height();
	
	
	if (cont < wind) {
		$('#content').height(wind - 300);
	}
}

$(document).ready(function() {
	resizeContainer();
	aniHeight = $('#container').height() - 79;
	//$('#animation').css({'height': aniHeight, 'background-position': '-175px -1500px'}).animate({'background-position': '0 -100px'}, 1500, function() {$('#menu').fadeIn(500)});
	$('#animation').css({'height': aniHeight, 'background-position': '0 -1500px'}).animate({'background-position': '0 -100px'}, 1500);
})

/*
$(window).resize(function() {
	resizeContainer();
	aniHeight = $('#container').height() - 86;
	$('#animation').css({'height': aniHeight});
})
*/

