function windowCondicoesQuotesCharts(piLang){
	if (piLang == "pt")
		window.open('QuotesCharts/condicoesPT.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
	else
		window.open('QuotesCharts/condicoesEN.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
}
function windowCondicoesSimuladorRendibilidade(piLang){
	if (piLang == "pt")
		window.open('pt/Accionistas/termoscondicoes.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
	else
		window.open('en/Shareholders/termsconditions.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
}
function windowPressupostos(piLang){
	if (piLang == "pt")
		window.open('pt/Accionistas/pressupostos.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
	else
		window.open('en/Shareholders/assumptions.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
}
function navegaAcessoDirecto(piInput){
	location.href = piInput;
}
function popupMapa(piSrc){
	window.open(piSrc, null, 'scrollbars=no, toolbar=no, menubar=no, resizable=no, width=600, height=450, top=0, left=0');
}
function popup(piSrc){
	window.open(piSrc, null, 'scrollbars=no, toolbar=no, menubar=no, resizable=no, width=400, height=350, top=0, left=0');
}
function windowProcedimentosAG(piLang, piContentId){	
		window.open('pt/Accionistas/AssembleiaGeral/procedimentosAG.asp?idioma=' + piLang + '&ContentId=' + piContentId, null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=600, height=460, top=0, left=0');
}
function windowNotasAcercaIndices(piLang){
	if (piLang == "pt")
		window.open('QuotesCharts/notasIndicesPT.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
	else
		window.open('QuotesCharts/notasIndicesEN.htm', null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
}
function windowConvocatoriaAG(piLang){
		window.open('/pt/Accionistas/AssembleiaGeral/convocatoria_AG_200405.asp?idioma=' + piLang, null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=500, height=275, top=0, left=0');
}
function windowResultadosAG(piLang){
		window.open('/pt/Accionistas/AssembleiaGeral/resultados_AG_200405.asp?idioma=' + piLang, null, 'scrollbars=yes, toolbar=no, menubar=no, resizable=no, width=600, height=500, top=0, left=0');
}
function windowNotasExplicativasPSIGeral(pilang){
	if (pilang=="pt"){
		window.open("/criacaovalor/notasExplicativasPSIGeralPT.htm",null,"toolbar=no, menubar=no, resizable=yes, width=640, height=280 top=0, left=0, scrollbars=yes");
	}
	else{
		window.open("/criacaovalor/notasExplicativasPSIGeralEN.htm",null,"toolbar=no, menubar=no, resizable=yes, width=640, height=280, top=0, left=0, scrollbars=yes");
	}
}

