_last="";
_lastId=-1;
_playLast=true;
_soundEnabled=true;
ie=navigator.appName.toLowerCase().indexOf("microsoft")>-1;
function getSound(url, id){
	if(!url){
		_playLast=false;
		return;
	}
	_playLast=true;
	_last=url;
	_lastId=id;
}
function playSound(){
	if(!_playLast || !_soundEnabled || _cookie.lastSound==_lastId){
		return;
	}
	_cookie.lastSound=_lastId;
	_cookie.save("lastSound", 60);
	var linha="<html><head></head><body>";if(ie){
		linha+="<bgsound src=\""+_last+"\">";
	}else{
		linha+="<object type=\"audio/mpeg\" height=\"20\" width=\"200\" data=\""+_last+"\"><param name=\"src\" value=\""+_last+"\" /></object>";
	}
	linha+="</body></html>";
	soundStage.document.write(linha);
	_cookie.get();
}

function narraCerto(c) {
	quadroB = document.getElementById("iframeB");
	quadroC = document.getElementById("iframeC");
	botao = document.getElementById("botoes_narra");
	if (c==0) {
		quadroB.style.height = "443px";
		quadroC.style.height = "443px";
		quadroB.style.width = "470px";
		quadroC.style.width = "274px";
		botao.style.display = "block";
	}else if (c==1){
		quadroB.style.height = "466px";
		quadroC.style.height = "466px";
		quadroB.style.width = "470px";
		quadroC.style.width = "274px";
		botao.style.display = "none";
	}else if (c==2){
	    quadroB.style.height = "466px";
		quadroC.style.height = "466px";
		quadroB.style.width = "482px";
		quadroC.style.width = "274px";
		botao.style.display = "none";
	}
}