
//	largura.: referente a janela popup
//	altura..: referente a janela popup

popup = function(url, largura, altura) {

	var esquerda = (screen.availWidth / 2) - (largura/2);
	var topo     = (screen.availHeight / 2) - (altura/2);

/*
	janela = window.open(url, "", "LOCATION=NO,SCROLLBARS=YES, width="+largura+", height="+altura+", left=" + esquerda + ", top=" + topo + "");
*/	
	janela = window.open(url, "", "width="+largura+", height="+altura+", left=" + esquerda + ", top=" + topo + "");
	janela.focus();
	}
	
	
capta100 = function() {
	popup('http://www.unicredpelotas.com.br/extras/capta100/index.php', 353, 500)	
}

cotaextra = function() {
	popup('http://www.unicredpelotas.com.br/extras/cotaextra/banner.html', 550, 400)
}

cafecompresidente = function(){
	popup('http://www.unicredpelotas.com.br/extras/falepresidente/index.html', 711, 498)
}