function initNewsRotator(){
	//$('.newsrotator .tab:not(.first)').hide();
	$('.newsrotator .teasers li:first').addClass('active');
	$('.newsrotator .teasers a').hover( function(){
			
			$('.newsrotator .teasers li').removeClass('active');
			$(this).parent('li').addClass('active');
			
			$('.newsrotator .tab').stop().hide();
			id = $(this).attr('href');
			$( id ).show();
			link = $('.newsrotator .content h3 a').attr('href');
			/*
			$('.newsrotator .content').bind( 'click', function(){
				window.location = link;
			}).addClass('clickable');
			*/
		}, function() {
			$('.newsrotator').unbind('click');
		}
	);	

	
	
	
}



$().ready( function(){
	initNewsRotator();
    $('#header').cycle({
		fx: 'fade',
		timeout:  5000 
	});
	
});
