//Script anti-frame
if(top.frames.length!=0){top.location=location;}

// script do relogio
var timerID = null;
var timerRunning = false;
function stopclock()
{
    if(timerRunning)
        clearTimeout(timerID)
    timerRunning = false;
}
function startclock()
{
    stopclock();
    showtime();
}
d=new Array("Domingo","Segunda","Terça","Quarta","Quinta","Sexta","Sábado");
m=new Array("Janeiro","Fevereiro","Março","Abril","Maio","Junho","Julho","Agosto","Setembro","Outubro","Novembro","Dezembro");
function showtime()
{
    var date = new Date();
    var day = date.getDate(); 
    var year= date.getYear();
    var timeValue = d[date.getDay()]+", " + day+" de "+m[date.getMonth()]+" de "+year;
    document.clock.face.value = timeValue;
    timerID = setTimeout("showtime()",1000);
    timerRunning = true;
}
