window.addEvent('domready',function(){
	var info = $('box').getNext().set('opacity',0.8);
	var nS = new noobSlide({
		mode: 'vertical',
		box: $('box'),
		items: captionItems,
		startItem: 0,
		size: 300,
		handles: $$('#handles1 div').extend($$('#handles2 div')),
		handle_event: 'mouseenter',
		button_event: 'click',
		fxOptions: {
			duration: 1000,
			transition: Fx.Transitions.Back.easeOut,
			wait: false
		},
		onWalk: function(currentItem,currentHandle){
			info.empty();
			new Element('p').set('html',currentItem.title).inject(info);
			this.handles.set('opacity',0.5);
			currentHandle.set('opacity',1);
		}
	});
	//walk to next item
	nS.next();
});
