var dayarray=new Array("Domingo","Segunda Feira","Ter&ccedil;a Feira","Quarta Feira","Quinta Feira","Sexta Feira","S&aacute;bado")

function getthedate(){
	var mydate=new Date()
	var year=mydate.getYear()
	if (year < 1000)
	year+=1900
	var day=mydate.getDay()
	var month=mydate.getMonth()+1
	var daym=mydate.getDate()
	if (daym<10)
	daym="0"+daym
	var hours=mydate.getHours()
	var minutes=mydate.getMinutes()
	var seconds=mydate.getSeconds()
	if (hours==0)
	hours="0"+hours
	if (minutes<=9)
	minutes="0"+minutes
	if (month<=9)
	month="0"+month
	if (seconds<=9)
	seconds="0"+seconds
	//change font size here
	//change font size here
	var cdate="<font style='font-size: 10px; font-family: tahoma, arial, verdana, helvetica; color: #989898;'><b>"+dayarray[day]+", "+daym+"/"+month+"/"+year+"</b> - "+hours+":"+minutes+":"+seconds+"</font></small>"
	if (document.all)
	document.all.clock.innerHTML=cdate
	else if (document.getElementById)
	document.getElementById("clock").innerHTML=cdate
	else
	document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()

function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}