/*
HTML ImageMapper NG
---------------------------------------------------------------
Additional configuration variables. Change behavior of output
by changing string value or setting booleans to true / false.
---------------------------------------------------------------
*/
function config_IM() {
g_startUpMessage = "Loading Map - Please be Patient";
g_hasOvMap = false;
g_showOvMapAtStart = false;
g_hasLegend = false;
g_showLegendAtStart = false;
g_hasSearch = false;
g_hasProfiSearch = true;
g_showSearchAtStart = false;
g_hasLists = false;
g_showListsAtStart = false;
g_hasInfoBar = false;
g_hasTitle = false;
g_title = "HTML ImageMapper NG - AJAX";
g_hasComments = false;
g_comments = "Created with HTML ImageMapper NG";
g_hasLogo = false;
g_hasScalebar = true;
g_hasCoordsDisplay = false;
g_hasPrintKnob = true;
g_hasZoomBar = true;
g_animatedZoom = true;
g_printAll = false;
/*
---------------------------------------------------------------------
The following option should not be changed without exact knowledge
---------------------------------------------------------------------
*/
g_baseMapExt = new Array(2344,1509);
g_viewOff = new Array(0, 0);
calc_g_viewExt();
g_viewPosType = "px";
g_picUL = new Array(-1, -1);
g_iniPxDelta = new Array(0,0);
g_zoomFactors = new Array();
g_zoomFactors[0] = 1;
g_zoomFactors[1] = 1.66666666666667;
set_zoomLevel(0);
g_tSize = new Array(256, 256);
g_maptileimageFormat = "JPG";
g_geoTileSize = new Array(512 ,512);
g_geoTilesDir = "GEOTILES_0/";
g_ovMapExt = new Array(0,0);
g_ovMapImgSrc = "OVMAP.PNG";
g_dCLength = 2;
g_legendImgSrc = "LEGEND.PNG";
g_legendExt = new Array(0,0);
g_searchDir = "SEARCHINDEX_0/";
g_searchFields_0 = new Array();
g_searchChunks_0 = new Array();
g_logoSize = new Array(0,0);
g_logoPath = "DESIGN/";
g_listsDir = "LISTS_0/";
g_lists_0 = new Array();
g_rwUL = new Array(386043.381102658,1080053.90865277);
g_rwLR = new Array(410858.288175844,1064088.09108304);
g_coordSys = "NAD_1983_Albers";
g_coordUnits = "m";
g_attDir = "ATTRIBUTES_0/";
g_maptileimageDir = "MAPTILEIMAGES_0/";
g_mapViewDirs = new Array();
g_themeBrowserAsDropDown = true;
g_designDir = "DESIGN/";
g_spaceImg = g_designDir+"SPACER_WHITE.GIF";
g_transpLayImg = g_designDir+"LEER.GIF";
g_scaleBarImgSrc = g_designDir + "SCALEBAR.GIF";
g_scaleBarWidth = 100;
g_zBSizeMulti = 14;
g_areaCon = "area_Con";
g_areaLay = "area_layer";
g_dBCon = "dB_Con";
g_postToMapGallery = false;
g_mapGalleryAuthor = "";
g_mapGalleryTitle = "";
g_mapGalleryComment = "";
g_mapGalleryCopyright = "";
g_mapGalleryEmail = "";
g_mapGalleryIndustryId = 0;
g_mapGalleryIndustryText = "";
g_hasCopyrightInfo = false;
g_langDir = "LANGUAGES/";
g_attributesClumpingFactor = 10;
g_customButtons = new Array();
g_searchFields = g_searchFields_0;
g_searchChunks = g_searchChunks_0;
g_lists = g_lists_0;
load_lang();
posCalc();
urlHandler();
}
