$(document).ready(function(){
	$('#block-views-aktuellenews-block_1').click(function () {
														   
		$('#block-views-aktuellenews-block_1 div.view-content').children().slideToggle("fast");	
		if($(this).hasClass('newsbox-down')) {
			$(this).removeClass('newsbox-down');	
		} else {
			$(this).addClass('newsbox-down');
		}
	});	
	
	var hTimer = null;
	if(hTimer != null){
      window.clearTimeout(hTimer);
      hTimer = null;
    }
	
	hTimer = window.setTimeout(function(){$('#block-views-aktuellenews-block_1 div.view-content').children().slideToggle("fast");}, 10000);
	
	
	$('.forward-btn').click(function () {
		
		$('#contenttop').slideToggle();
		
		return false;
	});
	
	$('.forward-btn-u').click(function () {
		
		$('.contenttop-u').slideToggle();
		
		return false;
	});
});
