function equalHeight(group) {
	tallest = 0;
	group.each(function() {
	thisHeight = $(this).height();
	if(thisHeight > tallest) {
	tallest = thisHeight;
	}
	});
	group.height(tallest);
}

$(document).ready(function() {
	$(window).load(function(){
	equalHeight($(".twoColumns .column"));
	// move sideFooter to correct position
	var sideHeight=$("#body").height();
	var sideFooterHeight=$("#sidefooter").height();
	var sideLogoHeight=$("#side #logo").height();
	var sideSubmenuHeight=$("#side #submenu").height();
	$("#side").height(sideHeight);
	$("#sidefooter").css("margin-top",sideHeight-sideLogoHeight-sideSubmenuHeight-sideFooterHeight);
	});
	
	$("a.fancybox").fancybox();

});

