function FlashSelBrowser(placeHolderNome, placeHolderLargura, placeHolderAltura, title) {
		var browser = navigator.appName;			
		if (browser == "Netscape"){  			
			var nomeFlashCont = new String(document.getElementById(placeHolderNome).textContent);
			var widthFlashCont = new String(document.getElementById(placeHolderLargura).textContent);
			var heightFlashCont = new String(document.getElementById(placeHolderAltura).textContent);
			
			var nomeFlashCont = new String(nomeFlashCont.replace(/ /g,""));
			var widthFlashCont = new String(widthFlashCont.replace(/ /g,""));
			var heightFlashCont = new String(heightFlashCont.replace(/ /g,""));				
			
			document.write('<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="' + widthFlashCont+ '" height="' + heightFlashCont+ '" title="' + title + '"/>\n');
			document.write('<param name="movie" value="/SiteCollectionImages/_swf/'+nomeFlashCont+'.swf"/>\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="wmode" value="transparent" />\n');
			document.write('<embed src="/SiteCollectionImages/_swf/'+nomeFlashCont+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ widthFlashCont+ '" height="' + heightFlashCont+ '" wmode="transparent"></embed>\n');	
			document.write('</object>\n');
		}
		else{
			document.write('<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="' + placeHolderLargura+ '" height="' + placeHolderAltura+ '" title="' + title + '"/>\n');
			document.write('<param name="movie" value="/SiteCollectionImages/_swf/'+placeHolderNome+'.swf"/>\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="wmode" value="transparent" />\n');
			document.write('<embed src="/SiteCollectionImages/_swf/'+placeHolderNome+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ placeHolderLargura+ '" height="' + placeHolderAltura+ '" wmode="transparent"></embed>\n');	
		    document.write('</object>\n');		    
		}		
}


function Flash(nomeSWF, largura, altura, title) {
    document.write('<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="' + largura + '" height="' + altura + '" title="' + title + '"/>\n');
	document.write('<param name="movie" value="/SiteCollectionImages/_swf/'+nomeSWF+'.swf"/>\n');
	document.write('<param name="quality" value="high" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<embed src="/SiteCollectionImages/_swf/'+nomeSWF+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ largura + '" height="' + altura + '" wmode="transparent"></embed>\n');	
    document.write('</object>\n');		
}


function FlashInclude(nomeArquivo) {
  var browser = navigator.appName;			
		if (browser == "Netscape"){  			
			var nomeDoJS = new String(document.getElementById(nomeArquivo).textContent);			
			var nomeDoJS = new String(nomeDoJS.replace(/ /g,""));
			document.write('<script language="javascript" src="/SiteCollectionImages/_js/'+nomeDoJS+'"></script>');			
		}
		else{
			document.write('<script language="javascript" src="/SiteCollectionImages/_js/'+nomeArquivo+'"></script>');
		}  
}


function FlashSTitulo(placeHolderNome, placeHolderLargura, placeHolderAltura) {
		var browser = navigator.appName;			
		if (browser == "Netscape"){  			
			var nomeFlashCont = new String(document.getElementById(placeHolderNome).textContent);
			var widthFlashCont = new String(document.getElementById(placeHolderLargura).textContent);
			var heightFlashCont = new String(document.getElementById(placeHolderAltura).textContent);
			
			var nomeFlashCont = new String(nomeFlashCont.replace(/ /g,""));
			var widthFlashCont = new String(widthFlashCont.replace(/ /g,""));
			var heightFlashCont = new String(heightFlashCont.replace(/ /g,""));				
			
			document.write('<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="' + widthFlashCont+ '" height="' + heightFlashCont+ '"/>\n');
			document.write('<param name="movie" value="/SiteCollectionImages/_swf/'+nomeFlashCont+'.swf"/>\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="wmode" value="transparent" />\n');
			document.write('<embed src="/SiteCollectionImages/_swf/'+nomeFlashCont+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ widthFlashCont+ '" height="' + heightFlashCont+ '" wmode="transparent"></embed>\n');	
			document.write('</object>\n');
		}
		else{
			document.write('<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="' + placeHolderLargura+ '" height="' + placeHolderAltura+ '"/>\n');
			document.write('<param name="movie" value="/SiteCollectionImages/_swf/'+placeHolderNome+'.swf"/>\n');
			document.write('<param name="quality" value="high" />\n');
			document.write('<param name="wmode" value="transparent" />\n');
			document.write('<embed src="/SiteCollectionImages/_swf/'+placeHolderNome+'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ placeHolderLargura+ '" height="' + placeHolderAltura+ '" wmode="transparent"></embed>\n');	
		    document.write('</object>\n');		    
		}		
}
