///*** LINKS EXTERNOS ***///
function createExternalLinks() {
	$("a[rel='externo'], a[class*='externo']").attr("target","_blank").attr("title",function () {
				this.title += " (abrirá em nova janela)";
			});
}

///*** GERAIS ***///
function decodeText(txt) {
	txt = txt.replace(/\+/g," ");
	return unescape(txt);
}

function flashCabecalho() {
	$("#flashTop").flash({
		src: ABSURL_FLASH_HEADER,
		width: 950,
		height: 150,
		wmode: 'transparent'
	});
}

function goHome() {
	document.location.href = $("#header h1 a").attr("href");
}

function init() {
	createExternalLinks();
	flashCabecalho();
}

$(document).ready(function() {
	init();
});
///*** FIM LINKS EXTERNOS ***///
