/*
   -----------------------------------------
   Directory Setup File for the EOS Template
   -----------------------------------------
  
   With this file you can define a common directory
   which is shared between different galleries. 
  
   Read the documentation first before you edit!
   -> http://www.eostemplate.com/eos/eosproject.html
  
  
   Notes: 
   * this file must be in the gallery root folder!
   * all folder names are relative to the gallery root folder, therefore
   * an empty string means the current folder (= gallery root folder)
     (The gallery root folder is the HTML output directory.)
*/


// determine if we are online or local
// and set the common_DIR variable accordingly

if(location.protocol.indexOf("http") == 0)

	common_DIR = "../eoscommon"	// web server   (online gallery)
else
	common_DIR = "../eoscommon"	// local system (offline gallery)

/*
   Notes:
   With the above settings you can define different common directories
   for online and offline usage. That way you can test your gallery on
   your local system and then just upload it without changing the setup.
  
  
   Examples:
  
   1. relative path
   common_DIR = "../eoscommon"
  
   This works online & offline but it requires a flat directory
   structure: all output files must be at the same level as the
   common folder (locally and on the web server).
   
   
   2. absolute path
   common_DIR = "/galleries/eoscommon"		// web server
   common_DIR = "file:///C:/www/eoscommon"	// local system
  
   Use a setup like this if you have multi-level hierarchy in your
   galleries. It requires two different settings for online and local. 
   
  
   3. no common folder
   common_DIR = ""
   
   In this example no shared directory is used. Copy all files from the
   EOS project folder in the EOS template folder (or in the output
   folder) to keep every gallery independent. 
*/

// More settings:
// --------------

// most images are stored in a subfolder
common_images_DIR	= common_DIR + "/images"


// It is possible to overwrite the standard settings 3 times!
settings2_DIR		= common_DIR + "/setup2"
settingsc_DIR		= common_DIR
settings3_DIR		= ""
