function index_toggler()
{
 var s = 1;

 $('#menu ul li').addClass('index-hide');

 $('#menu ul li.section-title').each(function()
 {
 // we need to tag the parent ul
 $(this).parent().addClass('index-parent-' + s);

$('#menu ul li.section-title').removeClass('index-hide');
$('#menu ul li.section-title').addClass('index-show');
$(this).show();
$(this).attr({OnMouseOver: "className='cursor';"});
$(this).attr({OnMouseOut: "className='menu ul li.section-title';"});
$(this).attr({onclick: "show_li(" + s + "); return false;"});
s++;
});
}


function show_li(id) 
{
 $('ul.index-parent-' + id + ' li.index-hide').toggle();
}
