window.addEvent('domready',function(){
	var nS2 = new noobSlide({
		box: $('box2'),
		items: [0,1,2,3],
		size: 264,
		interval: 8000,
		autoPlay: true,
		handles: $$('#handles span'),
		fxOptions: {
			duration: 1000,
			transition: Fx.Transitions.Bounce.easeOut,
			wait: false
		},
		onWalk: function(currentItem,currentHandle){
			//style for handles
			$$(this.handles).removeClass('active');
			$$(currentHandle).addClass('active');
		}

	});
});
