/**
 * @file
 * @author Shannon M. Rause <shannon.rause@creativeflavor.com>
 * @version $Revision: 1.2 $
 * @version $Name: DOG-SWIM_2010-04-26_4 $
 * @version $Id: Gallery.js,v 1.2 2008/11/07 17:29:44 smr Exp $
 *
 * These files are copyrighted to Creative Flavor Inc. and are
 * subject to the terms of the applicable Service Agreement.
 * If no service agreement is available you must contact us at
 * legal@creativeflavor.com or 303-379-9450.
 * 
 * These files may be watermarked to ensure traceability.
 */
/**
 * Gallery class.
 */
function Gallery()
{
} // Gallery


Gallery.changeImage = function(index)
{
   // image.
   var src = document.getElementById('galleryImageThumb' + index);
   var dest = document.getElementById('galleryPlaceholder');
   dest.src = src.value;

   // caption.
   src = document.getElementById('galleryImageThumbCaption' + index);
   dest = document.getElementById('galleryImageLgCaption');
   Utils.removeChildren(dest);
   dest.appendChild(document.createTextNode(src.value));
} // changeImage

