
// scripts do site //


// popup (abre janelas)
function popup(theURL,winName,features) {
  window.open(theURL,winName,features);
}

// click do mouse com botão contrário não pode
function click() {
if (event.button==2||event.button==3) {
	alert('Angra Sys ®\n\Todos os direitos reservados.')
	}
}
document.onmousedown=click

// esconde o link na barra de status
var hellotext="Hospedeiro"
var thetext=""
var started=false
var step=0
var times=1
function welcometext()
{
	times--
	if (times==0) {
		if (started==false) {
			started = true;
			window.status = hellotext;
			setTimeout("anim()",1);
		}
		thetext = hellotext;
	}
}
function showstatustext(txt)
{
	thetext = txt;
	setTimeout("welcometext()",4000)
	times++
}
function anim()
{
	step++
	if (step==7) {step=1}
	if (step==1) {window.status='@====='+thetext+'=====@'}
	if (step==2) {window.status='=@===='+thetext+'====@='}
	if (step==3) {window.status='==@==='+thetext+'===@=='}
	if (step==4) {window.status='===@=='+thetext+'==@==='}
	if (step==5) {window.status='====@='+thetext+'=@===='}
	if (step==6) {window.status='=====@'+thetext+'@====='}
	setTimeout("anim()",200);
}
welcometext()

// mostra a data do dia de hoje
var now = new Date();
var mName = now.getMonth() + 1;
var dName = now.getDay() + 1;
var dayNr = now.getDate();
var yearNr=now.getYear();
if(dName==1) Day = "Domingo";
if(dName==2) Day = "Segunda-feira";
if(dName==3) Day = "Ter&ccedil;a-feira";
if(dName==4) Day = "Quarta-feira";
if(dName==5) Day = "Quinta-feira";
if(dName==6) Day = "Sexta-feira";
if(dName==7) Day = "S&aacute;bado";
if(mName==1) Mes = "Janeiro";
if(mName==2) Mes = "Fevereiro";
if(mName==3) Mes = "Mar&ccedil;o";
if(mName==4) Mes = "Abril";
if(mName==5) Mes = "Maio";
if(mName==6) Mes = "Junho";
if(mName==7) Mes = "Julho";
if(mName==8) Mes = "Agosto";
if(mName==9) Mes = "Setembro";
if(mName==10) Mes = "Outubro";
if(mName==11) Mes = "Novembro";
if(mName==12) Mes = "Dezembro";
if(yearNr < 2000) Year = 1900 + yearNr;
else Year = yearNr;
// string para mostra a data do dia
var todaysDate =(" " + Day + ", " + dayNr + " de " + Mes + " de " + Year + ".");


