function ActiveX(CLSID, VERSION, WIDTH, HEIGHT, SRC, WMODE)
{
	document.write('<object classid="'+ CLSID +'" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+ VERSION +'" width="'+ WIDTH +'" height="'+ HEIGHT +'">')
	document.write('<param name="movie" value="'+ SRC +'">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="menu" value="false">');
	document.write('<param name="wmode" value="'+ WMODE +'">');

	document.write('<embed src="'+ SRC +'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ WIDTH +'" height="'+ HEIGHT +'" menu="false", wmode="'+ WMODE +'"></embed>');
	document.write('</object>');
}

function showHide(id) 
{
	var obj = document.getElementById(id);
	if(obj.style.display == "") 
	{
		obj.style.display = "block";
	} else {
		obj.style.display = "";
	}
}

/*
//ie
if(navigator.appVersion.indexOf("MSIE")!= -1)
{
	var temp = navigator.appVersion.split("MSIE");
	var versao = parseFloat(temp[1]);
	if(versao <= 6)
	{	
		//versão inferior a 7
		document.location.href='avisoie.php';
	}
}
  
//ff
if(navigator.userAgent.indexOf("Firefox")!= -1)
{
	var temp = navigator.userAgent.indexOf("Firefox") + 8;
	var versao = navigator.userAgent.substring(temp, temp + 6);
	if(versao == "1.0.3")
	{			
		document.location.href='avisoff.php';
	}
}*/