Ape.Element.rotationsteaser_maincol = function(){
	var that = this;
	var target = '#rotationTeaser';
	var stepper = 1;
	var timeoutId = 0;
	var rotationspeed = 500;
	var rotationswitchEverySeconds = 8;
	
	this.start = function(){
		if(that.animation === false){
			setPagerBindings();
			timeoutId = setInterval(openTeaserStep, (rotationswitchEverySeconds*1000));
			$('#rotationTeaserNext').bind('click.rotationTeaserPlay', startRotationAgain);
		}else{	
			/* http://malsup.com/jquery/cycle 
			gut: fade, shuffle
			*/
			$(target).cycle({
				fx:			'fade', 
				next:		'#rotationTeaserNext',
				speed:		rotationspeed, 
			    timeout:	(rotationswitchEverySeconds*1000),
			    random:		0,
				cleartype:  1,
				before: function(slideDom, slideDomAgain, cycleObject, somethingTrue) {
		    		$('#rotationTeaserNav div').removeClass('aktiv');
		    		$('#rotationTeaser_' + cycleObject.nextSlide).addClass('aktiv');
		    		stepper = cycleObject.nextSlide;
		    	}
			});
			setPagerBindings();
		}
	};
	function startRotationAgain(){
		clearInterval(timeoutId);
		openTeaserStep();
		timeoutId = setInterval(openTeaserStep, (rotationswitchEverySeconds*1000));
	}
	function setPagerBindings(){
		$('#rotationTeaserNav div a').bind('click.rotationTeaserSwitch', function(){
			
			$(target).cycle('stop');
			clearInterval(timeoutId);
			
			stepper = $(this).parent().attr('id').split('_').pop();
			
			$(target).children('div').hide();
			$(target).children('div#teaserstep_'+stepper).show().css('opacity', '1').css('position', 'relative');
			
			$('#rotationTeaserNav div').removeClass('aktiv');
		    $('#rotationTeaser_' + stepper).addClass('aktiv');
		    stepper++;
		    if(stepper >= that.stepcount){
				stepper = 0;
			}
		});
	}
	function openTeaserStep(){
		$(target).children('div').hide();
		$(target).children('div#teaserstep_'+stepper).show();
		
		$('#rotationTeaserNav div').removeClass('aktiv');
	    $('#rotationTeaser_' + stepper).addClass('aktiv');
	    
		stepper++;
		if(stepper >= that.stepcount){
			stepper = 0;
		}
	}
};