jquery javascript loop and sequential function show
===

i do in jquery system for show slider as accordeon , the problem it´s when i try create auto slide for this , i have this : 


> for (i=1;i<=5;i++)  { setInterval(acordeon(i),2000) }

With this i try into the loop the function acordeon(i) , execute each 2000 ms , the problem it´s no works and execute all 

The function acordeon use one id for show each div , for example if i have 5 id for animate only i need call id and this animate without problems , the problem it´s for this run in automatic mode , i need execute first acordeon(1) before acordeon(2) ..... 3 , 4 and finally acordeon(5)

I try different methods but only work me when i generate randon numer and call setInterval 

Ok thank´s for all i hope - sure - :) you can help me , Regards



