﻿var activeElement = 0;

$(document).ready(function(){

    if ($('.imgrotate').length == 1) {
    
        $('.imgrotate').show();
        $("#pagerControls").hide();
    
    } else {
    
        // start up the rotater for the questions
        $('#divEventsRotate').cycle({
            fx:      'fade',
            speed:    5000,
            timeout:  4000,
            pause: 1,
            prev: '.lnkPrev',
            next: '.lnkNext',
            pauseOnPagerHover: 1,
            fastOnEvent: 1
            
        });
        
    }

});


