// ----------- Configuration Parameters --------------

/* Directory relative to the html file where the photos are stored */
var photoDir = 'photos';

/* Specify if thumbnails will be stored in a separate directory.
  *  If this option is set to true then the thumbnailsDir should be set to.
  * Otherwise the thumbnailsDir property is ignored and is the same as the photos dir*/
var useThumbnailsDir = false;

/* Directory relative to the html file where the thumbnail photos are stored.
 * This can be the same as the photosDir if no thumbnails are desired.
 * Creating a directory with the thumbnails of the images makes the page load faster
 */
var thumbnailsDir = 'thumbnails';

/* In case there are no thumbnails explicitely given, the photos are resized
 * to the below dimensions when specifying the sizes of the thumbnails. */
var resizeThumbnails = true;
var defaultThumbnailWidth = 120;
var defaultThumbnailHeight = 90;

/* Prefix of thumbnails. If this variable is set to empty string
 * and the thumbDir is the same as the photoDir, then this is the same as not using thumbnails
 * If you do that you have to change the width and height in the thumbnail() function
 * otherwise your thumbnails will appear huge
 */
var thumbnailsPrefix = '';

/* The xml file that has the names and descriptions of the photos */
var fileName = "photos.xml"; 

/* How many photos will be displayed per table row. */
var maxPhotosPerRow = 3;

/* How many rows will be displayed per page. 
 * If a page has more photos they will be included in the next page */
var maxRowsPerPage = 3; 

/* The home page url. 
 * If left blank, then there is no link to home
 */
var homeUrl = '';

/* If the useCommonPhotosExtension is set to true and the common photos
  * extension is specified, the xml file does not have to include the extension in the file name
  * so the photos should be given as   name="myPhoto".
  * Otherwise the filename should include the extension i.e. name="myPhoto.jpg"    */
var useCommonPhotosExtension = true;
var commonPhotosExtension = 'jpg';

