/* function slideShow(){
 $('.slideShow a:first').fadeOut(1000).next('.slideClick').fadeIn(1000).end().appendTo('.slideShow');
}

$(document).ready(function(){
	$(function(){
		$('.slideShow a:gt(0)').hide();
		var intVal = '';
		intVal = setInterval('slideShow()', 3000);
		$('.slideShow').hover(function(){
		clearInterval(intVal);
		},function(){
			intVal = setInterval('slideShow()', 3000);
		});
	});
});
 */
 
function slideSwitch() {
	var $active = $('.slideShow a.active');
	if ($active.length == 0) $active = $('.slideShow a:last');
	var $next = $active.next().length ? $active.next() : $('.slideShow a:first');
	$active.addClass('last-active');
	$next.css({ opacity: 0.0 }).addClass('active').animate({ opacity: 1.0 }, 2000, function(){
	$active.removeClass('active last-active');
	});
}
$(document).ready(function(){
	$('.slideShow a:first').addClass('active');
	setInterval("slideSwitch()", 5000);
});
