function chama_flash(flash, h, w, label){
	
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 {
		AC_FL_RunContent(
		'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
		'width', w,
		'height', h,
		'src', 'flash/'+flash,
		'quality', 'high',
		'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
		'align', 'middle',
		'play', 'true',
		'loop', 'true',
		'scale', 'showall',
		'wmode', 'transparent',
		'devicefont', 'false',
		'id', flash,
		'name', flash,
		'menu', 'true',
		'allowScriptAccess','sameDomain',
		'movie', 'flash/'+flash,
		'salign', 't',
		'flashvars' ,'sessao_atual='+label
		); 
	}
}

//FECHA FLOATER

function hidden()
{document.body.style.overflow='hidden';
window.document.body.scroll = 'no';
document.getElementsByTagName("body")[0].style.overflow = "hidden";
}

function unhidden()
{document.body.style.overflow='';
window.document.body.scroll = '';
}

function show_div(id,mostra) {
		document.getElementById('divOpaca').style.display='none';
		
		var id_question = document.getElementById(id);
		if (mostra == true ) {
			id_question.style.display='block';
			
		} else {
			id_question.style.display='none';
			unhidden();
			
		}
}
