// --------------------------------------------------------------------------------
// Função para tirar borda cinza das animações em flash!
window.onload = function(){ 
	if (document.getElementsByTagName) { 
		var objs = document.getElementsByTagName("object"); 
			for (i=0; i<objs.length; i++) { 
				objs[i].outerHTML = objs[i].outerHTML; 
			} 
	} 
} 
window.onunload = function() { 
	if (document.getElementsByTagName) { 
		var objs = document.getElementsByTagName("object"); 
			for (i=0; i<objs.length; i++) { 
				objs[i].outerHTML = ""; 
			} 
	} 
} 
// --------------------------------------------------------------------------------
// Função Data
function ShowHours() {
	TodaysHour = new Date()
	horas = TodaysHour.getHours()
	minutos = TodaysHour.getMinutes()
	if (horas < 10)
		horas= "0" + horas
	if (minutos < 10)
		minutos = "0" + minutos
document.write(horas+"h "+minutos+"min - ")
}
function ShowTodayDate() {
	now = new Date()
	dia = now.getDate()
	mes = now.getMonth() + 1
	ano = now.getYear()
	if (dia < 10)
		dia = "0" + dia
	if (mes < 10)
		mes = "0" + mes
	if (ano < 00)
		ano = "19" + ano
	document.write(dia+"/" +mes+ "/" +ano)
}
// --------------------------------------------------------------------------------
// Função PNG ativo no IE6 ou inferior
function highlight(value, srcPrefix, img){
	img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/" + srcPrefix + (value>0?1:0) + ".png', sizingMethod='scale')"
}