$(document).ready(
	function(){
	  $('#news').innerfade({
			animationtype: 'slide',
			speed: 750,
			timeout: 2000,
			type: 'random',
			containerheight: '1em'
		});
		
		$('ul#headerslide').innerfade({
		  speed: 'slow',
			timeout: '5000',
			type: 'sequence',
			containerheight: '21.6em',
			runningclass: 'innerfade'
		});
		
		$('.fade').innerfade({
			speed: 1000,
			timeout: 6000,
			type: 'random_start',
			containerheight: '1.5em'
		});
		
		$('.adi').innerfade({
			speed: 'slow',
			timeout: 5000,
			type: 'random',
			containerheight: '150px'
		});

});
/*
function fading() {
    var $alt = $('#header-image img.obersteebene');
    var $neu = $alt.next().length ? $alt.next() : $('#header-image img:first');
    $alt.addClass('mittlereebene');
	  $alt.removeClass('obersteebene');
    $neu.css({opacity: 0});
    $neu.addClass('obersteebene');
    $neu.animate({opacity: 1}, 2000, function() {$alt.removeClass('mittlereebene');});
}
    
$(document).ready(function() {setInterval( "fading()", 6000 );});
*/


