function resizeBg(){
	var windowWidth = $(window).width();
	var windowHeight = $(window).height();
	var winAspRatio = windowHeight / windowWidth;
	
	if(winAspRatio > bgAspRatio){
		var newHeight = windowHeight+20;
		$('#bg img').height(newHeight);
		$('#bg img').width(newHeight / bgAspRatio);
	} else {
		var newWidth = windowWidth;
		var newHeight = (newWidth * bgAspRatio)+20;
		$('#bg img').width(newWidth);
		$('#bg img').height(newHeight);
	}
}
