<!-- Begin

function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

function Openme(newin) {

        flyout=window.open(newin,"flyout","resizable=no,scrollbars=yes,width=540,height=170,top=200,left=40")

}


function Openme1(newin) {

        flyout=window.open(newin,"flyout","resizable=no,scrollbars=no,width=340,height=400,top=100,left=150")

}

function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Janeiro"
monthNames[2] = "Fevereiro"
monthNames[3] = "Março"
monthNames[4] = "Abril"
monthNames[5] = "Maio"
monthNames[6] = "Junho"
monthNames[7] = "Julho"
monthNames[8] = "Agosto"
monthNames[9] = "Setembro"
monthNames[10] = "Outubro"
monthNames[11] = "Novembro"
monthNames[12] = "Dezembro"

dayNames = new MakeArray(7)
dayNames[1] = "domingo"
dayNames[2] = "segunda-feira"
dayNames[3] = "terça-feira"
dayNames[4] = "quarta-feira"
dayNames[5] = "quinta-feira"
dayNames[6] = "sexta-feira"
dayNames[7] = "sábado"

function customDateString(oneDate) {
        var theAgent = navigator.appName
	var theDay = dayNames[oneDate.getDay() + 1]
	var theMonth = monthNames[oneDate.getMonth() + 1]
	if (theAgent.indexOf('Netscape') >= 0) {
	    var theYear = oneDate.getYear() + 1900
	}else{
	    var theYear = oneDate.getYear() + 0000
        }
	return theDay + ", " + oneDate.getDate() + " de " + theMonth + " de " + theYear
}
function DateString(oneDate) {
        var theAgent = navigator.appName
	var theDay = dayNames[oneDate.getDay() + 1]
	var theMonth = monthNames[oneDate.getMonth() + 1]
	if (theAgent.indexOf('Netscape') >= 0) {
	    var theYear = oneDate.getYear() + 1900
	}else{
	    var theYear = oneDate.getYear() + 0000
         }
	return theMonth + " " + oneDate.getDate() + ", " + theYear
}
function dayPart(oneDate) {
	var theHour = oneDate.getHours()
	if (theHour <6 )
		return "Madrugando? Já é "
	if (theHour < 12)
		return "Bom dia - Hoje é "
	if (theHour < 18)
		return "Boa tarde - Hoje é "
	return "Boa noite - Hoje é "
}

<!-- begin hide from old browsers

  function NavRollOver(oTd) {if (!oTd.contains(event.fromElement)) {oTd.bgColor="99CCFF";}}
  function NavRollOut(oTd) {if (!oTd.contains(event.toElement)) {oTd.bgColor="00FF00";}}

// end hiding from old browsers -->

// end date -->

