
	function exibeFash(swf, width, height, wmode, cache, id){
		noCache = cache || cache == undefined ? "" : "?" + new Date();
		wmode = typeof(wmode) == 'undefined' ? "opaque" : "transparent";

		monta_swf = "";
		monta_swf += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\""+ width +"\" height=\""+ height +"\" ID=\""+ id +"\" title=\"\">";
		monta_swf += "<param name=\"movie\" value=\""+ swf + noCache +"\" />";
		monta_swf += "<param name=\"quality\" value=\"high\" />";
		monta_swf += "<param name=\"menu\" value=\"0\" />";
		monta_swf += "<param name=\"wmode\" value=\""+ wmode +"\" />";
		monta_swf += "<embed src=\""+ swf + noCache +"\" swLiveConnect=\"true\" menu=\"false\" ID=\""+ id +"\" name=\""+ id +"\" quality=\"high\" wmode=\""+ wmode +"\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+ width +"\" height=\""+ height +"\"></embed>";
		monta_swf += "</object>";


		monta_swf = "";
		monta_swf += "<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\"\n";
                monta_swf += "        codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"\n";
                monta_swf += "        id=\""+ id +"\" width=\""+ width +"\" height=\""+ height +"\" align=\"middle\">\n";
                monta_swf += "<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n";
                monta_swf += "<param name=\"movie\" value=\""+ swf + noCache +"\" />\n";
		monta_swf += "<param name=\"wmode\" value=\""+ wmode +"\" />\n";
                monta_swf += "<param name=\"quality\" value=\"high\" />\n";
                monta_swf += "<param name=\"bgcolor\" value=\"#ffffff\" />\n";
                monta_swf += "<embed src='"+ swf + noCache +"' quality='high'\n";
                monta_swf += "       bgcolor=\"#ffffff\" width=\""+ width +"\" height=\""+ height +"\" \n";
                monta_swf += "       swLiveConnect=true id=\""+ id +"\"\n";
                monta_swf += "       name=\"menu\" align=\"middle\"\n";
                monta_swf += "       allowScriptAccess=\"sameDomain\"\n";
                monta_swf += "       type=\"application/x-shockwave-flash\"\n";
                monta_swf += "       pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n";
                monta_swf += "</object>\n";
		//alert(monta_swf)
		document.write(monta_swf);
	}


	<!--
	var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
	// Handle all the the FSCommand messages in a Flash movie
	function menu_DoFSCommand(command, args) {
		var menuObj = InternetExplorer ? menu : document.menu;
		//
		// Place your code here...
		//
		//alert(command)
		if(command=="historia"){
			exibeConteudo("../principal/dados.asp?Tipo=2&id_dado=100001&ID_Link=1&color=0", true);
		}else if(command=="gal1Comunhao"){
			abreJanela('../principal/fotos.asp?id_dado=200001','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="gal15Anos"){
			abreJanela('../principal/fotos.asp?id_dado=200002','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="galBatismo"){
			abreJanela('../principal/fotos.asp?id_dado=200003','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="galCasamento"){
			abreJanela('../principal/fotos.asp?id_dado=200004','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="galCasModerno"){
			abreJanela('../principal/fotos.asp?id_dado=200008','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="galEventos"){
			abreJanela('../principal/fotos.asp?id_dado=200005','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="galInfantis"){
			abreJanela('../principal/fotos.asp?id_dado=200006','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="galOutros"){
			abreJanela('../principal/fotos.asp?id_dado=200007','Webmail',796,500);
			exibeConteudo("", false);
		}else if(command=="eventos"){
			exibeConteudo("../principal/dados.asp?Tipo=3&ID_Link=3&color=1", true);
		}else if(command=="clipping"){
			exibeConteudo("../principal/dados.asp?Tipo=3&ID_Link=4&color=1", true);
		}else if(command=="contato"){
			exibeConteudo("../principal/contato.asp?color=0", true);
		}else if(command=="escondeSubMenuGaleria"){
			escondeSubMenuGaleria();
		}else if(command=="visualizarSubMenuGaleria"){
			visualizarSubMenuGaleria();
		}
	}
	// Hook for Internet Explorer 
	if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
		  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
		document.write('<SCRIPT LANGUAGE=VBScript\> \n');
		document.write('on error resume next \n');
		document.write('Sub menu_FSCommand(ByVal command, ByVal args)\n');
		document.write('  call menu_DoFSCommand(command, args)\n');
		document.write('end sub\n');
		document.write('</SCRIPT\> \n');
	}
	
	
	

	//-->