// JavaScript Document
/*function equalHeight(group) {
    tallest = 0;
    group.each(function() {
        thisHeight = $(this).height();
        if(thisHeight > tallest) {
            tallest = thisHeight;
        }
    });
    group.css('min-height',tallest);
}*/



$(document).ready(function(){

//MENU PRINCIPAL
	if (seccion == "actualidad") {$("#botActualidad").addClass("current");};
	if (seccion == "sanfrancisco") {$("#botSanfrancisco").addClass("current");};
	if (seccion == "franciscanos") {$("#botFranciscanos").addClass("current");};
	if (seccion == "pastoral") {$("#botPastoral").addClass("current");};
	if (seccion == "agenda") {$("#botAgenda").addClass("current");};

//SUBMENU DESPLEGABLES
      $('#menu ul li').hover(function() {
        $(".submenu ul",this).slideDown("20");
      }, function() {
        $(".submenu ul",this).slideUp("20");
      });
//LLAMAR A LA FUNCION PARA IGUALAR COLUMNAS
/*$('#centro').addClass('columnas');*/

/*$(".columnas").equalHeights();*/

/*equalHeight($(".columnas"));
equalHeight($(".bloqueIgual"));*/

//

	
});	


/*$(window).load(function () {
  equalHeight($(".columnas"));
equalHeight($(".bloqueIgual"));
});*/

	  
$('.destLatCaja').corner();
$('.destLatCaja .foto').corner();
$('.redondo').corner();


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