/**** Contentslider Funktion ****/
$(document).ready(function(){
	var fxSpeed = 250;
	var e 		= $.browser.opera ? 'html' : 'html,body';
	$('.navi a').click(function(){
		var target = $('.content');
		var source = $('.navi a');
		var tarSRC = $('.'+$(this).attr('id'));
		var souSRC = $(this);
		
		target.slideUp(fxSpeed);
		source.removeClass('selected');
		$(e).animate({scrollTop:$('.navi a').position().top},fxSpeed,function(){
			tarSRC.slideDown(fxSpeed);
			$(e).animate({scrollTop:tarSRC.position().top},fxSpeed);
			souSRC.addClass('selected');
		});
	
	
	
		//$(this).toggleClass('selected');
	});
	$('.navi_back').click(function(){
		var g	= $(this).attr('rel');
		$('.'+g).slideToggle(fxSpeed,function(){
			$(e).animate({scrollTop:$('.navi a').position().top},fxSpeed);	
		});
		$('#'+g).toggleClass('selected');
	});
});


function impressum()
{
impress=window.open('impressum.html','Impressum','height=300,width=450');
}
