var $j = jQuery.noConflict();
$j(window).bind("load", function() {
	//set the starting bigestHeight variable
	var biggestHeight = 0;
	//check each of them
	$j('.equal_height').each(function(){
		//if the height of the current element is
		//bigger then the current biggestHeight value
		if($j(this).height() > biggestHeight){
			//update the biggestHeight with the
			//height of the current elements
			biggestHeight = $j(this).height();
		}
	});
	//when checking for biggestHeight is done set that
	//height to all the elements
	$j('.equal_height').height(biggestHeight);
});


$j(function() {
			$j('body.blog #content, body.single-post .post').addClass('equal_height');
			$j('#primary .widget-container:last, body.blog .post:last, body.page-id-137 #container #middle p:last, body.page-id-137 #container #last p:last, body.page-id-139 #top_content_large table p:last').css({
													  "background" : "none",
													  "marginBottom" : "0",
													  "paddingBottom" : "0"
													  })
			$j("body.blog #footer, body.single #footer, body.page-template-default #footer, body.page-template-onecolumn-page-php #footer").appendTo("#wrapper_inner_inner");
});


