
function animateUp () {

	var i = 0;
	var max = $('li').length;
	
	var timer = setInterval(function () {
	
		$('li:eq(' + i + ')').animate({
			opacity: 1
		}, 500);
		
		i = i + 1;
		
		if (i == max) {
			clearInterval(timer);
		}
		
	
	}, 50);

}

/*$('li').click(function () {
	$.backstretch("http://thefoxisblack.com/backgrounds/tfib-back-1.jpg", {speed: 1000});
});*/

$.backstretch("/images/homepage.jpg", {speed: 1000}, animateUp);

