function openWinPoster(poster) {	
	var paginaweb = "posters.jsp?p=" + poster;
	remote = window.open(paginaweb,'comunicados','width=580,height=800,resizable=1,toolbar=0,scrollbars=1,top=10,left=10');
	if (remote!=null) {
		if (remote.opener == null) remote.opener=self;
		remote.focus();
	}
}

function openWinPosterH(poster) {	
	var paginaweb = "posters.jsp?p=" + poster;
	remote = window.open(paginaweb,'comunicadosh','width=800,height=525,resizable=1,toolbar=0,scrollbars=1,top=10,left=10');
	if (remote!=null) {
		if (remote.opener == null) remote.opener=self;
		remote.focus();
	}
}

function openWinTabla(tabla) {	
	var paginaweb = "posters.jsp?p=" + tabla;
	remote = window.open(paginaweb,'publicaciones','width=520,height=540,resizable=1,toolbar=0,scrollbars=1,top=10,left=10');
	if (remote!=null) {
		if (remote.opener == null) remote.opener=self;
		remote.focus();
	}
}

function openVentana(imagen, ancho, alto) {	
	var paginaweb = "posters.jsp?p=" + imagen;
	remote = window.open(paginaweb,'publicaciones','width='+ancho+',height='+alto+',resizable=1,toolbar=0,scrollbars=1,top=10,left=10');
	if (remote!=null) {
		if (remote.opener == null) remote.opener=self;
		remote.focus();
	}
}

function openPagina(pagina, nombre, ancho, alto) {
	remote = window.open(pagina,nombre,'width='+ancho+',height='+alto+',resizable=1,toolbar=0,scrollbars=1,top=10,left=10');
	if (remote!=null) {
		if (remote.opener == null) remote.opener=self;
		remote.focus();
	}
}

function openCertificado(imagen, nombre, ancho, alto) {
	remote = window.open('certificados.jsp?pag='+imagen,nombre,'width='+ancho+',height='+alto+',resizable=1,toolbar=0,scrollbars=1,top=10,left=10');
	if (remote!=null) {
		if (remote.opener == null) remote.opener=self;
		remote.focus();
	}
}
