function newscarousel_initCallback(carousel){
    // Pause autoscrolling if the user moves with the cursor over the clip.
    carousel.clip.hover(function() {
        carousel.stopAuto();
    }, function() {
        carousel.startAuto();
    });
};


$(document).ready( 
	function(){
		$('.bannerSlider').innerfade({
			animationtype: 'fade', 
			speed: 'slow', 
			timeout: '4000', 
			type: 'sequence', 
			containerheight:'100px', 
			runningclass: 'innerfade' 
		});
		$('#areaNav').accordion({
			header: '.areaNavLevel1',
			navigation: true
		});
		$('#mainNormal .news-latest-container').jcarousel({
	        auto: 3,
			scroll: 1,
			animation: 'slow',
			buttonNextHTML: null,
			buttonPrevHTML: null,
	        wrap: 'circular',
	        initCallback: newscarousel_initCallback
    	});

	}
); 
