Making this start Over

I just want to make this loop or start over.

What happens is the Function Do Random goes through the slideTo content_mc["section_"+i]._x; that moves along the _X axis

----------------------------------------------
var i:Number = 1;

function DoRandom() {
var target_x = home_x - content_mc["section_"+i]._x;
content_mc.slideTo( target_x, "0", 2 );
i++;

if(i==6) var target_x = home_x-content_mc.section_0._x;
content_mc.slideTo(target_x,"0",2);
}

var intervalID = setInterval(DoRandom, 4000);
----------------------------------------------
Can anyone help me make this start over once it get's to the begining?
Thanks,