var scrollSpeed = 80;
var step = 1;
if (localStorage.current) {
	var current = localStorage.current;
	} else {
		var current = 0;
}
var imageWidth = 1280;	
var restartPosition = -(imageWidth);

function scrollBg(){
	current -= step;
	if (current == restartPosition){
		current = 0;
	}

	$('body').css("background-position",current+"px 0");
}

var init = setInterval("scrollBg()", scrollSpeed);
