var Tabs = {
  select: function(el) {
    var el = $(el);
    if (!(el.nodeName.toLowerCase() == 'li')) { el = el.up('li'); }
    el.up('ul').select('li').each(function(item) {
      item.removeClassName('active_tab');
      var a = item.select('a');
      if (a && a[0] && a[0].getAttribute('content')) {
        c = $(a[0].getAttribute('content')); 
        el == item ? c.show() : c.hide();
      }
    });
    el.addClassName('active_tab')
  }
}

