/* HTML ImageMapper 10.0.21 */
function config_IM() {
    g_baseMapExt = new Array(800,600);
    g_viewExt = new Array(100, 100);
    g_viewOff = new Array(0, 0);
    g_viewPosType = "%";
    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] = 5;
    g_zoomFactors[3] = 10;
    g_zoomFactors[4] = 25;
    set_zoomLevel(0);

    g_tSize = new Array(256, 256);
    g_maptileimageFormat = "jpg";

    g_geoTileSize = new Array(512 ,512);
    g_geoTilesDir = "geoTiles/tiles_";

    g_hasOvMap = false;
    g_ovMapExt = new Array(250, 187);
    g_ovMapImgSrc = "maptileimages/ovmap.jpg";

    g_dCLength = 1339;

    g_hasLegend = false;
    g_legendImgSrc = "maptileimages/legend.jpg";
    g_legendExt = new Array(0,0);

    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 = true;
    g_searchDir = "searchIndex/";

    g_searchFields = new Array();
    g_searchFields[0] = 'NUMERIS||STRING';
    g_searchFields[1] = 'DANGA||STRING';
    g_searchFields[2] = 'SHAPE_Length||NUMBER';
    g_searchFields[3] = 'OBJECTID||NUMBER';
    g_searchFields[4] = 'PAV||STRING';
    g_searchFields[5] = 'SENIUNIJA||STRING';
    g_searchFields[6] = 'GKODAS||STRING';
    g_searchFields[7] = 'VARDAS||STRING';
    g_searchFields[8] = 'Shape_Length||NUMBER';

    g_searchChunks = new Array();
    g_searchChunks["OBJECTID"] = new Array(200,385);


    g_hasInfoBar = true;
    g_hasScalebar = true;
    g_hasCoordsDisplay = true;
    g_hasTitle = true;
    g_hasComments = true;
    g_hasLogo = false;
    g_logoSize = new Array(0,0);
    g_title = "KUPIŠKIO RAJONAS";
    g_logoPath = "design/";
    g_authorInfo = "Kupiškio rajono savivaldybės administracija";

    g_hasLists = true;
    g_listsDir = "lists/";
    g_lists = new Array();
    g_lists[0] = "Viet_keliai_cl__NUMERIS";
    g_lists[1] = "Vietoves__PAV";

    g_rwUL = new Array(536175.783199766,6214241.48342329);
    g_rwLR = new Array(592443.951291658,6172040.35735437);
    g_coordSys = "Lietuvos_Koordinaciu_Sistema";
    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 = false;

    posCalc();

    urlHandler();
}
