	window.addEvent('domready',function(){

		var info5 = $('info5').set('opacity',0.5);
		var nS5 = new noobSlide({
			mode: 'vertical',
			box: $('box5'),
			size: 180,
			items: $$('#box5 div'),
			addButtons: {
				previous: $('prev5'),
				play: $('play5'),
				stop: $('stop5'),
				next: $('next5')
			}
		});
		
		var info6 = $('info6').set('opacity',0.5);
		var nS6 = new noobSlide({
			mode: 'vertical',
			box: $('box6'),
			size: 180,
			items: $$('#box6 div'),
			addButtons: {
				previous: $('prev6'),
				play: $('play6'),
				stop: $('stop6'),
				next: $('next6')
			}
		});
		
		//SAMPLE 3 (play, stop, playback)
		var nS3 = new noobSlide({
			box: $('box3'),
			items: $$('#box3 span'),
			size: 720,
			interval: 1000,
			addButtons: {
				previous: $('prev3'),
				next: $('next3')
			},
				fxOptions: {
				duration: 1000,
				transition: Fx.Transitions.Back.easeOut,
				wait: false
			}
		});
		
	});
	
  function MarketBanner()
  {
  var blocks = new Array();

    var d = document.getElementById('SideBoxMarketUpdates').getElementsByTagName('div');
    for (var x=0, y=d.length; x < y; x++) {
      // capture the divs with the right class name
      if (d[x].className == 'textspot') { blocks.push(d[x]); }
    }
    // find random number
    var spot = Math.floor(Math.random() * blocks.length);
    // Set whether each div block should be seen or not
    for (var x=0, y=blocks.length; x < y; x++) {
      if (spot == x) { blocks[x].style.display = ''; }
      else { blocks[x].style.display = 'none'; }
    }

}