<!-- ####################################################################################
<!-- MOSTRA OU OCULTA UMA ENQUETE
<!-- ####################################################################################

function mostrar(VOTAR){
document.getElementById(VOTAR).style.visibility="visible";
}
function ocultar(VOTOS){
document.getElementById(VOTOS).style.visibility="hidden";
}


<!-- ####################################################################################
<!-- MOSTRA OU OCULTA UM MENU
<!-- ####################################################################################

function mostrar(SUBMENU){
document.getElementById(SUBMENU).style.visibility="visible";
}
function ocultar(SUBMENU){
document.getElementById(SUBMENU).style.visibility="hidden";
}

<!-- ####################################################################################
<!-- DEFINE A DATA ATUAL
<!-- ####################################################################################

function MakeArray(n) {
	this.length = n
	return this
}
monthNames = new MakeArray(12)
monthNames[1] = "Janeiro"
monthNames[2] = "Fevereiro"
monthNames[3] = "Março"
monthNames[4] = "Abril"
monthNames[5] = "Maio"
monthNames[6] = "Junho"
monthNames[7] = "Julho"
monthNames[8] = "Agosto"
monthNames[9] = "Setembro"
monthNames[10] = "Outubro"
monthNames[11] = "Novembro"
monthNames[12] = "Dezembro"
dayNames = new MakeArray(7)
dayNames[1] = "Domingo"
dayNames[2] = "Segunda-Feira"
dayNames[3] = "Terça-Feira"
dayNames[4] = "Quarta-Feira"
dayNames[5] = "Quinta-Feira"
dayNames[6] = "Sexta-Feira"
dayNames[7] = "Sábado"

function customDateString() {
	currentDate = new Date()
	var theDay = dayNames[currentDate.getDay() + 1]
	var theMonth = monthNames[currentDate.getMonth() + 1]
	msie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
	if (msie4) {
	    var theYear = currentDate.getYear()
	}
	else {
	     var theYear = currentDate.getYear() +1900
	}
	return theDay + ", " + currentDate.getDate() + " de " + theMonth + " de " + theYear
}


<!-- ####################################################################################
<!-- DIMENSIONA A JANELA DA FOTO
<!-- ####################################################################################

function openPictureWindow_Fever(imageType,imageName,imageWidth,imageHeight,alt,posLeft,posTop) {  // v4.01
	newWindow = window.open("","newWindow","width="+imageWidth+",height="+imageHeight+",scrollbars=no,left="+posLeft+",top="+posTop);
	newWindow.document.open();
	newWindow.document.write('<html>');
	newWindow.document.write('<title>'+alt+'</title><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onBlur="self.close()" >'); 
	newWindow.document.write('<style type=\"text/css\"> .indicator {	background-attachment: fixed; background-image: url(images/indicator.gif); 	background-repeat: no-repeat; background-position: center center; } </style>');
	if (imageType == "swf"){
	newWindow.document.write('<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('<param name=movie value=\"'+imageName+'\"><param name=quality value=high>');
	newWindow.document.write('<embed src=\"'+imageName+'\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"'+imageWidth+'\" height=\"'+imageHeight+'\">');
	newWindow.document.write('</embed></object>');	}else{
	newWindow.document.write('<img src=\"'+imageName+'\" width='+imageWidth+' height='+imageHeight+' alt=\"'+alt+'\">'); 	}
	newWindow.document.write('</body></html>');
	newWindow.document.close();
	newWindow.focus();
}

<!-- ####################################################################################
<!-- DIMENSIONA A JANELA DA FOTO
<!-- ####################################################################################
