
//<!#--------------------- DATA POR EXTENSO (BARRA TOP) -----------------#!>
function databarratop(){
hoje = new Date()

dia = hoje.getDate()
dias = hoje.getDay()
mes = hoje.getMonth()
ano = hoje.getYear()
	if (dia < 10)
		dia = "0" + dia
	if (ano < 2000)
		ano = "19" + ano

function CriaArray (n)
{
this.length = n
}
NomeDia = new CriaArray(7)
NomeDia[0] = "Domingo"
NomeDia[1] = "Segunda"
NomeDia[2] = "Terça"
NomeDia[3] = "Quarta"
NomeDia[4] = "Quinta"
NomeDia[5] = "Sexta"
NomeDia[6] = "Sábado"


//NomeMes = new CriaArray(12)
//NomeMes[0] = "Jan"
//NomeMes[1] = "Fev"
//NomeMes[2] = "Mar"
//NomeMes[3] = "Abr"
//NomeMes[4] = "Mai"
//NomeMes[5] = "Jun"
//NomeMes[6] = "Jul"
//NomeMes[7] = "Ago"
//NomeMes[8] = "Set"
//NomeMes[9] = "Out"
//NomeMes[10] = "Nov"
//NomeMes[11] = "Dez"


NomeMes = new CriaArray(12)
NomeMes[0] = "Janeiro"
NomeMes[1] = "Fevereiro"
NomeMes[2] = "Março"
NomeMes[3] = "Abril"
NomeMes[4] = "Maio"
NomeMes[5] = "Junho"
NomeMes[6] = "Julho"
NomeMes[7] = "Agosto"
NomeMes[8] = "Setembro"
NomeMes[9] = "Outubro"
NomeMes[10] = "Novembro"
NomeMes[11] = "Dezembro"


//document.write (NomeDia[dias] + ", " + dia + " de " + NomeMes[mes] + " de " + ano)
//document.write (NomeDia[dias] + ", " + dia + "/" + mes + "/" + ano)
//document.write (dia + " de " + NomeMes[mes] + " de " + ano)
document.write ("Guamaré, " + dia + " " + NomeMes[mes]+ " " + ano)
//document.write (NomeDia[dias] + ", " + dia + " de " + NomeMes[mes] + " " + ano)

}
//<!#--------------------- DATA POR EXTENSO (BARRA TOP) -----------------#!>
//
//
//
//
//

//<!#--------------------------- MULTIBUSCA ------------------------#!>
function NewWindow (width, height, myname, url){

var left, top;
  if (screen.width < width)
    left = 0;
  else
    left = (screen.width  - width) / 2;
  if (screen.height < height)
    top = 0;
  else
    top = (screen.height - height) / 4;
  if ( navigator.appName == "Netscape" )
  {  var w = window.open (url, myname, "height="+height+",width="+width+
    ",screenX=" + left + ",screenY=" + top + ",scrollbars=yes,status=no,toolbar=0,menubar=no,location=0,directories=0,resizeble=yes");}
  else{  var w = window.open (url, myname, "height="+height+",width="+width+
    ",left=" + left + ",top=" + top + ",scrollbars=yes,status=no,toolbar=0,menubar=no,location=0,directories=0,resizeble=yes");}
  if (w)
   w.focus ();
}


function multibusca(palavra,engine){

    if (document.busca.palavra.value == '') {
    alert('Digite sua busca');
    document.busca.palavra.focus();
    return false;
    }

    if (document.busca.palavra.value.length < 3){
    alert('Digite sua busca\ncom pelo menos 3 dígitos');
    document.busca.palavra.focus();
    return false;
    }

    if (document.busca.engine.value == 'google'){url='http://www.google.com/search?q='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'cade'){url='http://br.cade.busca.yahoo.com/search/cade?ei=UTF-8&p='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'altavista'){url='http://www.altavista.com/cgi-bin/query?pg=q&q='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'hotbot'){url='http://www.hotbot.com/?_v=2&amp;RG=NA&amp;act.search=Pesquisar&amp;MT='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'lycos'){url='http://www.lycos.com/cgi-bin/pursuit?query='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'infoseek'){url='http://infoseek.go.com/MSTitles?qt='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'webcrawler'){url='http://webcrawler.com/cgi-bin/WebQuery?searchText='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'yahoo'){url='http://br.busca.yahoo.com/search/br?p='+palavra;open(url);return false;}
    if (document.busca.engine.value == 'radaruol'){url='http://radaruol.uol.com.br/br/index.html?q='+palavra;open(url);return false;}

}
//<!#--------------------------- MULTIBUSCA ------------------------#!>
//
//


//
//
