
function writeswfhtml(nome, width, height, html, path, path2) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf?urlRecebe='+path+'&urlConfigurador='+path2+'" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf?urlRecebe='+path+'&urlConfigurador='+path2+'" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="wmode" value="transparent">');	
	document.writeln(html);
	document.writeln('</object>');
}

function writeswfconfig(nome, width, height, html, urlRecebe, urlConfigurador) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf?urlRecebe='+urlRecebe+'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf?urlRecebe='+urlRecebe+'&urlConfigurador='+urlConfigurador+'" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="wmode" value="transparent">');	
	document.writeln(html);
	document.writeln('</object>');
}

function writeswforcamento(nome, width, height, html, urlVisualizador) {
	document.writeln('<object type="application/x-shockwave-flash" data="includes/swf/'+ nome +'.swf?xmlPath='+urlVisualizador+'" width="'+ width +'" height="'+ height +'">');
	document.writeln('<param name="movie" value="includes/swf/'+ nome +'.swf?xmlPath='+urlVisualizador+'" />');
	document.writeln('<param name="quality" value="high" />');
	document.writeln('<param name="wmode" value="transparent">');	
	document.writeln(html);
	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 uf(estado) {
	document.location.href ='javascript: ajaxCidades("'+ estado +'")';
}

