document.observe("dom:loaded", function() {
	
	half = sirka/2;
	now = half+50;
	$("content").style.backgroundPosition = now+"px 0px";
	var pe = new PeriodicalExecuter(move, 0.05);
});

var sirka;
var now;
var smer = 1;

function move() {
	now = now+smer;
	if(sirka == parseInt(now) || parseInt(now) == (200))  {
		if (smer == 1) { smer = -1;} else { smer = 1;}
	}
	$("content").style.backgroundPosition = now+"px 0px";
}