<!-- Programação do DIV -->

function mostra(a){
	if (document.layers){
	document.base.document.layers[a].visibility="show";
	}else{
		if (document.all){
		document.all[a].style.visibility="visible";
		}else{
			if (document.getElementById){
			document.getElementById(a).style.visibility="visible"
			}else{
				document.write('Seu navegador não suporta DHTML');
				}
			}
		}
	}


function esconde(a){
	if (document.layers){
	document.base.document.layers[a].visibility="hide";
	}else{
		if (document.all){
		document.all[a].style.visibility="hidden";
		}else{
			if (document.getElementById){
			document.getElementById(a).style.visibility="hidden"
			}else{
				document.write('Seu navegador não suporta DHTML');
				}
			}
		}
	}

if (screen.width=='800'){
//Left do layer para resolução 800X600
	Left0 = 8;
}else{
	if (screen.width=='1024'){
//Left do layer para resolução 1024X768
	Left0 = 120;
	}else{
//endereço da página superior a 1024px X 768px, trocar index_sup800.htm
	Left0 = 270;
	}
}
<!-- Fim da Programação do DIV -->


<!--
function NewWindow(mypage, myname, w, h, scroll) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
win = window.open(mypage, myname, winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}
//-->


function MostrarData() { 


  
hoje = new Date();
 dia = hoje.getDate();
 dias = hoje.getDay();
 if (dia < 10)
 dia = "0" + dia
 mes = hoje.getMonth();
 ano = hoje.getFullYear();
function CriaArray (n) {
 this.length = n }
 NomeDia = new CriaArray(7)
NomeDia[0] = "Domingo"
 NomeDia[1] = "Segunda-feira"
 NomeDia[2] = "Terça-feira"
 NomeDia[3] = "Quarta-feira"
 NomeDia[4] = "Quinta-feira"
 NomeDia[5] = "Sexta-feira"
 NomeDia[6] = "Sábado"
 NomeMes = new CriaArray(12)
 NomeMes[0] = "Janeiro"
 NomeMes[1] = "Fevereiro"
 NomeMes[2] = "Març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"
document.write ("<small>"+ NomeDia[dias] + ", " + dia + " de "+ NomeMes[mes] + " de "+ ano +" </small>")}
