
	
    $(document).ready(function() {

        var d = new Date();
        $("#resDay").val(d.getDate());
        $("#resMonth").val(d.getMonth()+1);
        $("#resYear").val(d.getFullYear());
    
        Galleria.loadTheme('js/galleria/themes/classic/galleria.classic.min.js');
        
        $('#gallery').show();
        
        $("#gallery").galleria({
                width: 216,
                height: 252,
                autoplay: 4000,
                pauseOnInteraction: true,
                showImageNav: false,
                showInfo: false,  
                thumbnails: false,
                transition: 'fade',
                showCounter: false
        });
    
        $("#findTableBtn").focus();
     });
    
        
    Galleria.ready(function(options) {
    
        // this = the gallery instance
        // options = the gallery options
    
        this.bind('image', function(e) {
            // e.imageTarget
            var imginfo = this.getData();
            $('.galleryCaption').html(imginfo.description);
           
        });
    });
    
