var ZDC=window.ZDC;ZDC._mapmaxzoom=15;ZDC._mapScaleTable=new Object();ZDC._G_LevelToTreeLevel=new Array();ZDC._G_LevelToTreeLevel[18]=3;ZDC._G_LevelToTreeLevel[17]=3;ZDC._G_LevelToTreeLevel[16]=3;ZDC._G_LevelToTreeLevel[15]=2;ZDC._G_LevelToTreeLevel[14]=2;ZDC._G_LevelToTreeLevel[13]=2;ZDC._G_LevelToTreeLevel[12]=2;ZDC._G_LevelToTreeLevel[11]=2;ZDC._G_LevelToTreeLevel[10]=2;ZDC._G_LevelToTreeLevel[9]=1;ZDC._G_LevelToTreeLevel[8]=1;ZDC._G_LevelToTreeLevel[7]=1;ZDC._G_LevelToTreeLevel[6]=1;ZDC._G_LevelToTreeLevel[5]=0;ZDC._G_LevelToTreeLevel[4]=0;ZDC._G_LevelToTreeLevel[3]=0;ZDC._G_LevelToTreeLevel[2]=0;ZDC._G_LevelToTreeLevel[1]=0;ZDC._G_LevelToTreeLevel_T=new Array();ZDC._G_LevelToTreeLevel_T[15]=3;ZDC._G_LevelToTreeLevel_T[14]=3;ZDC._G_LevelToTreeLevel_T[13]=2;ZDC._G_LevelToTreeLevel_T[12]=2;ZDC._G_LevelToTreeLevel_T[11]=2;ZDC._G_LevelToTreeLevel_T[10]=2;ZDC._G_LevelToTreeLevel_T[9]=2;ZDC._G_LevelToTreeLevel_T[8]=1;ZDC._G_LevelToTreeLevel_T[7]=1;ZDC._G_LevelToTreeLevel_T[6]=1;ZDC._G_LevelToTreeLevel_T[5]=0;ZDC._G_LevelToTreeLevel_T[4]=0;ZDC._G_LevelToTreeLevel_T[3]=0;ZDC._G_LevelToTreeLevel_T[2]=0;ZDC._G_LevelToTreeLevel_T[1]=0;ZdcZoom.map_defw_T=new Array();ZdcZoom.map_defh_T=new Array();ZdcZoom.map_defs_T=new Array();ZdcZoom.map_defd_T=new Array();ZdcZoom.map_emag_T=new Array();ZdcZoom.map_defw_T[15]=19.30147059;ZdcZoom.map_defh_T[15]=15.72712418;ZdcZoom.map_defs_T[15]="1,500";ZdcZoom.map_defd_T[15]="40m";ZdcZoom.map_emag_T[15]=39;ZdcZoom.map_defw_T[14]=41.36029412;ZdcZoom.map_defh_T[14]=33.70098039;ZdcZoom.map_defs_T[14]="3,500";ZdcZoom.map_defd_T[14]="100m";ZdcZoom.map_emag_T[14]=44;ZdcZoom.map_defw_T[13]=90.99264706;ZdcZoom.map_defh_T[13]=74.14215686;ZdcZoom.map_defs_T[13]="7,500";ZdcZoom.map_defd_T[13]="230m";ZdcZoom.map_emag_T[13]=50;ZdcZoom.map_defw_T[12]=121.3235294;ZdcZoom.map_defh_T[12]=98.85620915;ZdcZoom.map_defs_T[12]="10,000";ZdcZoom.map_defd_T[12]="300m";ZdcZoom.map_emag_T[12]=52;ZdcZoom.map_defw_T[11]=187.5;ZdcZoom.map_defh_T[11]=152.7777778;ZdcZoom.map_defs_T[11]="15,000";ZdcZoom.map_defd_T[11]="450m";ZdcZoom.map_emag_T[11]=55;ZdcZoom.map_defw_T[10]=253.6764706;ZdcZoom.map_defh_T[10]=206.6993464;ZdcZoom.map_defs_T[10]="20,000";ZdcZoom.map_defd_T[10]="600m";ZdcZoom.map_emag_T[10]=56;ZdcZoom.map_defw_T[9]=661.7647059;ZdcZoom.map_defh_T[9]=539.2156863;ZdcZoom.map_defs_T[9]="50,000";ZdcZoom.map_defd_T[9]="1.5km";ZdcZoom.map_emag_T[9]=62;ZdcZoom.map_defw_T[8]=1941.176471;ZdcZoom.map_defh_T[8]=1581.699346;ZdcZoom.map_defs_T[8]="150,000";ZdcZoom.map_defd_T[8]="4.5km";ZdcZoom.map_emag_T[8]=70;ZdcZoom.map_defw_T[7]=3176.470588;ZdcZoom.map_defh_T[7]=2588.235294;ZdcZoom.map_defs_T[7]="250,000";ZdcZoom.map_defd_T[7]="7.7km";ZdcZoom.map_emag_T[7]=72;ZdcZoom.map_defw_T[6]=7058.823529;ZdcZoom.map_defh_T[6]=5751.633987;ZdcZoom.map_defs_T[6]="500,000";ZdcZoom.map_defd_T[6]="15km";ZdcZoom.map_emag_T[6]=77;ZdcZoom.map_defw_T[5]=12705.88235;ZdcZoom.map_defh_T[5]=10352.94118;ZdcZoom.map_defs_T[5]="1,000,000";ZdcZoom.map_defd_T[5]="30km";ZdcZoom.map_emag_T[5]=81;ZdcZoom.map_defw_T[4]=18352.94118;ZdcZoom.map_defh_T[4]=14954.24837;ZdcZoom.map_defs_T[4]="1,500,000";ZdcZoom.map_defd_T[4]="45km";ZdcZoom.map_emag_T[4]=82;ZdcZoom.map_defw_T[3]=34588.23529;ZdcZoom.map_defh_T[3]=28183.00654;ZdcZoom.map_defs_T[3]="3,000,000";ZdcZoom.map_defd_T[3]="90km";ZdcZoom.map_emag_T[3]=85;ZdcZoom.map_defw_T[2]=79058.82353;ZdcZoom.map_defh_T[2]=64418.30065;ZdcZoom.map_defs_T[2]="6,500,000";ZdcZoom.map_defd_T[2]="200km";ZdcZoom.map_emag_T[2]=87;ZdcZoom.map_defw_T[1]=158117.6471;ZdcZoom.map_defh_T[1]=128836.6013;ZdcZoom.map_defs_T[1]="13,000,000";ZdcZoom.map_defd_T[1]="400km";ZdcZoom.map_emag_T[1]=89;ZdcZoom.map_defw_T[0]=410694.1874;ZdcZoom.map_defh_T[0]=334640.5229;ZdcZoom.map_defs_T[0]="35,000,000";ZdcZoom.map_defd_T[0]="1000km";ZdcZoom.map_emag_T[0]=100;ZdcMap.prototype.GetImageUrl=function(_1,_2,_3){var _4=ZDC._mapScaleTable[this.s];var _5=Number((""+_1).replace(/m/g,"-"));var _6=Number((""+_2).replace(/m/g,"-"));var nX=_FTI(ZdcZoom.OX+(_5+0.5)*ZdcZoom.PX*ZdcZoom.map_defw[_3]);var nY=_FTI(ZdcZoom.OY+(_6+0.5)*ZdcZoom.PY*ZdcZoom.map_defh[_3]);var _9=_FTI(nX/3600000-100);nX-=_FTI((100+_9)*3600000);var _a=_FTI(nX/450000);nX-=_FTI(_a*450000);var _b=_FTI(nX/45000);var _c=_FTI(nY/2400000);nY-=_FTI(_c*2400000);var _d=_FTI(nY/300000);nY-=_FTI(_d*300000);var _e=_FTI(nY/30000);var _f=""+_c+_9+_d+_a+_e+_b;var _10=ZDC._G_LevelToTreeLevel_T[_3];var _11=this.ZdcMapTypeObj.server[this.ZdcMapType]+_4;if(this.ZdcMapType==9){if(_4>5){_11+="/"+_f.substr(0,4);if(_4>9){_11+="/"+_f.substr(4,2);if(_4>15){_11+="/"+_f.substr(6,2);}}}}else{if(_10>0){_11+="/"+_f.substr(0,4);if(_10>1){_11+="/"+_f.substr(4,2);if(_10>2){_11+="/"+_f.substr(6,2);}}}}return _11+"/"+_4+"_"+_1+"_"+_2+".png";};ZdcCommon.SetMapDetail=function(_12){if(_12==9){ZDC._mapmaxzoom=15;ZdcZoom.MAPSIZE=ZdcZoom.MAPSIZE_half;ZdcZoom.PX=ZdcZoom.PX_half;ZdcZoom.PY=ZdcZoom.PX_half;ZdcZoom.map_defw=ZdcZoom.map_defw_half;ZdcZoom.map_defh=ZdcZoom.map_defh_half;ZdcZoom.map_defs=ZdcZoom.map_defs_half;ZdcZoom.map_defd=ZdcZoom.map_defd_half;ZdcZoom.map_emag=ZdcZoom.map_emag_half;ZDC._mapScaleTable["1"]=1;ZDC._mapScaleTable["2"]=2;ZDC._mapScaleTable["3"]=3;ZDC._mapScaleTable["4"]=4;ZDC._mapScaleTable["5"]=5;ZDC._mapScaleTable["6"]=6;ZDC._mapScaleTable["7"]=7;ZDC._mapScaleTable["8"]=9;ZDC._mapScaleTable["9"]=10;ZDC._mapScaleTable["10"]=11;ZDC._mapScaleTable["11"]=12;ZDC._mapScaleTable["12"]=13;ZDC._mapScaleTable["13"]=14;ZDC._mapScaleTable["14"]=16;ZDC._mapScaleTable["15"]=18;}else{ZDC._mapmaxzoom=15;ZdcZoom.MAPSIZE=ZdcZoom.MAPSIZE_UT;ZdcZoom.PX=ZdcZoom.PX_UT;ZdcZoom.PY=ZdcZoom.PY_UT;ZdcZoom.map_defw=ZdcZoom.map_defw_T;ZdcZoom.map_defh=ZdcZoom.map_defh_T;ZdcZoom.map_defs=ZdcZoom.map_defs_T;ZdcZoom.map_defd=ZdcZoom.map_defd_T;ZdcZoom.map_emag=ZdcZoom.map_emag_T;ZDC._mapScaleTable["1"]=1;ZDC._mapScaleTable["2"]=2;ZDC._mapScaleTable["3"]=3;ZDC._mapScaleTable["4"]=4;ZDC._mapScaleTable["5"]=5;ZDC._mapScaleTable["6"]=6;ZDC._mapScaleTable["7"]=7;ZDC._mapScaleTable["8"]=8;ZDC._mapScaleTable["9"]=10;ZDC._mapScaleTable["10"]=11;ZDC._mapScaleTable["11"]=12;ZDC._mapScaleTable["12"]=13;ZDC._mapScaleTable["13"]=14;ZDC._mapScaleTable["14"]=16;ZDC._mapScaleTable["15"]=18;}};