$(function(){
	maxHeight();
	function maxHeight() {
		var newHeight = 1;
		var fHeight = $("#filler").height();
		var bHeight = $(document.body).height()-fHeight+1;
		var wHeight = $(window).height();
		
		if(bHeight < wHeight)
			newHeight = 1 + wHeight - bHeight;
			
		//alert($(document.body).height()+" <? "+$(window).height()+" = "+newHeight);	
		
		$("#filler").css({height: newHeight+"px"});
		
	}

	$(window)
		.scroll(maxHeight)
		.resize(maxHeight)
});
