
// JS for positioning footer at bottom of window IF the bottom of the window is below the bottom of the page.

function positionFooter(){
	if($("#wrapper").height() + 140 <= $(window).height()){
		var topHeight = $(window).scrollTop()+$(window).height()-$('#pageFooterOuter').height()+"px";
		$("#pageFooterOuter").css({position: "absolute",top:topHeight,"margin-top":"0px"});
	}	
};

