var tam = 12;

function mudaFonte( tipo , nome_comp)
{
  if( tipo == 'mais' )
  {
    if( tam < 16 ) tam += 2 ;
  }
  else
  {
    if( tam > 9 ) tam -= 2 ;
  }
  if( document.getElementById(nome_comp) )
    mudaFonteRecursiva( tipo , document.getElementById(nome_comp) ) ;

  if( document.getElementById( 'mudaFoto' ) )
    mudaFonteRecursiva( tipo , document.getElementById( 'mudaFoto' ) ) ;
}

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';
}

