if(document.getElementById('boxSlideContainer')){
			
	switch(NB_IMG_WIDGET_SLIDES){
		
		case 0:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
		
		case 1:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
		case 2:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
		
		case 3:
			var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
		case 4:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
		case 5:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4,5],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
		case 6:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4,5,6],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
			case 7:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4,5,6,7],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
			case 8:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4,5,6,7,8],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
			case 9:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4,5,6,7,8,9],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
			case 10:
				var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1,2,3,4,5,6,7,8,9,10],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
			
		default:
			var hs2 = new noobSlide({
				box: $('boxSlideContainer'),
				size:430,
				items: [1],
				interval: 15000,
				autoPlay: true,
				fxOptions: {
					duration: 1000,
					transition: Fx.Transitions.Bounce.easeOut,
					wait: false
				},
				buttons: {
					previous: $('boxSlide_Prev'),
					play: $('boxSlide_Play'),
					stop: $('boxSlide_Stop'),
					next: $('boxSlide_Next')
				}
			});
			break;
	}
}