fileBottomNavCloseImage = 'closelabel-de.gif';

Lightbox.prototype.updateDetails = function() {
  
  Element.show('caption');
  Element.setInnerHTML( 'caption', imageArray[activeImage][1]);
  
  // if image is part of set display 'Image x of x' 
  if(imageArray.length > 1){
    Element.show('numberDisplay');
    Element.setInnerHTML( 'numberDisplay', 'Bild ' + (activeImage + 1) + ' von ' + imageArray.length);
  }

  new Effect.Parallel(
    [ new Effect.SlideDown( 'imageDataContainer', { sync: true, duration: resizeDuration + 0.25, from: 0.0, to: 1.0 }), 
      new Effect.Appear('imageDataContainer', { sync: true, duration: 1.0 }) ], 
    { duration: 0.65, afterFinish: function() { myLightbox.updateNav();} } 
  );
};
