/*********************************************************************************
 * clientConfiguration.js - Alteryx Connect Client Configuration Class
 *********************************************************************************
 *      Company: SRC, LLC
 *       Author: Ian Erickson
 *    Copyright: Copyright(c) 2009 SRC, LLC.  All rights reserved.
 * 
 *      Version: 1.0.0
 *      Vintage: 06/30/2009
 *
 * Dependencies: prototype-1.6.0.2.js (http://prototypejs.org/)
 *
 *      Classes: None.
 * 
 *    History:
 * 
 *  06/30/2009: Initial Library Build
 *
 *********************************************************************************/

/*********************************************************************************
 * Global Configuration
 *********************************************************************************
 * Description:
 * 	A basic client configuration file that enumerates all of the machine-level
 *	variables for a given installation.  These variables can be set (at a 
 *	later time) by the Alteryx Connect server itself.
 *********************************************************************************
 *          Base Class: Object
 * 
 *    Known Subclasses:	None.
 *
 *     Methods Defined: None.
 * 
 *         Usage Notes: None.
 *
 *********************************************************************************/

/* Reference to the Alteryx Connect Server. */
var _acServer = 'http://#{servername}/ACServices/Vermilion.ashx';

/* Reference to the Alteryx Connect Server component handler page. */
var _acComponentServer = 'http://#{servername}/ACServices/server/ComponentHandler.ashx';

/* Reference to the Map Server that this site will be using. */
var _acMapServerSources = {
    'default': ['http://#{servername}/ACServices/server/MapHandler.ashx'],
    'static': ['http://map1.demographicsnow.com/ACServices/server/MapHandler.ashx', 'http://map2.demographicsnow.com/ACServices/server/MapHandler.ashx', 'http://map3.demographicsnow.com/ACServices/server/MapHandler.ashx'],
    'satellite': ['http://map1.demographicsnow.com/ACServices/server/MapHandler.ashx', 'http://map2.demographicsnow.com/ACServices/server/MapHandler.ashx', 'http://map3.demographicsnow.com/ACServices/server/MapHandler.ashx']
};

/* Reference to the map service calls for various layers. */
var _acMapServices = {
    'base': 'base',
    'roads': 'roads',
    'geography': 'selection',
    'satellite': 'satellite'
};

/*
    Reference to the URL (image path) for Google AdWords conversions. This is only necessary for DNow.
    Either set this to null or simply don't define this variable to disable.
*/
var _googleConversionTrackURL = "http://www.googleadservices.com/pagead/conversion/1072583018/?label=purchase&amp;guid=ON&amp;script=0";

/* Reference to the HTTP method: 'get' or 'post'  (Production should always use 'post'). */
var _acHTTPMethod = 'post';
