$(document).ready
(
	function()
	{
		var windowHeight=$(window).height();   // returns height of browser viewport
		var documentHeight=$(document).height();
		var containerHeight=$("#outer_layout").height();
		if(documentHeight>windowHeight)
		{
				//give the container top width
				$("#outer_layout").css('padding-top','25px');
		}
		else
		{
				var top=(windowHeight - containerHeight) / 2;
				//top=top+$(window).scrollTop();
				if(top<25)
				{
					top=25;
				}		
				$("#outer_layout").css("padding-top", top+"px");
		}
	}
);
