// JavaScript Document
// JavaScript Document
var myInterval11=5000;
var AsetInterval11;
function slideSwitch11() {
		
		
    		var $active11 = $('#slideshow11 DIV.active');
	
		if ($active11.length == 0 ) $active11 = $('#slideshow11 DIV:last');

  		  // use this to pull the divs in the order they appear in the markup
   		 var $next11 =  $active11.next().length ? $active11.next()
        : $('#slideshow11 DIV:first');
		
		$active11.addClass('last-active');
		$next11.css({opacity: 0.0})
        .addClass('active')
        .animate({opacity: 1.0}, 2000, function() {
            $active11.removeClass('active last-active');
        });
		
		
    // uncomment below to pull the divs randomly
    // var $sibs  = $active.siblings();
    // var rndNum = Math.floor(Math.random() * $sibs.length );
    // var $next  = $( $sibs[ rndNum ] );

    
}
function setTimeOn11() 
{
	myInterval11=5000;
    AsetInterval11=setInterval("slideSwitch11()",myInterval11);
}
$(document).ready(function(){
	setTimeOn11();
});