$(function() {
	// headerwissel
	var i = $('.images .slide').eq(1), t = setInterval(function() { f(i) }, 6000);
	function f(e) { $($(e).fadeIn(1000).parent().find('li:visible').not(e)).fadeOut(3000); i = (i.next().length > 0) ? i.next() : $('.images .slide:first'); }
	(function() {
		var i = $('#highlight .slide').eq(1), t = setInterval(function() { f(i) }, 6000);
		function f(e) { $($(e).fadeIn(1000).parent().find('li:visible').not(e)).fadeOut(3000); i = (i.next().length > 0) ? i.next() : $('#highlight .slide:first'); }
	})();
});
