var min_height = 695;
var padding = 60;

$(document).ready(function()
{	
  if($('#col1_content').height() < min_height)
  {
    $('#col1_content').css('height',min_height);
  }
  
  if($('#col1_content').height() < $('#col2').height())
  {
    $('#col1_content').css('height',$('#col2').height());
  }

  if($('#col1_content').height() < $('#col3').height())
  {
    $('#col1_content').css('height',$('#col3').height());
  }
  
  if($('#sidebar').height() + padding < $('#main').height())
  {
    $('#sidebar_link').css('height',$('#main').height() - $('#sidebar').height());
  }
  
  DD_belatedPNG.fix('#page_margins');
  DD_belatedPNG.fix('#noticias_head');
  DD_belatedPNG.fix('.lvl1-no');
  DD_belatedPNG.fix('.lvl1 a');
  DD_belatedPNG.fix('#sidebar_bottom');
  
  if($.browser.msie && $.browser.version == '7.0')
  {
    $('#footer').css('margin-top','60px');
  }
 
});