if (IS_DEBUG == null)
	var IS_DEBUG = false;

function slideSwitch(id) {
	if (IS_DEBUG) alert("function::slideSwitch");
	if (IS_DEBUG) alert("slideSwitch::id "+ id);

	var $active = $('#'+ id +' a.active');
	if (IS_DEBUG) alert("slideSwitch::active "+ $active);

	if ($active.length == 0)
		$active = $('#'+ id +' a:last');
	if (IS_DEBUG) alert("slideSwitch::active "+ $active);

	var $next =
		$active.next().length
			? $active.next()
			: $('#'+ id +' a:first')
		;
	if (IS_DEBUG) alert("slideSwitch::next "+ $next);

	$active
		.addClass('last-active')
	;

	$next
		.css({opacity: 0.0})
		.addClass('active')
		.animate({opacity: 1.0}, 1000, function() {
			$active.removeClass('active last-active');
		});
	
	return true;
}	//	end slideSwitch
