/* 
  - Requires Jquery 1.2.1
  - Requires components.css (.numbered_bullets styles)
  - Styles the default OL lists
*/

var ol_list_selector = ".numbered_bullets ol"; //used on Recipes

jQuery(document).ready(function(){
  jQuery(ol_list_selector).each(applyOlBulletStyleToList);
});

//process each ol, and call function to style the li 
function applyOlBulletStyleToList(index, elem){
  jQuery(elem).children("li").each(displayOlBulletItem);
}

//process each li
function displayOlBulletItem(index, elem){
  jQuery(elem).addClass( 'item_' +  index);
}