Event.observe(window, 'load', function() {

   if (document.getElementById('faq')) {
      var id_counter = 0;

       $$('ol h3').each(function(item) {
           if(item.nextSibling != null) {
            item.setStyle({ cursor: 'pointer'});
            var next = item.nextSiblings()[0];
            next.hide();
            if (next.getAttribute('id') == null) {
                  next.setAttribute('id', 'id_'+id_counter++);
            }
            Event.observe(item, 'click', function() {
               next.toggle();
/*
               if (!next.visible()) {
                  Effect.BlindUp(next.getAttribute('id'));
               } else {
                  Effect.BlindDown(next.getAttribute('id'));
               }
*/
            });
           }
//                   Effect.BlindUp('');
       });
   }


});
