/*** 
    Simple jQuery Slideshow Script
    Released by Jon Raasch (jonraasch.com) under FreeBSD license: free to use or modify, not responsible for anything, etc.  Please link out to me if you like it :)
***/

jQuery.noConflict();


function slideSwitch3() {
    var $active3 = jQuery('#slideshow3 DIV.active3');

    if ( $active3.length == 0 ) $active3 = jQuery('#slideshow3 DIV:last');

    // use this to pull the divs in the order they appear in the markup
    var $next3 =  $active3.next().length ? $active3.next()
        : jQuery('#slideshow3 DIV:first');

    // uncomment below to pull the divs randomly
    var $sibs3  = $active3.siblings();
    var rndNum3 = Math.floor(Math.random() * $sibs3.length );
    var $next3  = jQuery( $sibs3[ rndNum3 ] );


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

    $next3.css({opacity: 0.0})
        .addClass('active3')
        .animate({opacity: 1.0}, 3000, function() {
            $active3.removeClass('active3 last-active3');
        });
}

var playSlideshow3 = setInterval( "slideSwitch3()", 12000 );

jQuery(function() {
	jQuery('#slideshow3').hover(function(){
		clearInterval(playSlideshow3);
	}, function(){
		playSlideshow3 = setInterval( "slideSwitch3()", 12000 );
	});
});