	document.observe("dom:loaded", function() {
				
		var current = 0;
		var elements = [];
		
		$$('.sliderNavi li').each(function(el, i){
			var thisTab = i;
			elements[i] = el.identify();
			el.setStyle({cursor: 'pointer'});
			el.observe('slider:change', function(){
				var key = el.firstDescendant().innerHTML.toLowerCase();
				$$('.sliderContainerInner').each(function(el){
					el.hide();
				});
				$$('.sliderNavi li span').each(function(el){
					el.setStyle({backgroundColor: '#9B9B9B'});
				});
				el.firstDescendant().setStyle({backgroundColor: '#A3CADD'});
				$("slide_"+key+"").show();
				current = i;
				automatic.stop();
				setAutomatic();
			});
			el.observe('click', function()
			{
				el.fire('slider:change');
			});
		});
		
		var automatic;	
		
		var setAutomatic = function() {automatic = new PeriodicalExecuter(function() {
        	
			if(current+1 == 3)
				current = -1;
			$(elements[current+1]).fire('slider:change');
			
		}, 5); };
		
		setAutomatic();
		
	});
