TAM Airlines ( TAM Linhas AÃ reas in Portuguese ) is Brazilian airline . On December 21 , 2009 , TAM Airlines purchased Pantanal Linhas AÃ reas . TAM , however , decided to maintain Pantanal as a different airline within the TAM Group and integrated into its network of TAM .