var tamFont = 11;
var tamLine = 13;

function mudaFonte( tipo ){
  if( tipo == 'mais' ){
		if( tamFont < 19 ){
			tamFont += 2 ;
			tamLine += 2 ;
		}
  }
  else{
		if( tamFont > 9 ){
			tamFont -= 2 ;
			tamLine -= 2 ;
		}
  }


  if( document.getElementById( 'noticia_interna' ) )
    mudaFonteRecursiva( tipo , document.getElementById( 'noticia_interna' ) ) ;
}


function mudaFonteRecursiva( tipo , domElement )
{		
  for( var i = 0 ; i < domElement.childNodes.length ; i++ )
  {
    mudaFonteRecursiva( tipo , domElement.childNodes.item( i )  ) ;
  }
  if( domElement.style ){
    domElement.style.fontSize = tamFont+'px';
    domElement.style.lineHeight = tamLine+'px';
  }
}
