// JavaScript Document


	window.addEvent('domready',function(){
	
	
	
var rand_no = Math.ceil(9*Math.random())
//alert(rand_no);

var rand_no_small = Math.ceil(13*Math.random())
//alert(rand_no_small);


		//SAMPLE 2 (transition: Bounce.easeOut)
		var hs2 = new noobSlide({
			box: $('box2'),
			items: [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],
			interval: 1500,
			startItem: (rand_no),

			fxOptions: {
				duration: 1500,
				transition: Fx.Transitions.Quad.easeInOut,
				wait: false
			},
			buttons: {
				previous: $('prev'),
				play: $('play1'),
				stop: $('stop1'),
				next: $('next')
			}
		});
		//SAMPLE 2_small (transition: Bounce.easeOut)
		var hs2 = new noobSlide_small({
			box: $('box2_small'),
			items: [1,2,3,4,5,6,7,8,9,10,11,12,13],
			interval: 1500,
			startItem: (rand_no_small),
			fxOptions: {
				duration: 1000,
				transition: Fx.Transitions.Quad.easeInOut,
				wait: false
			},
			buttons: {
				previous: $('prev_small'),
				play: $('play1_small'),
				stop: $('stop1_small'),
				next: $('next_small')
			}
		});


	});
