 
 <!-- 
 
  hoje = new Date()
  dia = hoje.getDate()
  dias = hoje.getDay()
  mes = hoje.getMonth()
  d = new Date()
  h = d.getHours()
   if (dia < 10)
   dia = "0" + dia
   ano = "10"    
  function CriaArray (n) {
  this.length = n }
  NomeDia = new CriaArray(7)
  NomeDia[0] = "DOMINGO"
  NomeDia[1] = "SEGUNDA"
  NomeDia[2] = "TER&Ccedil;A"
  NomeDia[3] = "QUARTA"
  NomeDia[4] = "QUINTA"
  NomeDia[5] = "SEXTA"
  NomeDia[6] = "S&Agrave;BADO"
  //
  NomeMes = new CriaArray(12)
  NomeMes[0] = "01"
  NomeMes[1] = "02"
  NomeMes[2] = "03"
  NomeMes[3] = "04"
  NomeMes[4] = "05"
  NomeMes[5] = "06"
  NomeMes[6] = "07"
  NomeMes[7] = "08"
  NomeMes[8] = "09"
  NomeMes[9] = "10"
  NomeMes[10] = "11"
  NomeMes[11] = "12"
   
  document.write ("<FONT COLOR='#F4F4F2' FACE='Verdana' SIZE='1'><b>" + NomeDia[dias] + ", " + dia + "/" + NomeMes[mes] + "/" + ano +".&nbsp</B></FONT>")
   if (h < 12)
        document.write("<b><FONT COLOR='#F4F4F2' FACE='Verdana' SIZE='1'>BOM-DIA !</font>")
     else
       if (h < 18)
          document.write("<b><FONT COLOR='#F4F4F2' FACE='Verdana' SIZE='1'>BOA-TARDE!</font>")
       else
          document.write("<b><FONT COLOR='#F4F4F2' FACE='Verdana' SIZE='1'>BOA-NOITE!</font>")
 

  // }
  // -->
  
  