function Videos()
{
	this.popup_excluir = false;
}

Videos.prototype.flashPlayerVideo = function(urlPlayerVideo)
{
	jan = window.open("","janela","toolbar=no,location=no,menubar=no,scrollbars=no,resizable=no,width=317,height=356,top=0,left=0");
	jan.focus();
	jan.location = urlPlayerVideo;
}

Videos.prototype.excluir = function(urlExcluir,mensagem)
{
	if(!this.popup_excluir)
	{
		this.popup_excluir = document.getElementById('layerGeral_popup').innerHTML;
	}	
	else
	{
		document.getElementById('layerGeral_popup').innerHTML = this.popup_excluir;
	}	
	
	document.getElementById('confirmacao_atencao').innerHTML = mensagem;
	
	document.getElementById('link_excluir').onclick = function (){LinkAjax.send(urlExcluir, 'miolo-excluir', 'carregando-excluir');}//""

	document.getElementById('layerGeral_popup').style.display = '';
	document.getElementById('layerOpaco_popup').style.display = '';
	
	var pagina = Diversos.getPageSize();
	
	document.getElementById('layerGeral_popup').style.height = pagina.pageHeight + 'px';
	document.getElementById('layerGeral_popup').style.width = pagina.pageWidth + 'px';
	
	document.getElementById('layerOpaco_popup').style.height = pagina.pageHeight + 'px';
	document.getElementById('layerOpaco_popup').style.width = pagina.pageWidth + 'px';
}

Videos.prototype.excluirFechar = function()
{
	document.getElementById('layerOpaco_popup').style.display = 'none';
	document.getElementById('layerGeral_popup').style.display = 'none';
}

var Videos = new Videos();