function config_IM() {

g_startUpMessage = "Loading IPIS Maps...";
g_hasOvMap = true;
g_showOvMapAtStart = false;
g_hasLegend = true;
g_showLegendAtStart = false;
g_hasSearch = true;
g_showSearchAtStart = false;
g_hasLists = true;
g_showListsAtStart = false;
g_hasInfoBar = true;
g_hasTitle = true;
g_title = "Katanga update Sept-Nov 2007";
g_hasComments = true;
g_comments = "Sources: R&eacute;f&eacute;rentiel G&eacute;ographique Commun, KMMA";
g_hasLogo = true;
g_hasScalebar = true;
g_hasCoordsDisplay = true;
g_hasPrintKnob = true;
g_hasZoomBar = true;
g_animatedZoom = true;
g_printAll = false;
g_baseMapExt = new Array(853,555);
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.5;
g_zoomFactors[2] = 7.5;
set_zoomLevel(0);
g_tSize = new Array(256, 256);
g_maptileimageFormat = "png";
g_geoTileSize = new Array(512 ,512);
g_geoTilesDir = "geoTiles_0/";
g_ovMapExt = new Array(250, 162);
g_ovMapImgSrc = "ovmap.png";
g_dCLength = 4029;
g_legendImgSrc = "legend.png";
g_legendExt = new Array(385,645);
g_searchDir = "searchIndex_0/";
g_searchFields_0 = new Array();
g_searchFields_0[0] = '&#77;&#65;&#89;&#73;&#45;&#77;&#65;&#89;&#73;&#32;&#71;&#82;&#79;&#85;&#80;||STRING';
g_searchFields_0[1] = '&#66;&#65;&#83;&#69;||STRING';
g_searchFields_0[2] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#82;&#89;||STRING';
g_searchFields_0[3] = '&#69;&#83;&#84;&#73;&#77;&#65;&#84;&#69;&#68;&#32;&#78;&#85;&#77;&#66;&#69;&#82;||STRING';
g_searchFields_0[4] = '&#67;&#79;&#77;&#77;&#69;&#78;&#84;&#83;||STRING';
g_searchFields_0[5] = '&#80;&#76;&#65;&#67;&#69;||STRING';
g_searchFields_0[6] = '&#68;&#69;&#83;&#67;&#82;&#73;&#80;&#84;&#73;&#79;&#78;||STRING';
g_searchFields_0[7] = '&#68;&#73;&#86;&#73;&#83;&#73;&#79;&#78;||STRING';
g_searchFields_0[8] = '&#78;&#82;||STRING';
g_searchFields_0[9] = '&#85;&#78;&#73;&#84;||STRING';
g_searchFields_0[10] = '&#67;&#79;&#77;&#77;&#65;&#78;&#68;&#69;&#82;||STRING';
g_searchFields_0[11] = '&#66;&#65;&#67;&#75;&#71;&#82;&#79;&#85;&#78;&#68;||STRING';
g_searchFields_0[12] = '&#68;&#65;&#84;&#69;||STRING';
g_searchFields_0[13] = '&#68;&#73;&#83;&#65;&#82;&#77;&#69;&#68;&#32;&#40;&#78;&#85;&#77;&#66;&#69;&#82;&#41;||STRING';
g_searchFields_0[14] = '&#67;&#79;&#77;&#80;&#69;&#78;&#83;&#65;&#84;&#73;&#79;&#78;&#32;&#67;&#79;&#78;&#65;&#68;&#69;&#82;||STRING';
g_searchFields_0[15] = '&#66;&#73;&#67;&#89;&#67;&#76;&#69;&#83;&#32;&#70;&#79;&#82;&#32;&#87;&#69;&#65;&#80;&#79;&#78;&#83;&#32;&#80;&#65;&#82;&#69;&#67;||STRING';
g_searchFields_0[16] = '&#87;&#79;&#82;&#75;&#32;&#80;&#82;&#79;&#71;&#82;&#65;&#77;&#77;&#69;&#32;&#80;&#65;&#82;&#69;&#67;||STRING';
g_searchFields_0[17] = '&#84;&#82;&#65;&#78;&#83;&#80;&#79;&#82;&#84;&#32;&#70;&#69;&#69;&#32;&#67;&#82;&#75;||STRING';
g_searchFields_0[18] = '&#87;&#79;&#82;&#75;&#32;&#80;&#82;&#79;&#71;&#82;&#65;&#77;&#77;&#69;&#32;&#67;&#82;&#75;||STRING';
g_searchFields_1 = new Array();
g_searchFields_1[0] = '&#66;&#65;&#83;&#69;||STRING';
g_searchFields_1[1] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#82;&#89;||STRING';
g_searchFields_1[2] = '&#68;&#73;&#86;&#73;&#83;&#73;&#79;&#78;||STRING';
g_searchFields_1[3] = '&#78;&#82;||STRING';
g_searchFields_1[4] = '&#85;&#78;&#73;&#84;||STRING';
g_searchFields_1[5] = '&#67;&#79;&#77;&#77;&#65;&#78;&#68;&#69;&#82;||STRING';
g_searchFields_1[6] = '&#66;&#65;&#67;&#75;&#71;&#82;&#79;&#85;&#78;&#68;||STRING';
g_searchFields_1[7] = '&#78;&#79;&#77;&#49;||STRING';
g_searchFields_1[8] = '&#68;&#73;&#83;&#84;&#82;&#73;&#67;&#84;||STRING';
g_searchFields_1[9] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#73;&#82;&#69;||STRING';
g_searchFields_1[10] = '&#76;&#79;&#78;&#71;&#73;&#84;&#85;&#68;&#69;||NUMBER';
g_searchFields_1[11] = '&#76;&#65;&#84;&#73;&#84;&#85;&#68;&#69;||NUMBER';
g_searchFields_2 = new Array();
g_searchFields_2[0] = '&#77;&#65;&#89;&#73;&#45;&#77;&#65;&#89;&#73;&#32;&#71;&#82;&#79;&#85;&#80;||STRING';
g_searchFields_2[1] = '&#66;&#65;&#83;&#69;||STRING';
g_searchFields_2[2] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#82;&#89;||STRING';
g_searchFields_2[3] = '&#69;&#83;&#84;&#73;&#77;&#65;&#84;&#69;&#68;&#32;&#78;&#85;&#77;&#66;&#69;&#82;||STRING';
g_searchFields_2[4] = '&#67;&#79;&#77;&#77;&#69;&#78;&#84;&#83;||STRING';
g_searchFields_2[5] = '&#78;&#79;&#77;&#49;||STRING';
g_searchFields_2[6] = '&#68;&#73;&#83;&#84;&#82;&#73;&#67;&#84;||STRING';
g_searchFields_2[7] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#73;&#82;&#69;||STRING';
g_searchFields_2[8] = '&#76;&#79;&#78;&#71;&#73;&#84;&#85;&#68;&#69;||NUMBER';
g_searchFields_2[9] = '&#76;&#65;&#84;&#73;&#84;&#85;&#68;&#69;||NUMBER';
g_searchFields_3 = new Array();
g_searchFields_3[0] = '&#80;&#76;&#65;&#67;&#69;||STRING';
g_searchFields_3[1] = '&#68;&#65;&#84;&#69;||STRING';
g_searchFields_3[2] = '&#77;&#65;&#89;&#73;&#45;&#77;&#65;&#89;&#73;&#32;&#71;&#82;&#79;&#85;&#80;||STRING';
g_searchFields_3[3] = '&#68;&#73;&#83;&#65;&#82;&#77;&#69;&#68;&#32;&#40;&#78;&#85;&#77;&#66;&#69;&#82;&#41;||STRING';
g_searchFields_3[4] = '&#67;&#79;&#77;&#80;&#69;&#78;&#83;&#65;&#84;&#73;&#79;&#78;&#32;&#67;&#79;&#78;&#65;&#68;&#69;&#82;||STRING';
g_searchFields_3[5] = '&#66;&#73;&#67;&#89;&#67;&#76;&#69;&#83;&#32;&#70;&#79;&#82;&#32;&#87;&#69;&#65;&#80;&#79;&#78;&#83;&#32;&#80;&#65;&#82;&#69;&#67;||STRING';
g_searchFields_3[6] = '&#87;&#79;&#82;&#75;&#32;&#80;&#82;&#79;&#71;&#82;&#65;&#77;&#77;&#69;&#32;&#80;&#65;&#82;&#69;&#67;||STRING';
g_searchFields_3[7] = '&#84;&#82;&#65;&#78;&#83;&#80;&#79;&#82;&#84;&#32;&#70;&#69;&#69;&#32;&#67;&#82;&#75;||STRING';
g_searchFields_3[8] = '&#87;&#79;&#82;&#75;&#32;&#80;&#82;&#79;&#71;&#82;&#65;&#77;&#77;&#69;&#32;&#67;&#82;&#75;||STRING';
g_searchFields_4 = new Array();
g_searchFields_4[0] = '&#68;&#65;&#84;&#69;||STRING';
g_searchFields_4[1] = '&#83;&#73;&#68;&#69;&#32;&#65;||STRING';
g_searchFields_4[2] = '&#68;&#69;&#84;&#65;&#73;&#76;&#83;&#32;&#65;||STRING';
g_searchFields_4[3] = '&#83;&#73;&#68;&#69;&#32;&#66;||STRING';
g_searchFields_4[4] = '&#68;&#69;&#84;&#65;&#73;&#76;&#83;&#32;&#66;||STRING';
g_searchFields_4[5] = '&#80;&#76;&#65;&#67;&#69;||STRING';
g_searchFields_4[6] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#82;&#89;||STRING';
g_searchFields_4[7] = '&#68;&#69;&#83;&#67;&#82;&#73;&#80;&#84;&#73;&#79;&#78;||STRING';
g_searchFields_5 = new Array();
g_searchFields_5[0] = '&#80;&#76;&#65;&#67;&#69;||STRING';
g_searchFields_5[1] = '&#77;&#73;&#78;&#69;||STRING';
g_searchFields_5[2] = '&#67;&#79;&#77;&#77;&#79;&#68;&#73;&#84;&#89;||STRING';
g_searchFields_5[3] = '&#84;&#69;&#82;&#82;&#73;&#84;&#79;&#73;&#82;&#69;||STRING';
g_searchFields_5[4] = '&#68;&#69;&#80;&#79;&#83;&#73;&#84;&#78;&#65;&#77;||STRING';
g_searchFields_5[5] = '&#68;&#73;&#83;&#84;&#82;&#73;&#67;&#84;&#78;&#65;||STRING';
g_searchFields_5[6] = '&#76;&#65;&#66;&#69;&#76;&#67;&#79;&#68;&#69;||STRING';
g_searchFields_6 = new Array();
g_searchFields_6[0] = '&#80;&#76;&#65;&#67;&#69;||STRING';
g_searchFields_6[1] = '&#82;&#69;&#80;&#79;&#82;&#84;||STRING';
g_searchFields_6[2] = '&#65;&#85;&#84;&#72;&#79;&#82;&#47;&#79;&#82;&#71;&#65;&#78;&#73;&#83;&#65;&#84;&#73;&#79;&#78;||STRING';
g_searchFields_6[3] = '&#76;&#73;&#78;&#75;||STRING';
g_searchChunks_0 = new Array();
g_searchChunks_1 = new Array();
g_searchChunks_1["&#76;&#79;&#78;&#71;&#73;&#84;&#85;&#68;&#69;"] = new Array(252,274,2315,2625,2855,22316667,22983333,23966667,24616667,25266667,25783333,26266667,26666111,26983333,27466667,28057865,28498784,29133333,29648611,30347139,30584639);
g_searchChunks_1["&#76;&#65;&#84;&#73;&#84;&#85;&#68;&#69;"] = new Array(-11083333,-10648889,-10333333,-9783333,-9316667,-8766667,-8416667,-8033333,-7716667,-7383333,-7074167,-6483333,-5666667,-858682,-1035,-825,-555,-99,-78,-7,-5);
g_searchChunks_2 = new Array();
g_searchChunks_2["&#76;&#79;&#78;&#71;&#73;&#84;&#85;&#68;&#69;"] = new Array(252,274,2315,2625,2855,22316667,22983333,23966667,24616667,25266667,25783333,26266667,26666111,26983333,27466667,28057865,28498784,29133333,29648611,30347139,30584639);
g_searchChunks_2["&#76;&#65;&#84;&#73;&#84;&#85;&#68;&#69;"] = new Array(-11083333,-10648889,-10333333,-9783333,-9316667,-8766667,-8416667,-8033333,-7716667,-7383333,-7074167,-6483333,-5666667,-858682,-1035,-825,-555,-99,-78,-7,-5);
g_searchChunks_3 = new Array();
g_searchChunks_4 = new Array();
g_searchChunks_5 = new Array();
g_searchChunks_6 = new Array();
g_lists_0 = new Array();
g_lists_0[0] = "&#77;&#65;&#89;&#73;&#45;&#77;&#65;&#89;&#73;&#32;&#83;&#69;&#80;&#84;&#45;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#66;&#65;&#83;&#69;";
g_lists_0[1] = "&#70;&#65;&#82;&#68;&#67;&#32;&#83;&#69;&#80;&#84;&#45;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#66;&#65;&#83;&#69;";
g_lists_0[2] = "&#68;&#68;&#82;&#32;&#85;&#80;&#32;&#84;&#79;&#32;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#80;&#76;&#65;&#67;&#69;";
g_lists_1 = new Array();
g_lists_1[0] = "&#70;&#65;&#82;&#68;&#67;&#32;&#83;&#69;&#80;&#84;&#45;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#66;&#65;&#83;&#69;";
g_lists_2 = new Array();
g_lists_2[0] = "&#77;&#65;&#89;&#73;&#45;&#77;&#65;&#89;&#73;&#32;&#83;&#69;&#80;&#84;&#45;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#66;&#65;&#83;&#69;";
g_lists_3 = new Array();
g_lists_3[0] = "&#68;&#68;&#82;&#32;&#85;&#80;&#32;&#84;&#79;&#32;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#80;&#76;&#65;&#67;&#69;";
g_lists_4 = new Array();
g_lists_4[0] = "&#73;&#78;&#67;&#73;&#68;&#69;&#78;&#84;&#83;&#32;&#83;&#69;&#80;&#84;&#45;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#80;&#76;&#65;&#67;&#69;";
g_lists_5 = new Array();
g_lists_5[0] = "&#79;&#84;&#72;&#69;&#82;&#32;&#82;&#69;&#83;&#79;&#85;&#82;&#67;&#69;&#83;__&#67;&#79;&#77;&#77;&#79;&#68;&#73;&#84;&#89;";
g_lists_6 = new Array();
g_lists_6[0] = "&#82;&#69;&#80;&#79;&#82;&#84;&#83;&#32;&#85;&#80;&#32;&#84;&#79;&#32;&#78;&#79;&#86;&#32;&#50;&#48;&#48;&#55;__&#82;&#69;&#80;&#79;&#82;&#84;";
g_mapViewDirs = new Array();
g_mapViewDirs.push(new Array("Conflict actors Sept-Nov 2007","maptileimages_0/","attributes_0/","geoTiles_0/","searchIndex_0/",g_searchFields_0,g_searchChunks_0,"lists_0/",g_lists_0));
g_mapViewDirs.push(new Array("FARDC Sept-Nov 2007","maptileimages_1/","attributes_1/","geoTiles_1/","searchIndex_1/",g_searchFields_1,g_searchChunks_1,"lists_1/",g_lists_1));
g_mapViewDirs.push(new Array("Mayi-Mayi Sept-Nov 2007","maptileimages_2/","attributes_2/","geoTiles_2/","searchIndex_2/",g_searchFields_2,g_searchChunks_2,"lists_2/",g_lists_2));
g_mapViewDirs.push(new Array("DDR up to Nov 2007","maptileimages_3/","attributes_3/","geoTiles_3/","searchIndex_3/",g_searchFields_3,g_searchChunks_3,"lists_3/",g_lists_3));
g_mapViewDirs.push(new Array("Incidents Sept-Nov 2007","maptileimages_4/","attributes_4/","geoTiles_4/","searchIndex_4/",g_searchFields_4,g_searchChunks_4,"lists_4/",g_lists_4));
g_mapViewDirs.push(new Array("Natural resources","maptileimages_5/","attributes_5/","geoTiles_5/","searchIndex_5/",g_searchFields_5,g_searchChunks_5,"lists_5/",g_lists_5));
g_mapViewDirs.push(new Array("Reports up to Nov 2007","maptileimages_6/","attributes_6/","geoTiles_6/","searchIndex_6/",g_searchFields_6,g_searchChunks_6,"lists_6/",g_lists_6));
g_logoSize = new Array(95,110);
g_logoPath = "design/ipislogo.gif";
g_listsDir = "lists_0/";
g_rwUL = new Array(18.3886992495784,-4.0477468739929);
g_rwLR = new Array(33.6113007504217,-13.952253126007);
g_coordSys = "DRCongo2";
g_coordUnits = "dd";
g_attDir = "attributes_0/";
g_maptileimagePraefix = "diemap_";
g_maptileimageDir = "maptileimages_0/";
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_searchFields = g_searchFields_0;
g_searchChunks = g_searchChunks_0;
g_lists = g_lists_0;
load_lang();
posCalc();
urlHandler();
}
