function BannerFlutuante(local_banner,url_link,nova_janela,pos_esq,pos_topo,local_img_fechar)  {
	tamanho_div=0;
	largura_div=0;
	div=document.createElement("div");
	div.setAttribute("id","banner_flutuante");
	div.style.position="absolute";
	img_fechar=document.createElement("img");
	img_fechar.setAttribute("src",local_img_fechar);
	img_fechar.style.cursor="pointer";
	img_fechar.align="right";
	tamanho_div+=parseInt(img_fechar.getAttribute("width"));
	div.appendChild(img_fechar);
	img_fechar.onclick=function ()  {
		div.style.display="none";
	}
	img=document.createElement("img");
	img.setAttribute("src",local_banner);
	img.setAttribute("border","0");
	tamanho_div+=parseInt(img.getAttribute("width"));
	largura_div+=parseInt(img.getAttribute("height"));
	if(url_link!="")  {
		a=document.createElement("a");
		a.setAttribute("href",url_link);
		if(nova_janela) a.setAttribute("target","_blank");
		a.appendChild(img);
		div.appendChild(a);
	}
	else  {
		div.appendChild(img);
	}
	div.style.width=tamanho_div+"px";
	if(pos_esq=="centro" && pos_topo=="meio")  {
		div.style.left="50%";
		div.style.top="50%";
		div.style.marginLeft=-parseInt(tamanho_div/2)+"px";
		div.style.marginTop=-parseInt(largura_div/2)+"px";
	}
	else  {
		div.style.left=pos_esq+"px";
		div.style.top=pos_topo+"px";
	}
	document.body.appendChild(div);
}
