//Carrega o plugin IFixPng
$('document').ready(function(){
	
	//aplica o pngFix ao logo do Template
	//$.ifixpng('media/pixel.gif'); 
	//$('#logo h4').ifixpng();
	
	// Ajusta altura das divs que estiverem com a class = equal_height
	function EqualHeight()
	{
		max_height = 0;
		$(".equal_height").each(function(){
			temp = parseInt($(this).height());
			//alert(temp);
			max_height = Math.max(max_height, temp);
			//alert(max_height);
		})
			
		$(".equal_height").each(function(){
			$(this).css('min-height', max_height);
		})
	}
	
	$(".equal_height").each(function(){
		$(this).resize(
			EqualHeight()
		);				
	})
	
	var rodape = ($("#container_rodape").outerHeight({ margin: true }));
	
	$(".aumento").each(function(){
		$(this).css('min-height', (max_height + rodape - 2));
	})
	
})