function PegaBotao(){
var MENSAGEM = 'Todos os direitos reservados a Mauricio Stasiak Orloski.';
	if (document.all) {
		if (event.button == 2){
	              alert(MENSAGEM);
		}
	}
}
document.onmousedown = PegaBotao;


function over() {

         var sfEls = document.getElementById("nav1").getElementsByTagName("LI");
		     for (var i=0; i<sfEls.length; i++) {
					sfEls[i].onmouseover=function() {
						this.className+=" over";
					}
					sfEls[i].onmouseout=function() {
						//for(x=0; x<100000; x++);
						this.className=this.className.replace(new RegExp(" over\\b"), "");
					}
  		   }
}
if (window.attachEvent) window.attachEvent("onload", over);




function pegaData(){
            	hoje = new Date()
             	dia = hoje.getDate()
                dias = hoje.getDay()
                mes = hoje.getMonth()
                ano = hoje.getYear()
                if (dia < 10)
                dia = "0" + dia
                if (ano < 2000)
                ano = "2" + ano -"100"
                function CriaArray (n) {
                this.length = n }
                NomeDia = new CriaArray(7)
                NomeDia[0] = "Domingo"
                NomeDia[1] = "Segunda-feira"
                NomeDia[2] = "Ter&ccedil;a-feira"
                NomeDia[3] = "Quarta-feira"
                NomeDia[4] = "Quinta-feira"
                NomeDia[5] = "Sexta-feira"
                NomeDia[6] = "S&aacute;bado"
                NomeMes = new CriaArray(12)
                NomeMes[0] = "Janeiro"
                NomeMes[1] = "Fevereiro"
                NomeMes[2] = "Mar&ccedil;o"
                NomeMes[3] = "Abril"
                NomeMes[4] = "Maio"
                NomeMes[5] = "Junho"
                NomeMes[6] = "Julho"
                NomeMes[7] = "Agosto"
                NomeMes[8] = "Setembro"
                NomeMes[9] = "Outubro"
                NomeMes[10] = "Novembro"
                NomeMes[11] = "Dezembro"
                function WriteDate() {
                if(MINUTO>9){
                document.write (NomeDia[dias] + ", " + dia + " de " + NomeMes[mes] + " de " + ano+"&nbsp;&nbsp;-&nbsp;&nbsp;"+HORA+":"+MINUTO)
                }else{
                document.write (NomeDia[dias] + ", " + dia + " de " + NomeMes[mes] + " de " + ano+"&nbsp;&nbsp;-&nbsp;&nbsp;"+HORA+":0"+MINUTO)
                }
                }
//hORA
var RELOGIO = new Date();
var HORA = RELOGIO.getHours();
var MINUTO = RELOGIO.getMinutes();
var SEGUNDO = RELOGIO.getSeconds();
WriteDate();
}

