function slideSwitch1() {
	var $active = jQuery('#slideshow1 IMG.active');

	if ( $active.length == 0 ) $active = jQuery('#slideshow1 IMG:last');

	var $next =  $active.next().length ? $active.next()
		: jQuery('#slideshow1 IMG:first');

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

	$next.css({opacity: 0.0})
		.addClass('active')
		.animate({opacity: 1.0}, 1000, function() {
			$active.removeClass('active last-active');
		});
}								
function slideSwitch2() {
	var $active = jQuery('#slideshow2 IMG.active');						
	if ( $active.length == 0 ) $active = jQuery('#slideshow2 IMG:last');
	var $next =  $active.next().length ? $active.next()
		: jQuery('#slideshow2 IMG:first');
	$active.addClass('last-active');

	$next.css({opacity: 0.0})
		.addClass('active')
		.animate({opacity: 1.0}, 1000, function() {
			$active.removeClass('active last-active');
		});
}	
function slideSwitch3() {
	var $active = jQuery('#slideshow3 IMG.active');						
	if ( $active.length == 0 ) $active = jQuery('#slideshow3 IMG:last');
	var $next =  $active.next().length ? $active.next()
		: jQuery('#slideshow3 IMG:first');
	$active.addClass('last-active');

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

jQuery(function() {
	setInterval( "slideSwitch1()", 3000 );
	setInterval( "slideSwitch2()", 3000 );
	setInterval( "slideSwitch3()", 3000 );
});		
