function equalHeight() {
	var sidebar = $$('.sidebar')[0];
	var content = $$('.content')[0];

	var sidebarWrapper = $$('.sidebar .wrapper')[0];
	var contentWrapper = $$('.content .wrapper')[0];

	sidebarWrapper.style.height = 'auto';
	contentWrapper.style.height = 'auto';

	var sidebarHeight = sidebar.offsetHeight;
	var contentHeight = content.offsetHeight;

	var maxHeight = Math.max(sidebarHeight, contentHeight);

	sidebarWrapper.style.height = maxHeight + 'px';
	contentWrapper.style.height = maxHeight + 'px';
}

Event.observe(window, 'load',
	function() {
		equalHeight();
	}
);
