window.addEvent('domready',function(){

		//SAMPLE 8
		var handles8_more = $$('#handles8_more span');
		var nS8 = new noobSlide({
			box: $('box8'),
			items: $$('#box8 img'),
			size: 910,
			handles: $$('#handles span'),
			addButtons: {previous: $('prev8'),  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);
		
		var maxslides = 1;
		
		// the periodical function
		var perfunc;
		
		// the counter
		var i = 0;
		
		var doWalk = function(){
			//if we exceed, then stop
			if (i>maxslides){
			  $clear(perfunc);
			  nS8.next(0);
			} else {
			
			//else increment and slide
			 i++;
			 nS8.walk(i);
		
			} 
		}
		
		perfunc = doWalk.periodical(2000); 

	});