$j(document).ready(function(){
	// news-rotate startseite
	// typo3 anchor element vor jedem content raus!:
	//$j('#rotate-box a').not( $j('.rotate-item a') || $j('#rotate-prevnext a') ).remove();
	// prev-next links dynamisch dazubauen:
	$j('#rotate-box').append('<div id="rotate-prevnext" style="position: absolute; bottom: 0px; right: 0px; z-index: 100;"><a href="javascript:;" id="prev-link"><img src="fileadmin/includes/themes/default/images/arrow-up.gif" alt="up" /></a> <a href="javascript:;" id="next-link"><img src="fileadmin/includes/themes/default/images/arrow-down.gif" alt="down" /></a></div>');
	//$j('#rotate-box #rotate-prevnext').show();
	// let the fun begin:
	$j('#rotate-box').cycle({
		// options siehe: http://malsup.com/jquery/cycle/options.html
		fx: 'scrollVert',
		slideExpr: '.rotate-item',
		pause: 1,
		timeout: 10000,
		prev:   '#prev-link', 
    	next:   '#next-link'
    	// next: '#rotate-box .csc-textpic-imagewrap'
	});	
});