﻿$(document).ready(function () {
    var numslides = $('.divRotatingContent .divSlide').length;
    if (numslides == 1) {
        //slides are hidden by default for loading. if only 1 slide is present the cycle script will not toggle its visibility so we must do that manually here.
        $('.divRotatingContent .divSlide').show();
    }
    else {
        $('.divRotatingContent').cycle({ speed: 3000, pause: 1 });
    }
});


