function ajustar_pag()
{
var myWidth = 0, myHeight = 0;

myWidth=jQuery(window).width();
myHeight=jQuery(window).height();

//LER ALTURA DO CONTEUDO
var conteudoHeight = jQuery("#conteudo_central_index").height();
  
var winWidth = myWidth;
var winHeight = myHeight;
var n_elementos;
  
//ALTERAR PROPRIEDADES DO RODAPE
if (conteudoHeight <= 465 )
	{
	//coloca o div do rodape como absolute	//position:absolute; bottom:0px; left:0px;
	//jQuery("#rodape").css('position','absolute');
	//jQuery("#rodape").css('bottom','0px');
	//jQuery("#rodape").css('left','0px');
	}

// AJUSTAR ALTURA DO DIV CENTRAL
jQuery("#centro").css('height',winHeight + 'px');
}

/*PARA AJUSTAR SEMPRE QUE É REDIMENSIONADA A PÁGINA*/
jQuery(window).load(function() {

jQuery(window).bind("resize", ajustar_pag);

});

/*PARA AJUSTAR SEMPRE QUE É ESCOLHIDO UM LINK*/
jQuery(document).ready(function(jQuery) {

ajustar_pag();
				
});
