
function writeswfhtml(nome, width, height, html, path) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf?varPath='+path+'" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf?varPath='+path+'" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="allowFullScreen" value="true" />');
	document.writeln('<param name="salign" value="LT" />');	
	document.writeln(html);
	document.writeln('<embed src="includes/swf/'+ nome +'.swf?varPath='+path+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="'+ width +'" height="'+ height +'"></embed>');
	document.writeln('</object>');
}

function writeswfhtml2(nome, width, height, html, paramextra) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln(paramextra);
	document.writeln(html);
	document.writeln('<embed src="includes/swf/'+ nome +'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+ width +'" height="'+ height +'"></embed>');
	document.writeln('</object>');
}

function writemapa(nome, width, height) {
	document.writeln('<object type="application/x-shockwave-flash" data="'+ nome +'.swf" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="'+ nome +'.swf" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="wmode" value="transparent">');	
	document.writeln('</object>');
}

function destaqueHome(nome, width, height, html, path) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf?varPath='+path+'" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf?varPath='+path+'" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="allowFullScreen" value="true" />');	
	document.writeln('<param name="salign" value="LT" />');	
	document.writeln('<embed src="includes/swf/'+ nome +'.swf?varPath='+path+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" wmode="transparent" type="application/x-shockwave-flash" width="'+ width +'" height="'+ height +'"></embed>');
	document.writeln('</object>');
}

function destaqueTv(nome, width, height, path) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf?varPath='+path+'" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="wmode" value="transparent">');
	document.writeln('<embed src="includes/swf/'+ nome +'.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'" wmode="transparent"></embed>');
	document.writeln('</object>');
}

function playerRadio(midia){
	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="400" height="27">');
	document.write('<param name="movie" value="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl='+midia+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="wmode" value="window" />');
	document.write('<param name="flashvars" value="playerMode=embedded" />');
	document.write('<param name="bgcolor" value="#FCFEF5" />');
	document.write('<embed type="application/x-shockwave-flash" src="http://www.google.com/reader/ui/3247397568-audio-player.swf?audioUrl='+midia+'" width="400" height="27" allowscriptaccess="never" quality="best" bgcolor="#FCFEF5" wmode="window" flashvars="playerMode=embedded" /></embed>');
	document.write('</object>	');
}

function uf(estado) {
	document.location.href ='javascript: ajaxCidades("'+ estado +'")';
}

