var tabPos;

function getPos(id){
	var tabCurrent = document.getElementById(id).style.top;
	tabPos = parseInt(tabCurrent);
	
}

function tweenIn(id){
	getPos(id);
	t1 = new Tween(document.getElementById(id).style,'top',Tween.regularEaseIn,tabPos,0,.25,'px');
	t1.start();
}

function tweenOut(id){
	getPos(id);
	t2 = new Tween(document.getElementById(id).style,'top',Tween.regularEaseOut,tabPos,-160,.25,'px');
	t1.stop();
	t2.start();
}
