// JavaScript Responsavel pela configuracao do tamanho da fonte no site

var tam = 11;

function mudaFonte( tipo )
{
  if( tipo == 'mais' )
  {
    if( tam < 15 ) tam += 2 ; // linha que define o tamanho max da fonte
  }
  else
  {
    if( tam > 10 ) tam -= 2 ;
  }
  if( document.getElementById( 'mudaFonte' ) )
    mudaFonteRecursiva( tipo , document.getElementById( 'mudaFonte' ) ) ;
 
}

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 = tam+'px';
}