/*
 *
 * This establishes a number of constants used for configuration of hte application
 *
 */

var CALL_SERVER_TYPE = 'standard'; //gismo
//CALL_SERVER_TYPE='gismo';

var MAPBOOK_FILE = 'demo.xml';

/*
 * Constatns to Define the MapServer Call
 */
var MAPSERVER_PATH = '/gis/mapserver/cgi-bin/mapserv.pl';
var MAPSERVER_HOST = '';
var MAPSERVER_METHOD = 'POST'; // POST IS *** HIGHLY *** RECOMMENDED, AND REQUIRED IF YOU ARE USING THE POLYGON TOOLS!!!!
var MAPSERVER_SEND_MAP = true;

/* This is the main template used in Server.js to create the call to map server
 * Examples (for GET):
 *	= 'http://[HOST]/[MAPSERVER_PATH]?map=[MAPFILE]&[PARAMETERS]';
 *	= '[MAPSERVER_PATH]?map=[MAPFILE]&[PARAMETERS]';
 * Examples (for POST):
 *	= 'http://[HOST]/[MAPSERVER_PATH]
 *	= '[MAPSERVER_PATH]';
 */
//var MAPSERVER_CALL = '[MAPSERVER_PATH]/[MAPSERVER_PATH]?map=[MAPFILE]&[PARAMETERS]';
var MAPSERVER_CALL = '[MAPFILE]';
var MAPSERVER_DISPLAY_CALL = '[MAPSERVER_PATH]?[PARAMETERS]';

var LAYER_MAXIMUM_OBJECTS = 200;

var SERVER_MAXIMUM_ATTEMPTS = 3;

/*
 * Some image Locations.
 */

var BLANK_IMAGE = 'blank.gif';
var UNKNOWN_DEFAULT_ICON = 'map_info.gif';
var SERVICE_DEFAULT_ICON = 'images/tool.png';
var MAP_DEFAULT_ICON = 'images/map_image_loaded.png';
var VIEW_DEFAULT_ICON = 'view.gif';

var FOLDER_ICON = 'images/folder.png';
var FOLDER_OPEN_ICON = 'images/open_folder.png';
var MAP_LOADING_ICON ='images/loading.png';
var MAP_DATA_ICON = 'images/map_data_loaded.png';
var MAP_OVERLOAD_ICON = 'images/map_overload.png';
var MAP_ERROR_ICON = 'images/map_error.png';

var REMOVE_ICON = 'images/remove.png';
var RELOAD_ICON = 'images/reload.png';
var FADE_ICON = 'images/fade.png';
var UNFADE_ICON = 'images/unfade.png';

var CHECKED_ICON = 'map_info.gif';
var UP_ICON = 'images/arrow_up.png';
var DOWN_ICON = 'images/arrow_down.png';

var SLIDE_LEFT = 'images/slide_left.png';
var SLIDE_RIGHT = 'images/slide_right.png';

