function Clock() {
	var relogio = new Date();
	var days = relogio.getDate();
	var weekdays = relogio.getDay();
	var months = relogio.getMonth();
	var years = relogio.getFullYear();
	var hours = relogio.getHours();
	var minutes = relogio.getMinutes();
	var seconds = relogio.getSeconds();

	var month = new Array(12)
	month[0] = "JANEIRO"
	month[1] = "FEVEREIRO"
	month[2] = "MARÇO"
	month[3] = "ABRIL"
	month[4] = "MAIO"
	month[5] = "JUNHO"
	month[6] = "JULHO"
	month[7] = "AGOSTO"
	month[8] = "SETEMBRO"
	month[9] = "OUTUTBRO"
	month[10] = "NOVEMBRO"
	month[11] = "DEZEMBRO"

	var weekday = new Array(7)
	weekday[0] = "DOMINGO"
	weekday[1] = "SEGUNDA-FEIRA"
	weekday[2] = "TERÇA-FEIRA"
	weekday[3] = "QUARTA-FEIRA"
	weekday[4] = "QUINTA-FEIRA"
	weekday[5] = "SEXTA-FEIRA"
	weekday[6] = "SÁBADO"

	timeValue = "BRASIL, SÃO PAULO - ";
	timeValue += weekday[weekdays];
	timeValue += " - ";
	timeValue += days;
	timeValue += " DE ";
	timeValue += month[months];
	timeValue += " DE ";
	timeValue += years;
	timeValue += " - ";
	timeValue += ((hours < 10) ? "0" : "") + hours;
	timeValue += ((minutes < 10) ? ":0" : ":") + minutes;
	timeValue += ((seconds < 10) ? ":0" : ":") + seconds;
	document.getElementById("datahora").innerHTML = timeValue;
	setTimeout("Clock()",1000);
}
