function popUp(url,nome,w,h){
	var top = (screen.height-h)/2;
	var left = (screen.width-w)/2;
	window.open(url,nome,"width="+w+",height="+h+",top="+top+",left="+left+",menubar=0,status=0,scrollbars=1,resizable=0");
}
var cord = new Array();
cord.push({id:0, cord:10});
cord.push({id:1, cord:-213});
cord.push({id:2, cord:-436});
cord.push({id:3, cord:-659});
cord.push({id:4, cord:-882});
notAtual = 0;
function prevNot(){
	var container = document.getElementById("news");
	notAtual--;
	JSTweener.addTween(container.style, {left:cord[notAtual].cord, time:0.800000, transition:"easeInOutExpo"});
}

function nextNot(){
	var container = document.getElementById("news");
	notAtual++;
	JSTweener.addTween(container.style, {left:cord[notAtual].cord, time:0.800000, transition:"easeInOutExpo"});
}
agenAtual = 0;
function prevAgen(){
	var container = document.getElementById("agenda");
	agenAtual--;
	JSTweener.addTween(container.style, {left:cord[agenAtual].cord, time:0.800000, transition:"easeInOutExpo"});
}

function nextAgen(){
	var container = document.getElementById("agenda");
	agenAtual++;
	JSTweener.addTween(container.style, {left:cord[agenAtual].cord, time:0.800000, transition:"easeInOutExpo"});
}
eveAtual = 0;
function prevEve(){
	var container = document.getElementById("eventos");
	eveAtual--;
	JSTweener.addTween(container.style, {left:(cord[eveAtual].cord)-1, time:0.800000, transition:"easeInOutExpo"});
}

function nextEve(){
	var container = document.getElementById("eventos");
	eveAtual++;
	JSTweener.addTween(container.style, {left:(cord[eveAtual].cord)+1, time:0.800000, transition:"easeInOutExpo"});
}