/**
 * @author cpeters
 */
$(function() {
	$.wdtVariables = {
		'footerHTML': '&copy; 2010 WorkDynamics Technologies'
	};
	$("#footer").append($.wdtVariables.footerHTML);

	var _combinedHeight = $("#center").height() + $("#header").height() + $("#footer").height();
	var _height =( $(window).height() > _combinedHeight )? $(window).height(): _combinedHeight + 40;

	$("#container").css({
		'left': ($(window).width() - $("#container").width())/2,
		'top': '0',
		'height': _height
	});
	$("#content").css({
		'height': $("#container").height()-$("#header").height()-$("#footer").height()-22 
	});
	$("#left").css({
		'height': $("#content").height()-10 
	})
});