//*****************************************************************************
//* Executar arquivos FLASHES sem solicitar para ativar Control-X
//*****************************************************************************
	function ExecSwf(url,width,height,salign,id,blur) {
		if (AC_FL_RunContent == 0) {
			alert("This page requires AC_RunActiveContent.js. In Flash, run \'Apply Active Content Update\' in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.");
		} else {
			if (blur){
				AC_FL_RunContent(
				"codebase",							"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0",
				"width",							width,
				"height",							height,
				"onBlur",							"MM_showHideLayers('divplanta','','hide')",	
				"align",							"middle",
				"src",								url,
				"quality",							"high",
				"id",								""+id+"",
				"movie",							url,
				"allowScriptAccess",				"sameDomain",
				"menu",								"false",			
				"scale",							"noscale",			
				"wmode",							"transparent",
				"name",								""+id+"",
				"pluginspage",						"http://www.macromedia.com/go/getflashplayer",
				"type",								"application/x-shockwave-flash",
				"salign",							salign); //end AC code
			}else{
				AC_FL_RunContent(
				"codebase",							"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0",
				"width",							width,
				"height",							height,
				"align",							"middle",
				"src",								url,
				"quality",							"high",
				"id",								""+id+"",
				"movie",							url,
				"allowScriptAccess",				"sameDomain",
				"menu",								"false",			
				"scale",							"noscale",			
				"wmode",							"transparent",
				"name",								""+id+"",
				"pluginspage",						"http://www.macromedia.com/go/getflashplayer",
				"type",								"application/x-shockwave-flash",
				"salign",							salign); //end AC code
			}
		}
	}

//*****************************************************************************
//* Retira a cor do fundo do DIV assim que o falsh é carregado
//*****************************************************************************
	function fundoDiv() {
		DivHome.style.background = "";
	}

	function LiberaDiv() {
		DivHome.style.zIndex=-1;
	}
