/*
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 = "loading HTML ImageMapper 10 AJAX";

// does the project contain an overview map?
g_hasOvMap = true;
// should it be visible at startup?
g_showOvMapAtStart = false;

// 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 = false;
// should it be visible at startup?
g_showSearchAtStart = false;

// does the project contain lists?
g_hasLists = true;
// 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 = "Indiana School Districts Interactive";
// does the information bar contain the description (below the title)?
g_hasComments = true;
g_comments = "Source&#58; Indiana Department of Education<br/>Indiana Business Research Center, August 2007";
// shall the logo be shown in the information bar (right)?
g_hasLogo = true;
// display a scalebar?
g_hasScalebar = false;
// 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 = true;

// 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(1005,719);

// 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] = 3.29954;
g_zoomFactors[2] = 4.43731;
set_zoomLevel(0);

g_tSize = new Array(256, 256);
g_maptileimageFormat = "png";

g_geoTileSize = new Array(512 ,512);
g_geoTilesDir = "geoTiles/tiles_";

g_ovMapExt = new Array(250, 178);
g_ovMapImgSrc = "maptileimages/ovmap.png";

g_dCLength = 293;

g_legendImgSrc = "maptileimages/legend.png";
g_legendExt = new Array(189,167);

g_searchDir = "searchIndex/";

g_searchFields = new Array();
g_searchFields[0] = '&#78;&#65;&#77;&#69;||STRING';
g_searchFields[1] = '&#67;&#79;&#82;&#69;&#32;&#52;&#48;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[2] = '&#72;&#79;&#78;&#79;&#82;&#83;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[3] = '&#82;&#69;&#71;&#85;&#76;&#65;&#82;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[4] = '&#84;&#79;&#84;&#65;&#76;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[5] = '&#65;&#84;&#84;&#69;&#78;&#68;&#65;&#78;&#67;&#69;&#32;&#82;&#65;&#84;&#69;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[6] = '&#65;&#86;&#71;&#32;&#65;&#71;&#69;&#58;&#32;&#67;&#69;&#82;&#84;&#73;&#70;&#73;&#69;&#68;&#32;&#78;&#79;&#78;&#45;&#84;&#69;&#65;&#67;&#72;&#73;&#78;&#71;&#32;&#83;&#84;&#65;&#70;&#70;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[7] = '&#65;&#86;&#71;&#32;&#65;&#71;&#69;&#58;&#32;&#84;&#69;&#65;&#67;&#72;&#69;&#82;&#83;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[8] = '&#65;&#86;&#71;&#32;&#83;&#65;&#76;&#65;&#82;&#89;&#58;&#32;&#67;&#69;&#82;&#84;&#73;&#70;&#73;&#69;&#68;&#32;&#78;&#79;&#78;&#45;&#84;&#69;&#65;&#67;&#72;&#73;&#78;&#71;&#32;&#83;&#84;&#65;&#70;&#70;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[9] = '&#65;&#86;&#71;&#32;&#83;&#65;&#76;&#65;&#82;&#89;&#58;&#32;&#84;&#69;&#65;&#67;&#72;&#69;&#82;&#83;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[10] = '&#65;&#86;&#71;&#32;&#69;&#88;&#80;&#69;&#82;&#73;&#69;&#78;&#67;&#69;&#58;&#32;&#67;&#69;&#82;&#84;&#73;&#70;&#73;&#69;&#68;&#32;&#78;&#79;&#78;&#45;&#84;&#69;&#65;&#67;&#72;&#73;&#78;&#71;&#32;&#83;&#84;&#65;&#70;&#70;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[11] = '&#84;&#79;&#84;&#65;&#76;&#32;&#69;&#78;&#82;&#79;&#76;&#76;&#77;&#69;&#78;&#84;&#44;&#32;&#50;&#48;&#48;&#54;&#45;&#48;&#55;||NUMBER';
g_searchFields[12] = '&#84;&#79;&#84;&#65;&#76;&#32;&#69;&#88;&#80;&#69;&#78;&#83;&#69;&#32;&#80;&#69;&#82;&#32;&#80;&#85;&#80;&#73;&#76;&#44;&#32;&#51;&#32;&#89;&#82;&#46;&#32;&#65;&#86;&#71;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[13] = '&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#73;&#79;&#78;&#32;&#82;&#65;&#84;&#69;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[14] = '&#80;&#69;&#82;&#67;&#69;&#78;&#84;&#32;&#80;&#65;&#83;&#83;&#73;&#78;&#71;&#32;&#77;&#65;&#84;&#72;&#32;&#65;&#78;&#68;&#32;&#69;&#78;&#71;&#76;&#73;&#83;&#72;&#32;&#83;&#84;&#65;&#78;&#68;&#65;&#82;&#68;&#83;&#58;&#32;&#71;&#82;&#46;&#32;&#51;&#44;&#32;&#50;&#48;&#48;&#53;||NUMBER';
g_searchFields[15] = '&#80;&#69;&#82;&#67;&#69;&#78;&#84;&#32;&#80;&#65;&#83;&#83;&#73;&#78;&#71;&#32;&#77;&#65;&#84;&#72;&#32;&#65;&#78;&#68;&#32;&#69;&#78;&#71;&#76;&#73;&#83;&#72;&#32;&#83;&#84;&#65;&#78;&#68;&#65;&#82;&#68;&#83;&#58;&#32;&#71;&#82;&#46;&#32;&#54;&#44;&#32;&#50;&#48;&#48;&#53;||NUMBER';
g_searchFields[16] = '&#80;&#69;&#82;&#67;&#69;&#78;&#84;&#32;&#80;&#65;&#83;&#83;&#73;&#78;&#71;&#32;&#77;&#65;&#84;&#72;&#32;&#65;&#78;&#68;&#32;&#69;&#78;&#71;&#76;&#73;&#83;&#72;&#32;&#83;&#84;&#65;&#78;&#68;&#65;&#82;&#68;&#83;&#58;&#32;&#71;&#82;&#46;&#32;&#56;&#44;&#32;&#50;&#48;&#48;&#53;||NUMBER';
g_searchFields[17] = '&#80;&#69;&#82;&#67;&#69;&#78;&#84;&#32;&#80;&#65;&#83;&#83;&#73;&#78;&#71;&#32;&#77;&#65;&#84;&#72;&#32;&#65;&#78;&#68;&#32;&#69;&#78;&#71;&#76;&#73;&#83;&#72;&#32;&#83;&#84;&#65;&#78;&#68;&#65;&#82;&#68;&#83;&#58;&#32;&#71;&#82;&#46;&#32;&#49;&#48;&#44;&#32;&#50;&#48;&#48;&#53;||NUMBER';
g_searchFields[18] = '&#83;&#65;&#84;&#32;&#67;&#79;&#77;&#80;&#79;&#83;&#73;&#84;&#69;&#32;&#83;&#67;&#79;&#82;&#69;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[19] = '&#80;&#69;&#82;&#67;&#69;&#78;&#84;&#32;&#79;&#70;&#32;&#49;&#50;&#84;&#72;&#32;&#71;&#82;&#46;&#32;&#84;&#65;&#75;&#73;&#78;&#71;&#32;&#83;&#65;&#84;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[20] = '&#67;&#79;&#76;&#76;&#69;&#71;&#69;&#32;&#65;&#84;&#84;&#69;&#78;&#68;&#65;&#78;&#67;&#69;&#32;&#82;&#65;&#84;&#69;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';
g_searchFields[21] = '&#83;&#84;&#85;&#68;&#69;&#78;&#84;&#83;&#32;&#80;&#69;&#82;&#32;&#84;&#69;&#65;&#67;&#72;&#69;&#82;&#44;&#32;&#50;&#48;&#48;&#54;||NUMBER';

g_searchChunks = new Array();
g_searchChunks["&#67;&#79;&#82;&#69;&#32;&#52;&#48;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;"] = new Array(65,499);
g_searchChunks["&#72;&#79;&#78;&#79;&#82;&#83;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;"] = new Array(53,588);
g_searchChunks["&#82;&#69;&#71;&#85;&#76;&#65;&#82;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;"] = new Array(60,646);
g_searchChunks["&#84;&#79;&#84;&#65;&#76;&#32;&#71;&#82;&#65;&#68;&#85;&#65;&#84;&#69;&#83;&#44;&#32;&#50;&#48;&#48;&#54;"] = new Array(187,1707);
g_searchChunks["&#65;&#84;&#84;&#69;&#78;&#68;&#65;&#78;&#67;&#69;&#32;&#82;&#65;&#84;&#69;&#44;&#32;&#50;&#48;&#48;&#54;"] = new Array(96.39,100);


g_logoSize = new Array(134,28);
g_logoPath = "design/powered_stats.gif";

g_listsDir = "lists/";
g_lists = new Array();
g_lists[0] = "&#83;&#68;&#85;&#78;&#73;&#67;&#85;__&#78;&#65;&#77;&#69;";

g_rwUL = new Array(207037.440345228,4647833.54807761);
g_rwLR = new Array(891385.407664765,4158235.34788995);
g_coordSys = "NAD_1983_UTM_Zone_16N";
g_coordUnits = "m";

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();
}

