

var bannerTimer = 0;


$( document ).ready( function()
{
	bannerTimer = setInterval( "Slideshow.nextImage()", 5000 );
	
	
});



var Slideshow =
{
	nextImage : function()
	{
		var nextElement = $( "ul.footer_banner li.current + li" );
		
		if( !nextElement.find( "a" ).attr( "href" ))
			nextElement = $( "ul.footer_banner li:first-child" );
	
		$( "ul.footer_banner li.current" ).fadeOut( 500, function(){ $( this ).removeClass( "current" ).hide(); });
		nextElement.fadeIn( 500, function(){ $( this ).addClass( "current" ).show(); });
	}
};
