Javascript function call into loop each time
===

I have function called rotator(id) , this function animate div and i can called this function with different id for animate different id 

Actually i use 5 differents id , 1,2,3,4,5

And for call i need put :

rotador(1);rotador(2);rotador(3);rotador(4);rotador(5);

The problem it´s i want rotate i automatic mode for this i think use this 

for (i=0;i<=5;i++)
{


setTimeout(rotador(i),2000);

}


But no works , because animate all same time , no let firt execute the first and continue before of first go second , etc , etc and when go the end or number 5 start other time in one 


My problem it´s this if you can help me THANKS !!! :) Regards


