window.addEvent('domready', function(){

	// Diamond
	if ($('diamond_banners_1').getElements('img').length > 0){
		$('diamond_banners_container_1').setStyle('display', 'block');
		if ($('diamond_banners_1').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'diamond_banners_1',
							elementScrolled: 'diamond_banner_container_1',
							overallContainer: 'diamond_banners_container_1'});
		}
	}
	
	if ($('diamond_banners_2').getElements('img').length > 0){
		$('diamond_banners_container_2').setStyle('display', 'block');
		if ($('diamond_banners_2').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'diamond_banners_2',
							elementScrolled: 'diamond_banner_container_2',
							overallContainer: 'diamond_banners_container_2'});
		}
	}
	
	if ($('diamond_banners_3').getElements('img').length > 0){
		$('diamond_banners_container_3').setStyle('display', 'block');
		if ($('diamond_banners_3').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'diamond_banners_3',
							elementScrolled: 'diamond_banner_container_3',
							overallContainer: 'diamond_banners_container_3'});
		}
	}
	
	if ($('diamond_banners_4').getElements('img').length > 0){
		$('diamond_banners_container_4').setStyle('display', 'block');
		if ($('diamond_banners_4').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'diamond_banners_4',
							elementScrolled: 'diamond_banner_container_4',
							overallContainer: 'diamond_banners_container_4'});
			}
	}
		
	if ($('diamond_banners_5').getElements('img').length > 0){
		$('diamond_banners_container_5').setStyle('display', 'block');
		if ($('diamond_banners_5').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'diamond_banners_5',
							elementScrolled: 'diamond_banner_container_5',
							overallContainer: 'diamond_banners_container_5'});
			}
	}
	
	// Platinum
	if ($('platinum_banners_1').getElements('img').length > 0){	
		$('platinum_banners_container_1').setStyle('display', 'block');
		if ($('platinum_banners_1').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'platinum_banners_1',
							elementScrolled: 'platinum_banner_container_1',
							overallContainer: 'platinum_banners_container_1'});
		}
	}
	
	if ($('platinum_banners_2').getElements('img').length > 0){
	$('platinum_banners_container_2').setStyle('display', 'block');
		if ($('platinum_banners_2').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'platinum_banners_2',
							elementScrolled: 'platinum_banner_container_2',
							overallContainer: 'platinum_banners_container_2'});
		}
	}
	
	if ($('platinum_banners_3').getElements('img').length > 0){
	$('platinum_banners_container_3').setStyle('display', 'block');
		if ($('platinum_banners_3').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'platinum_banners_3',
							elementScrolled: 'platinum_banner_container_3',
							overallContainer: 'platinum_banners_container_3'});
			}
	}
	
	if ($('platinum_banners_4').getElements('img').length > 0){
	$('platinum_banners_container_4').setStyle('display', 'block');
	if ($('platinum_banners_4').getElements('img').length > 1){
		new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
						showControls:0, // show the next-previous buttons
						autoSlide:3000, // insert interval in milliseconds
						currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
						transition: Fx.Transitions.linear,
						thumbsContainer: 'platinum_banners_4',
						elementScrolled: 'platinum_banner_container_4',
						overallContainer: 'platinum_banners_container_4'});
		}
	}
	
	if ($('platinum_banners_5').getElements('img').length > 0){
		$('platinum_banners_container_5').setStyle('display', 'block');
		if ($('platinum_banners_5').getElements('img').length > 1){
			new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
							showControls:0, // show the next-previous buttons
							autoSlide:3000, // insert interval in milliseconds
							currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
							transition: Fx.Transitions.linear,
							thumbsContainer: 'platinum_banners_5',
							elementScrolled: 'platinum_banner_container_5',
							overallContainer: 'platinum_banners_container_5'});
			}
	}
	
	// Silver
	if ($('silver_banners_1').getElements('img').length > 0){	
	$('silver_banners_container_1').setStyle('display', 'block');
	if ($('silver_banners_1').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'silver_banners_1',
					elementScrolled: 'silver_banner_container_1',
					overallContainer: 'silver_banners_container_1'});
	}
	}
	
	if ($('silver_banners_2').getElements('img').length > 0){
	$('silver_banners_container_2').setStyle('display', 'block');
	if ($('silver_banners_2').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'silver_banners_2',
					elementScrolled: 'silver_banner_container_2',
					overallContainer: 'silver_banners_container_2'});
	}
	}
	
	if ($('silver_banners_3').getElements('img').length > 0){
	$('silver_banners_container_3').setStyle('display', 'block');
	if ($('silver_banners_3').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'silver_banners_3',
					elementScrolled: 'silver_banner_container_3',
					overallContainer: 'silver_banners_container_3'});
	}
	}
	
	// Media
	if ($('media_banners_1').getElements('img').length > 0){
	$('media_banners_container_1').setStyle('display', 'block');
	if ($('media_banners_1').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'media_banners_1',
					elementScrolled: 'media_banner_container_1',
					overallContainer: 'media_banners_container_1'});
	}
	}
	
	if ($('media_banners_2').getElements('img').length > 0){
	$('media_banners_container_2').setStyle('display', 'block');
	if ($('media_banners_2').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'media_banners_2',
					elementScrolled: 'media_banner_container_2',
					overallContainer: 'media_banners_container_2'});
	}
	}
	
	if ($('media_banners_3').getElements('img').length > 0){
	$('media_banners_container_3').setStyle('display', 'block');
	if ($('media_banners_3').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'media_banners_3',
					elementScrolled: 'media_banner_container_3',
					overallContainer: 'media_banners_container_3'});
	}
	}
	
	if ($('gold_banners_1').getElements('img').length > 0){
	$('gold_banners_container_1').setStyle('display', 'block');
	if ($('gold_banners_1').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'gold_banners_1',
					elementScrolled: 'gold_banner_container_1',
					overallContainer: 'gold_banners_container_1'});
	}
	}
	
	if ($('gold_banners_2').getElements('img').length > 0){
	$('gold_banners_container_2').setStyle('display', 'block');
	if ($('gold_banners_2').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'gold_banners_2',
					elementScrolled: 'gold_banner_container_2',
					overallContainer: 'gold_banners_container_2'});
	}
	}
	
	if ($('gold_banners_3').getElements('img').length > 0){
	$('gold_banners_container_3').setStyle('display', 'block');
	if ($('gold_banners_3').getElements('img').length > 1){
	new SlideItMoo({itemsVisible:1, // the number of thumbnails that are visible
					showControls:0, // show the next-previous buttons
					autoSlide:3000, // insert interval in milliseconds
					currentElement: 0, // the current element. starts from 0. If you want to start the display with a specific thumbnail, change this
					transition: Fx.Transitions.linear,
					thumbsContainer: 'gold_banners_3',
					elementScrolled: 'gold_banner_container_3',
					overallContainer: 'gold_banners_container_3'});
	}
	}

	/*
	
	if ($('gold_banners_container_1').getElements('img').length > 0){
		$('gold_banners_container_1').setStyle('display', 'block');
	}else{
		$('gold_banners_container_1').setStyle('display', 'none');
	}
	
	if ($('gold_banners_container_2').getElements('img').length > 0){
		$('gold_banners_container_2').setStyle('display', 'block');
	}else{
		$('gold_banners_container_2').setStyle('display', 'none');
	}
	*/
	
	if ($('gold_banners_container_3').getElements('img').length > 0){
		$('gold_banners_container_3').setStyle('display', 'block');
	}else{
		$('gold_banners_container_3').setStyle('display', 'none');
	}
	
});