// JavaScript Document
$(document).ready(
	function() {
		wrap_height();
		$(document).pngFix();
	}
);
$(document).resize(wrap_height);
$(window).resize(wrap_height);

function wrap_height() {
	
		var height = Math.max($(window).height(), $(document).height());
		if ($('#wrapper').height() < height) {			
			$('#wrapper').css({'height': height});
			$('#container').css({'height': height});
		}

}

function page(page)
{
		$.get(page + '.html',
		  	function(data)
			{
				$('#content .content').html(data);
			})
}