var intervalid = 0;

function animate_images()
{
	var $active = $('#nav_img .active');
	var $next = ($('#nav_img .active').next().length > 0) ? $('#nav_img .active').next() : $('#nav_img img:first');
	$active.fadeOut(function(){
    	$active.removeClass('active');
    	$next.fadeIn().addClass('active');
  	});
}


$(function() 
{
	$("#nav_img").css("display", "block");
	intervalid = setInterval("animate_images()", 8000 );
	$("#news_ticker").newsTicker({newsList: "#news_ticker", startDelay: 10, placeHolder1: ""});
	$("#news_ticker").css("display", "inline");
});