var animDuration = 500;
var timeBetweenAnims = 3000;

var childIndex = 1;
var dir = false;

function incrementChild()
{
	if (childIndex>=3) { childIndex = 1; dir=!dir; }
	else { childIndex++; }
	animateEle();
}

function animateEle()
{
	var pos = '-101px';
	if (dir) { pos = '0px'; }
	$j('#screenshotScroller > div:nth-child('+childIndex+')')
		.animate({ opacity:1 }, timeBetweenAnims)
		.animate({ top: pos }, { duration:animDuration, complete: incrementChild });
}

$j(document).ready(function() {
	animateEle();
});