function show_tagline()
{
  $$('#tagline span').each(function(span) {
    span.set('tween', {
      'duration': 1000
    });
  })
  
  $$('#tagline .one')[0].get('tween').chain(function() {
    $$('#tagline .two')[0].tween('opacity', 0, 1);
  })
  
  $$('#tagline .two')[0].get('tween').chain(function() {
    $$('#tagline .three')[0].tween('opacity', 0, 1);
  })
  
  $$('#tagline .three')[0].get('tween').chain(function() {
    $$('#tagline .four')[0].tween('opacity', 0, 1);
  })
  
  $$('#tagline .one')[0].tween('opacity', 0, 1);
}

window.addEvent('domready', function(){
  
  var secondary_menu_active_item = $$('#secondary_menu .item.active')[0];

  $$('#secondary_menu .item').addEvents({
    'mouseover': function(ev) {
      secondary_menu_active_item.removeClass('active');
    },
    'mouseout': function(ev) {
      secondary_menu_active_item.addClass('active');
    }
  });
  
  new TabSwapper({
    selectedClass: 'active',
    deselectedClass: '',
    tabs: $$('#glossary_terms_tabs .tabSet .on'),
    clickers: $$('#glossary_terms_tabs .tabSet .on a'),
    sections: $$('#glossary_terms_tabs .panelSet .panel.on'),
    smooth: true,
	  smoothSize: true,
	  rearrangeDOM: false
  });
  
//  $$('#glossary_terms_tabs .tabSet .inactive').removeEvents('click');
  
  SqueezeBox.assign($$('a[rel=lightbox], a.lightbox'));
});
