﻿$(function(){
	var leftMenuH	= $('#leftmenu').outerHeight();
	var contentH	= $('#content').outerHeight();
	
	if (leftMenuH > contentH)
		$('#center').height(leftMenuH);
	else
		$('#center').height(contentH);
		
	$('#bottom').css('top', $('#center').position().top + $('#center').height());
	$('#footer').css('top', $('#bottom').position().top + $('#bottom').outerHeight() + 10);
});
