// Abre pop up dos sócios....
function AbrePop(nome){
  pagina = nome+".htm"
  faleNois = open(pagina, "abrepop", "width=320, height=300, top=20")
  faleNois.focus()
}

// Abre pop up dos colaboradores...
function AbrePop2(nome){
  pagina = nome+".html"
  faleNois = open(pagina, "abrepop2", "width=640, height=400, top=20")
  faleNois.focus()
}

// verifica se foi escolhido um email dos colaboradores
function TestaDestino(){
  if (document.form1.destination.value==""){
    alert ("Você deve selecionar um destino!")
	return false
  }
  else{
    return true
  }
}

//abre pop up do flash - rádio
function openWindow(URL){
  newWindow = open(URL,"openwindow", "width=200, height=100, left=380, top=200")
}

//abre popup padrão
function abrejanela(aux){
  tela=window.open(aux, 'abrejanela', 'height=430,width=500,marginwidth=0,marginheight=0,top=50,left=50');
  tela.focus()
}

//abre popup c/ rolagem
function abrejanela1(aux){
  tela=window.open(aux, 'abrejanela1', 'height=430,width=650,marginwidth=0,marginheight=0,top=50,left=50,scrollbars');
  tela.focus()
}

//abre popup do álbum
function abrejanela2(aux){
  tela2=window.open(aux, 'abrejanela2', 'height=480,width=755,marginwidth=0,marginheight=0,top=50,left=50');
  tela2.focus()
}

//------------------------------------------
function Data(){
	  hoje = new Date()
	  dia=hoje.getDate()
	  nromes=hoje.getMonth()+1
	  ano=hoje.getYear()
	  
	  if (nromes==1) {
	  	mes = "janeiro"
	  }
	  else if (nromes==2) {
	  	mes = "fevereiro"
	  }
	  else if (nromes==3) {
	  	mes = "março"
	  }
	  else if (nromes==4) {
	  	mes = "abril"
	  }
	  else if (nromes==5) {
	  	mes = "maio"
	  }
	  else if (nromes==6) {
	  	mes = "junho"
	  }
	  else if (nromes==7) {
	  	mes = "julho"
	  }
	  else if (nromes==8) {
	  	mes = "agosto"
	  }
	  else if (nromes==9) {
	  	mes = "setembro"
	  }
	  else if (nromes==10) {
	  	mes = "outubro"
	  }
	  else if (nromes==11) {
	  	mes = "novembro"
	  }
	  else {
	  	mes = "dezembro"
	  }
	  
	    msg = dia+" de "+mes+" de "+2008
	  
	  document.write(msg)
	}

	//----------------------------------------------------------