
	window.addEvent('domready',function(){

		//SAMPLE 8
		var handles8_more = $$('#handles8_more span');
		var nS8 = new noobSlide({
			box: $('box8'),
			items: $$('#box8 h3'),
			size: 700,
			handles: $$('#handles8 span'),
			addButtons: {previous: $('prev8'), play: $('play8'), stop: $('stop8'), playback: $('playback8'), next: $('next8') },
			onWalk: function(currentItem,currentHandle){
				//style for handles
				$$(this.handles,handles8_more).removeClass('active');
				$$(currentHandle,handles8_more[this.currentIndex]).addClass('active');
				//text for "previous" and "next" default buttons
				$('prev8').set('html','&lt;&lt; '+this.items[this.previousIndex].innerHTML);
				$('next8').set('html',this.items[this.nextIndex].innerHTML+' &gt;&gt;');
			}
		});
		//more "previous" and "next" buttons
		nS8.addActionButtons('previous',$$('#box8 .prev'));
		nS8.addActionButtons('next',$$('#box8 .next'));
		//more handle buttons
		nS8.addHandleButtons(handles8_more);
		//walk to item 3 witouth fx
		nS8.walk(0,false,true);
		
		
		//SAMPLE 9
		var handles9_more = $$('#handles9_more span');
		var nS9 = new noobSlide({
			box: $('box9'),
			items: $$('#box9 ul'),
			size: 640,
			handles: $$('#handles9 span'),
			addButtons: {previous: $('prev9'), play: $('play9'), stop: $('stop9'), playback: $('playback9'), next: $('next9') },
			onWalk: function(currentItem,currentHandle){
				//style for handles
				$$(this.handles,handles9_more).removeClass('active');
				$$(currentHandle,handles9_more[this.currentIndex]).addClass('active');
				//text for "previous" and "next" default buttons
				//$('prev9').set('html','&lt;&lt; '+this.items[this.previousIndex].innerHTML);
				//$('next9').set('html',this.items[this.nextIndex].innerHTML+' &gt;&gt;');
			}
		});
		//more "previous" and "next" buttons
		nS9.addActionButtons('previous',$$('#box9 .prev'));
		nS9.addActionButtons('next',$$('#box9 .next'));
		//more handle buttons
		nS9.addHandleButtons(handles9_more);
		//walk to item 3 witouth fx
		nS9.walk(0,false,true);

	});
