var container, straplines, total, current;
$(function(){
	container 	= $('#straplines');
	straplines 	= container.find('p');
	total 			= straplines.size() - 1;
	current 		= 0;
	setTimeout(function(){
		straplines.eq(0).animate({'bottom': 0}, 400);
	}, 500);
	setInterval(moveStrapline, 5000);
});
function moveStrapline(){
	straplines.eq(current).animate({'bottom': -26}, 400);
	current == total ? current = -1 : curent = current;
	current = current + 1;
	straplines.eq(current).animate({'bottom': 0}, 400);
};
