currentDate = new Date();
currentMonth = currentDate.getMonth() + 1;
if(currentMonth==1) Month="Janeiro";
if(currentMonth==2) Month="Fevereiro";
if(currentMonth==3) Month="Mar&ccedil;o";
if(currentMonth==4) Month="Abril";
if(currentMonth==5) Month="Maio";
if(currentMonth==6) Month="Junho";            
if(currentMonth==7) Month="Julho";
if(currentMonth==8) Month="Agosto";
if(currentMonth==9) Month="Setembro";
if(currentMonth==10) Month="Outubro";
if(currentMonth==11) Month="Novembro";
if(currentMonth==12) Month="Dezembro";               
with (currentDate) {document.write(Month + " ");}
// Displays the day.
currentDate = new Date();
with (currentDate) {document.write(getDate() + ", ")};
// Netscape problem to display year 2000 and above
currentDate = new Date();
currentYear = currentDate.getYear();
if((currentYear==103) || (currentYear==2003)) Year="2003";
if((currentYear==104) || (currentYear==2004)) Year="2004";
if((currentYear==105) || (currentYear==2005)) Year="2005";
if((currentYear==106) || (currentYear==2006)) Year="2006";
if((currentYear==107) || (currentYear==2007)) Year="2007";
if((currentYear==108) || (currentYear==2008)) Year="2008";
// Displays the year.
with (currentDate) {document.write(Year)};
