function AbreJanelaGaleria(URL) {
  var width = 735;
  var height = 495;
  var left = 50;
  var top = 10
  window.open(URL, 'ema3', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no');
}

function AbreAlbum(URL) {
  var width = 550;
  var height = 355;
  var left = 50;
  var top = 10
  window.open(URL, 'Album', 'width='+width+', height='+height+', top='+top+', left='+left+', scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no');
}

function indica(url) {
  window.open(url,'indica','width=448, height=218, top=12, left=15, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no')
}

function Comprar(url) {
  window.open(url,'comprar','width=565, height=240, top=12, left=15, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no')
}

function AddAlbum(url) {
  window.open(url,'addalbum','width=535, height=218, top=12, left=15, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no')
}

function cores(url) {
  window.open(url,'popupImageWindow','width=225, height=169, top=10, left=10, scrollbars=no, status=no, toolbar=no, location=no, directories=no, menubar=no, resizable=no, fullscreen=no')
}

function fotos_noticias(url) {
  window.open(url,'popupImageWindow','width=400, height=300, screenX=0, screenY=0, top=150, left=20, toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no')
}
//FUNCÕES DAS NOTÍCIAS
function TextoTamanho (elem, acao)
  {
      // tamanho inicial da fonte (em px)
      var tamInic = 11;
      
      // Tamanho mínimo da fonte (em px)
      var tamMin = 10;
      
      // Tamanho máximo da fonte (em px)
      var tamMax = 25;

      // Pega o tamanho da fonte. Se não foi setada ainda (primeira vez
      // que a função é executada) terá como tamanho padrão 'tamInic'.
      if (document.getElementById(elem).style.fontSize == "") 
        var tamFonte = tamInic;
      else
        var tamFonte = parseInt(document.getElementById(elem).style.fontSize);
      switch (acao)
      {
        // Aumenta o tamanho, enquanto foi menor que 'tamMax'
        case '+':
          if (tamFonte < tamMax)
            document.getElementById(elem).style.fontSize = (tamFonte + 2) + "px";
        break;
        
        // Diminui o tamanbo, enquanto for maior que 'tamMin'
        case '-':
          if (tamFonte > tamMin)
            document.getElementById(elem).style.fontSize = (tamFonte - 2) + "px";
        break;
      }
  }

