docs: function(element) {
  
              // Element caption
              var elementText = '';
              if (element.title) {
                  elementText += '<b>' + element.title + '</b>';
              }
  
              if (element.description) {
                  if (elementText != '') elementText += '<br>';
                  elementText += element.description;
              }
  
              if (elementText != '') {
                  if (element.link) {
                      elementText = '<a href="' + element.link + '"' + (element.linkTarget ? ' target="' + element.linkTarget + '"' : '') + '>' + elementText + '</a>';
                  }
  
                  if (typeof pgwSlideshow.plugin.find('.ps-caption').fadeIn == 'function') {
                      pgwSlideshow.plugin.find('.ps-caption').html(elementText);
                      pgwSlideshow.plugin.find('.ps-caption').fadeIn(pgwSlideshow.config.transitionDuration / 2);
                  } else {
                      pgwSlideshow.plugin.find('.ps-caption').html(elementText);
                      pgwSlideshow.plugin.find('.ps-caption').show();
                  }
              }
  
              // Update list items
              pgwSlideshow.plugin.find('.ps-list > ul > li .ps-item').removeClass('ps-selected');
              pgwSlideshow.plugin.find('.ps-list > ul > li.elt_' + element.id + ' .ps-item').addClass('ps-selected');
  
              // Check selected item
              if (pgwSlideshow.config.displayList) {
                  checkList();
                  checkSelectedItem();
              }
  
              // Slideshow controls
              if (pgwSlideshow.config.displayControls) {
                  if (typeof pgwSlideshow.plugin.find('.ps-current > .ps-prev').fadeIn == 'function') {
                      pgwSlideshow.plugin.find('.ps-current > .ps-prev, .ps-current > .ps-next').fadeIn(pgwSlideshow.config.transitionDuration / 2);
                  } else {
                      pgwSlideshow.plugin.find('.ps-current > .ps-prev, .ps-current > .ps-next').show();
                  }
              }
  
              // After slide
              if (typeof pgwSlideshow.config.afterSlide == 'function') {
                  pgwSlideshow.config.afterSlide(element.id);
              }
  
              // Set the container height
              var maxHeight = pgwSlideshow.plugin.find('.ps-current .elt_' + element.id + ' img').height();
              updateHeight(maxHeight, true);
  
              return true;
          }