window.addEvent('domready', function(){
	// alert($$('div.single'))
    var nS = new noobSlide({
        box: $('box'),
        items: $$('.carousel .single'),
        size: 938,
        autoPlay: false,
        startItem: 1,
        handles: $$('.handles li'),
        onWalk: function(currentItem, currentHandle){
            // style for handles
            $$(this.handles).removeClass('active');
            $$(currentHandle).addClass('active');
        }
    });
    nS.walk(0);
});
