// JavaScript Document

function aparecer(obj)
{
	document.getElementById(obj).style.display = '';
	document.getElementById(obj).style.visibility = 'visible';
}
function desaparecer(obj)
{
	document.getElementById(obj).style.display = 'none';
	document.getElementById(obj).style.visibility = 'hidden';
}

function trocarImagem(id,caminho)
{
	document.getElementById(id).src = caminho;
}
function ExibeFlash(src, larg, alt, wmode)
{
	var strHtml = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="'+ larg +'" height="'+ alt +'">';
	strHtml += '<param name="movie" value="'+ src +'" />';
	strHtml += '<param name="quality" value="high" />';
	strHtml += '<param name="menu" value="false" />';
	strHtml += '<param name="wmode" value="'+wmode+'">';
	if (wmode == "transparent")
	{
		strHtml += '<embed src="' + src + '" wmode="transparent" pluginspage="https://get.adobe.com/br/flashplayer/" type="application/x-shockwave-flash" width="' + larg + '" height="' + alt + '"></embed>';
	}
	strHtml += '</object>';
		
	document.write(strHtml);
}