function startSlideshowC( options ) {
    // get list of images in hidden gallery div
    var allImages = new Array();
    $('div.photo').each( function( index, domElement ) {
        allImages.push( domElement.id );
    });
    
    numImages = allImages.length;
    
    // initialize variables
    var curPanel = $('#panel');
    var myTimer;
    var init = 0;
    var counter = 0;
    var cycleCounter = 0;
    
    // Settings
    var panelSlideUpDelay = ( options.panelSlideUpDelay == null ) ? 3000 : options.panelSlideUpDelay; // seconds before sliding panel up
    var panelSlideUpDuration = ( options.panelSlideUpDuration == null ) ? 2000 : options.panelSlideUpDuration; // duration of panel sliding up animation
    var panelSlideDownDelay = ( options.panelSlideDownDelay == null ) ? 8000 : options.panelSlideDownDelay; // seconds before sliding panel down
    var panelSlideDownDuration = ( options.panelSlideDownDuration == null ) ? 2000 : options.panelSlideDownDuration; // duration of panel sliding down animation
    
    // function to cycle through images
    function increaseCounter() {
        counter = ( counter + 1 >= numImages ) ? 0 : counter + 1;
        cycleCounter++;
    }
    
    function setPhoto() {
                    
        // set the background image of the gallery div to the first photo
        $('#gallery').css('background-image', "url('" + $( "#" + allImages[counter] + "> img").attr("src") + "')");

        // clear top layers
        $('#galleryImage').css('background-image', '');
        
        showPanel();
        
    }
    
    function showPanel() {
        // remove contents of panel and replace with first quote
        curPanel.empty();
        
        // add quotation to current panel
        $( "#" + allImages[counter] + "> div" ).clone().appendTo(curPanel);
        
        // slide panel in from the bottom
        $("#panel").attr("class", "below")
                   .delay( panelSlideUpDelay )  // delay before starting panel slide
                   .animate( {
                                left: "0px",
                                top: "250px"
                             }, 
                             panelSlideUpDuration,
                             "swing",
                             function(){ hidePanel(); }
                             );
    }
    
    function hidePanel() {
        // slide panel out to the bottom
        $("#panel").removeClass()
                   .addClass("two")
                   .delay( panelSlideDownDelay )
                   .animate( { top: "340px" },
                             panelSlideDownDuration ,
                             "swing",
                             function(){ increaseCounter(); showPanel(); } );
    }

    
    // begin slideshow
    setPhoto();
}
