Javascript random in order
===

I hace this :

    $(document).ready(function(){
        var refreshId = setInterval(function(){
    
      var r=Math.floor(Math.random()*5)    
    	
    	  
    	  
    		acordeon(+r)
        }, 2000);
    });


I want show using setInterval show the numbers from 1 to 5 but no random i want show in order but using setInterval and give me result 1 , 2 , 3 , 4 , 5 and when give 5 start other time 


Regards , Thank´s !!!
