/*
HTML ImageMapper 10.0.24
---------------------------------------------------------------
Here are some variables which can be customized. You can change
behavior by setting either True or False.
---------------------------------------------------------------
*/

function config_IM() {

// startup message
g_startUpMessage = "Kitsap County's </br>Burn Ban Mapping Application</br></br>brought to you by </br>Community Development's </br>Geographic Information Systems";

// does the project contain an overview map?
g_hasOvMap = true;
// should it be visible at startup?
g_showOvMapAtStart = true;

// does the project contain a legend?
g_hasLegend = true;
// should it be visible at startup?
g_showLegendAtStart = false;

// does the project contain a search?
g_hasSearch = true;
// should it be visible at startup?
g_showSearchAtStart = false;

// does the project contain lists?
g_hasLists = false;
// should it be visible at startup?
g_showListsAtStart = false;

// display the information bar (containing title, icon etc...)
g_hasInfoBar = true;
// does the information bar contain a title?
g_hasTitle = true;
g_title = "Kitsap County Burn Ban Areas 2007";
// does the information bar contain the description (below the title)?
g_hasComments = true;
g_comments = "Use the &#34;ZOOM&#34; tool on the lower left</br>to see greater detail. &#34;Left-Click&#34; and hold to Pan around the Map. &#34;Double-Click&#34; on</br>the Compass to recenter the map. Enter part (or all) of a Road name in the &#34;Search&#34; window, and find a specific road</br>";
// shall the logo be shown in the information bar (right)?
g_hasLogo = true;
// display a scalebar?
g_hasScalebar = true;
// display current mouse coordinates?
g_hasCoordsDisplay = false;

// do buttons exist which enable printing (map, attributes, search result)?
g_hasPrintKnob = true;

// shall we draw a zoombar?
g_hasZoomBar = true;

// disable zoom animation?
g_animatedZoom = false;

// print the whole visible map or constrain on DIN A4
g_printAll = false;


/*
---------------------------------------------------------------------
the following Options Not should Changed without further knowledge
---------------------------------------------------------------------
*/

g_baseMapExt = new Array(525,750);

// fullscreen version
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] = 2;
g_zoomFactors[2] = 4.40165;
g_zoomFactors[3] = 8.80329;
g_zoomFactors[4] = 17.60704;
set_zoomLevel(0);

g_tSize = new Array(256, 256);
g_maptileimageFormat = "gif";

g_geoTileSize = new Array(512 ,512);
g_geoTilesDir = "geoTiles/tiles_";

g_ovMapExt = new Array(200, 284);
g_ovMapImgSrc = "maptileimages/ovmap.gif";

g_dCLength = 7393;

g_legendImgSrc = "maptileimages/legend.gif";
g_legendExt = new Array(250,323);

g_searchDir = "searchIndex/";

g_searchFields = new Array();
g_searchFields[0] = '&#83;&#84;&#82;&#69;&#69;&#84;&#95;&#78;&#65;&#77;&#69;||STRING';

g_searchChunks = new Array();


g_logoSize = new Array(65,65);
g_logoPath = "design/kcbird.gif";

g_listsDir = "lists/";
g_lists = new Array();

g_rwUL = new Array(1098447.3292259,350132.596320148);
g_rwLR = new Array(1238574.0457741,149951.572679852);
g_coordSys = "NAD_1983_StatePlane_Washington_North_FIPS_4601_Feet";
g_coordUnits = "ft";

g_attDir = "attributes/";
g_maptileimagePraefix = "diemap_";
g_maptileimageDir = "maptileimages/images_";

g_mapViewDirs = new Array();

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/";

load_lang();
posCalc();
urlHandler();
}

