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() {
  //alert($(document).height());
  //$('#contenedor .nav').height($('#contenedor').height());
  /*setTimeout(function() {
    //alert($(document).height());
    $('#contenedor .nav').height($('#contenedor').height())
  }, 200);*/
  //equalHeight($('#contenedor .column'));
  
  if ($('div.cue_por').length)
  {
    alto_min = 755;
  }
  else
  {
    alto_min = 810;
  }
  
  if ($('#contenedor').height() < alto_min)
  {
    $('#contenedor div.nav').height(alto_min);
  }
  else
  {
    $('#contenedor div.nav').height($('#contenedor').height());
  }
})

