  window.addEvents({
    'load': function(){
      /*  Create SlideItMoo instance  */  
      var sMoo = new SlideItMoo({
        overallContainer: 'SlideItMoo_info_outer',
        elementScrolled: 'SlideItMoo_info_inner',
        thumbsContainer: 'SlideItMoo_info_items',   
        itemsSelector: '.info_item',
        itemsVisible:1,       
        itemWidth:645,
        showControls:1,
				navs:{
				fwd:'.SlideItMoo_forward',
				bk:'.SlideItMoo_back'},
        autoSlide: 7000,
        transition: Fx.Transitions.Back.easeIn,
        duration: 800,
        direction:1,
        /* the onChange event fires when the current slide changes. We'll use it to display the next/previous article title ( in #announce ) */
        onChange: function( index ){
          /* calculate the previous slide index and the next */
          //var prev = index-1 < 0 ? sMoo.elements.length-1 : index-1;
          //var next = index+1 >= sMoo.elements.length ? 0 : index+1;
					var this_elem = index;
          /* titles are stored in h1 inside each .info_item. Grab the text and put it in our prev/next containers */
          //$('prev_title').set({'html': 'Previous: '+sMoo.elements[prev].getElement('h1').get('text')}).morph({'opacity':[0,1]});
          //$('next_title').set({'html':'Next: '+sMoo.elements[next].getElement('h1').get('text')}).morph({'opacity':[0,1]});         
          $('still_title').set({'html':sMoo.elements[this_elem].getElement('img').get('alt')});         
        }
      }); 
      $('still_title').set({'html':sMoo.elements[0].getElement('img').get('alt')});         
      /*$('pause_play').addEvent('click', function(event){
        new Event(event).stop();
        /* isRunning stores whether our SlideItMoo instance is on autoSlide or not 
        if( sMoo.isRunning ){
          /* if autoSlide is on, we'll need to stop it on click 
          this.addClass('paused').set('title', 'Playing. Click to pause.');
          sMoo.stopAutoSlide();
        }else{
          /* ... and if is off, we need to start it 
          this.removeClass('paused').set('title', 'Paused. Click to start.');;
          sMoo.startAutoSlide();
        } 
      })*/
		

		new SlideItMoo({overallContainer: 'sponsor_subsidient',
			elementScrolled: 'sponsor_subsidient_inner',
			thumbsContainer: 'sponsor_subsidient_items',
			itemsSelector: '.sponsor_item',
			itemWidth:255,
			itemsVisible:1,
			showControls:0,
			autoSlide: 5000,
			transition: Fx.Transitions.Sine.easeIn,
			duration: 800,
			direction:1
		});

		new SlideItMoo({overallContainer: 'sponsor_klein',
			elementScrolled: 'sponsor_klein_inner',
			thumbsContainer: 'sponsor_klein_items',
			itemsSelector: '.sponsor_klein_item',
			itemWidth:225,
			itemsVisible:1,
			showControls:0,
			autoSlide: 5000,
			transition: Fx.Transitions.Sine.easeIn,
			duration: 800,
			direction:1
		});

		new SlideItMoo({overallContainer: 'sponsor_banner',
			elementScrolled: 'sponsor_banner_inner',
			thumbsContainer: 'sponsor_banner_items',
			itemsSelector: '.sponsor_banner_item',
			itemHeight:60,
			itemsVisible:1,
			slideVertical:true,
			showControls:0,
			autoSlide: 5000,
			transition: Fx.Transitions.Sine.easeIn,
			duration: 800,
			direction:1
		});

    }
  });

