/* HTML ImageMapper 10.0.21 */
function config_IM() {
    g_baseMapExt = new Array(580,580);
    g_viewExt = new Array(650, 600);
    g_viewOff = new Array(15, 15);
    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] = 8;
    g_zoomFactors[3] = 16;
    set_zoomLevel(0);

    g_tSize = new Array(256, 256);
    g_maptileimageFormat = "png";

    g_geoTileSize = new Array(512 ,512);
    g_geoTilesDir = "geoTiles/tiles_";

    g_hasOvMap = true;
    g_ovMapExt = new Array(250, 250);
    g_ovMapImgSrc = "maptileimages/ovmap.png";

    g_dCLength = 38;

    g_hasLegend = true;
    g_legendImgSrc = "maptileimages/legend.png";
    g_legendExt = new Array(196,82);

    g_highlightStyle = new Array();
    g_highlightStyle["borderRGB"] = new Array(255,255,0);
    g_highlightStyle["fillRGB"] = new Array(255,255,0);
    g_highlightStyle["BorderWidth"] = 2;
    g_highlightStyle["opacity"] = 0.5;

    g_hasSearch = false;

    g_hasInfoBar = true;
    g_hasScalebar = true;
    g_hasCoordsDisplay = true;
    g_hasTitle = true;
    g_hasComments = true;
    g_hasLogo = true;
    g_logoSize = new Array(160,99);
    g_title = "HTML ImageMapper 10 - AJAX";
    g_logoPath = "design/Logo 2005 hoch 160x160.jpg";
    g_authorInfo = "Created with HTML ImageMapper 10 - AJAX";

    g_hasLists = true;
    g_listsDir = "lists/";
    g_lists = new Array();
    g_lists[0] = "Vorranggebiet Windenergie Punkt__Name";

    g_rwUL = new Array(3362644.39389976,5405688.77609978);
    g_rwLR = new Array(3485411.30610025,5282921.86389928);
    g_coordSys = "DHDN_3_Degree_Gauss_Zone_3";
    g_coordUnits = "m";

    g_attDir = "attributes/";
    g_maptileimagePraefix = "diemap_";
    g_maptileimageDir = "maptileimages/images_";

    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_isDBVersion  = false;

    g_hasZoomBar = true;

    g_postToMapGallery = false;

    g_mapGalleryAuthor = "";
    g_mapGalleryTitle = "";
    g_mapGalleryComment = "";
    g_mapGalleryCopyright = "";
    g_mapGalleryEmail = "";
    g_mapGalleryIndustryId = 0;
    g_mapGalleryIndustryText = "";

    g_langDir = "languages/";
    load_lang();

    g_hasCopyrightInfo = true;
    g_copyrightInfo = new Array();
    g_copyrightInfo[0] = "&#169; <a href='http://www.alta4.com' target='_blank'>created by HTML ImageMafpper 10 - AJAX DEMO</a> Environmental Systems Research Institute, Inc. (ESRI)";
    g_copyrightInfo[1] = "&#169; <a href='http://www.alta4.com' target='_blank'>created by HTML ImageMafpper 10 - AJAX DEMO</a> Environmental Systems Research Institute, Inc. (ESRI)";
    g_copyrightInfo[2] = "&#169; <a href='http://www.alta4.com' target='_blank'>created by HTML ImageMafpper 10 - AJAX DEMO</a> Environmental Systems Research Institute, Inc. (ESRI)";
    g_copyrightInfo[3] = "&#169; <a href='http://www.alta4.com' target='_blank'>created by HTML ImageMafpper 10 - AJAX DEMO</a> Environmental Systems Research Institute, Inc. (ESRI)";

    posCalc();

    urlHandler();
}
