function equalHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
		
	});
	group.height(tallest+'px');
	
}
// Ejecutar actividades en el onload del documento
$(document).ready(function(){
	// Iniciar el tree view
	$('#catalogo-menu').treeview({
	   animated: "fast",
	   collapsed: true,
	   persist: "cookie"
	});	
	
	//el efecto over de las imagenes
	$('a img').fadeTo("fast", 0.80);
	$('a img').mouseover(function(){
		$(this).fadeTo("fast", 1);
	});
	$('a img').mouseout(function(){
		$(this).fadeTo("fast", 0.80);
	});   
	
	// Arreglar PNG para IE
	//DD_belatedPNG.fix('#body-w3');
});	

