accordion and could be general jquery or js

accordion and could be general jquery or js


Hello,
I'm using accordion module on one of my sites. Since it manages all
the letters of alphabet on the same page that means that I have like
30 accordion initializations on the same page.
By using this code:
$("#acc1").accordion({
            alwaysOpen: false,
            autoheight: false,
            header: 'a.acc1',
            clearStyle: true
        });
        jQuery('#acc1').accordion("activate",false);
        $("#acc2").accordion({
            alwaysOpen: false,
            autoheight: false,
            header: 'a.acc2',
            clearStyle: true
        });
        jQuery('#acc2').accordion("activate",false);
....
only that 30 times .. Can it be put in some kind of for loop or
something so i dont have that much code for no reason.
Thank you in advance,
Damir