// JavaScript Document
function abrirFloater(strArquivo, strURL, strPosicaoX, strPosicaoY, strTamanhoW, strTamanhoH, strTempo){
	var src = '<style type="text\/css"><!--';
		src = src + '#floaterAramacan { position:absolute;left:' + strPosicaoX + 'px;top:' + strPosicaoY + 'px;width:' + strTamanhoW + 'px;height:' + strTamanhoH + 'px;z-index:1;}';
		src = src + '#floaterAramacan #fechar { position:absolute; top: 5px; right: 0px; width:45px; height:20px; }';
		src = src + '#floaterAramacan #fechar a{ position:relative; display: block; width:45px; height:20px; z-index:999; background-color: #fff; color: #000}';
		src = src + '--><\/style>';
		src = src + '<div id="floaterAramacan"><div id="fechar"><a title="Fechar" onclick="fecharFloater()" href="javascript:;">fechar<\/a><\/div><a href="' + strURL + '"><img border="0" src="' + strArquivo + '" alt="Aten&ccedil;&atilde;o" \/><\/a><\/div>';
	document.write(src);
	
	var intervalo = window.setInterval(function() {
		document.getElementById("floaterAramacan").style.visibility = "hidden";
		clearInterval(intervalo);
	}, strTempo);
}

function fecharFloater(){
	document.getElementById("floaterAramacan").style.visibility = "hidden";
}