<!--
if( navigator.appVersion.match(/\bMSIE\b/) )
{
	document.write("<html xmlns:v='urn chemas-microsoft-com:vml'>");
	document.write('<link rel="stylesheet" href="http://www.zhuna.cn/map/mapbar30.css" type="text/css" media="screen">');
}
else
{
	document.write('<link rel="stylesheet" href="http://www.zhuna.cn/map/mapbar30ff.css" type="text/css" media="screen">');
}
var strMapsvrUrl = "http://api.mapbar.com/api/";
var transparencyLevel = 60;
var DirectionInfo = '';
var strLicenseKey = "3409";
var strRemoteIP = "www.mapbar.com";
if(typeof iToolTipStyle == "undefined")
{
	var iToolTipStyle = 1;
}
var topColor = "#FFAA60";
var subColor = "#FFFFCC";
var mapwidth = 600;
var mapheight = 400;
var xoffset = 0;
var yoffset = 30;
var MapBackgroundColor = "#EBEAE8";
var strImgsvrUrl="http://img.mapbar.com/maplite/";
var arrayCity = new Array();
arrayCity["\u5168\u56FD"]="GGEJDBVUUEARA";
arrayCity["\u5317\u4EAC\u5E02"]="HETCUFWVVHUEE";
arrayCity["\u5929\u6D25\u5E02"]="HHCIWHXVVJDBG";
arrayCity["\u5858\u6CBD"]="HIAUDWXVWBRBG";
arrayCity["\u5927\u6E2F\u533A"]="HHWJIRXVVHCUF";
arrayCity["\u4E0A\u6D77\u5E02"]="IJSRVJXVIWCHC";
arrayCity["\u91CD\u5E86\u5E02"]="HFISFCXTWJRFB";
arrayCity["\u5E7F\u4E1C\u7701"]="IJITUVWUABJGJ";
arrayCity["\u5E7F\u5DDE\u5E02"]="IJITUVWUABJGJ";
arrayCity["\u6E05\u8FDC\u5E02"]="IIFAAAVUARHGU";
arrayCity["\u4F5B\u5C71\u5E02"]="IJHUEEXTWSGVB";
arrayCity["\u6DF1\u5733\u5E02"]="ISTBEAVUAIIDF";
arrayCity["\u6E5B\u6C5F\u5E02"]="IICSURVTITUFU";
arrayCity["\u8087\u5E86\u5E02"]="IIHDAVWTVUETJ";
arrayCity["\u4E2D\u5C71\u5E02"]="IRRTRJXTWFUSG";
arrayCity["\u4E1C\u839E\u5E02"]="IRHDSEVUASTDU";
arrayCity["\u97F6\u5173\u5E02"]="IHIJCWXUDDDST";
arrayCity["\u6C55\u5934\u5E02"]="IVHBSGXUFSBTW";
arrayCity["\u987A\u5FB7\u5E02"]="IRBBEVXTWRHIS";
arrayCity["\u73E0\u6D77\u5E02"]="ISFWBTXTWDEUF";
arrayCity["\u63ED\u9633\u5E02"]="IURJHGVUFHRSU";
arrayCity["\u4ECE\u5316\u5E02"]="IJHDBRVUBEBAJ";
arrayCity["\u6F6E\u5DDE\u5E02"]="IUVGRVWUGBCDU";
arrayCity["\u60E0\u5DDE\u5E02"]="ISGGRHVUBTSBE";
arrayCity["\u6C5F\u95E8\u5E02"]="IRCSTCXTWBEAW";
arrayCity["\u8302\u540D\u5E02"]="IICVSCXTRDWRD";
arrayCity["\u6885\u5DDE\u5E02"]="ITCCETVUGDGIS";
arrayCity["\u6CB3\u6E90\u5E02"]="IRUDJJXUDDIWR";
arrayCity["\u6C55\u5C3E\u5E02"]="IUFAWHXUCTDWC";
arrayCity["\u9633\u6C5F\u5E02"]="IJIJHFWTTDFTV";
arrayCity["\u4E91\u6D6E\u5E02"]="IIAGBIWTUVVGB";
arrayCity["\u6C88\u9633\u5E02"]="HTJTRBXWTBGET";
arrayCity["\u961C\u65B0\u5E02"]="HJJCFJXWJSHWV";
arrayCity["\u76D8\u9526\u5E02"]="HSEHGRXWJBBHU";
arrayCity["\u629A\u987A\u5E02"]="HUBGDJXWTSTTT";
arrayCity["\u8425\u53E3\u5E02"]="HTIACGXWIIVJH";
arrayCity["\u5927\u8FDE\u5E02"]="HVDFTDXWEVHRR";
arrayCity["\u846B\u82A6\u5C9B\u5E02"]="HRERFAXWGITHJ";
arrayCity["\u978D\u5C71\u5E02"]="HTWGIRXWRHBRU";
arrayCity["\u4E39\u4E1C\u5E02"]="IAJJRUXWRWGTR";
arrayCity["\u5357\u4EAC\u5E02"]="IEGDCTWVGDBVS";
arrayCity["\u5F90\u5DDE\u5E02"]="HVJDGSWVHBRHC";
arrayCity["\u8FDE\u4E91\u6E2F\u5E02"]="IBBDTHWVRJVHE";
arrayCity["\u6DEE\u9634\u5E02"]="ICGHTUWVIURHG";
arrayCity["\u76D0\u57CE\u5E02"]="IEGSSTXVRDWJB";
arrayCity["\u626C\u5DDE\u5E02"]="IEUWEUXVHRSJG";
arrayCity["\u6CF0\u5DDE\u5E02"]="IFGWVFXVIIUDV";
arrayCity["\u9547\u6C5F\u5E02"]="IFCRFFWVHGGAI";
arrayCity["\u5357\u901A\u5E02"]="IHJVAAWVJEAFH";
arrayCity["\u5E38\u5DDE\u5E02"]="IGJGIVWVHIHHB";
arrayCity["\u65E0\u9521\u5E02"]="IHGVVGWVHSTJB";
arrayCity["\u82CF\u5DDE\u5E02"]="IIEIVUWVHTJBE";
arrayCity["\u6DEE\u5B89\u5E02"]="ICGJGDWVIVFJA";
arrayCity["\u5BBF\u8FC1\u5E02"]="IASVJUWVIFASV";
arrayCity["\u6C5F\u9634\u5E02"]="IGUWDTXVIDIHW";
arrayCity["\u5B9C\u5174\u5E02"]="IIFVGWTGXHJAWEBHF";
arrayCity["\u6B66\u6C49\u5E02"]="HWTARHXUUAIWI";
arrayCity["\u8346\u95E8\u5E02"]="HSVJRCWURJETS";
arrayCity["\u8346\u5DDE\u5E02"]="HUARAVWUJIHSU";
arrayCity["\u5341\u5830\u5E02"]="HHEGSCXURTGGW";
arrayCity["\u968F\u5DDE\u5E02"]="HTRADCXUUGCVW";
arrayCity["\u8944\u6A0A\u5E02"]="HRDVUGWUTBDJS";
arrayCity["\u5B9C\u660C\u5E02"]="HSATBHVUISGJI";
arrayCity["\u5B5D\u611F\u5E02"]="HVRJGCWUUAHRH";
arrayCity["\u6210\u90FD\u5E02"]="HABIJDVTUJEGA";
arrayCity["\u6CF8\u5DDE\u5E02"]="HEUSFAXTTWJSS";
arrayCity["\u8FBE\u5DDE\u5E02"]="HEGUGBXUDJWFE";
arrayCity["\u5E7F\u5B89\u5E02"]="HEEGTJVUBDGJR";
arrayCity["\u5E7F\u5143\u5E02"]="HAAIBIXUCWGSS";
arrayCity["\u4E50\u5C71\u5E02"]="HBEBFWXTSGWFC";
arrayCity["\u5185\u6C5F\u5E02"]="HDDDRIXTUGWRS";
arrayCity["\u6500\u679D\u82B1\u5E02"]="HCRHCWXTDSAST";
arrayCity["\u9042\u5B81\u5E02"]="HCJJUFXTWRIGC";
arrayCity["\u5B9C\u5BBE\u5E02"]="HDTRTSXTSIWBV";
arrayCity["\u81EA\u8D21\u5E02"]="HDCDSUVTTRIJA";
arrayCity["\u897F\u5B89\u5E02"]="HBWSJFXURIERE";
arrayCity["\u54B8\u9633\u5E02"]="HBIIBFWUREFVC";
arrayCity["\u77F3\u5BB6\u5E84\u5E02"]="HESUBVWVITTHS";
arrayCity["\u5510\u5C71\u5E02"]="HHWAWWXWATUCT";
arrayCity["\u79E6\u7687\u5C9B\u5E02"]="HJJVGFXWDGIEG";
arrayCity["\u627F\u5FB7\u5E02"]="HFHJHWXWCHACR";
arrayCity["\u5ECA\u574A\u5E02"]="HFTVWAXVVFSCH";
arrayCity["\u5F20\u5BB6\u53E3\u5E02"]="HBBTDBWVUISAG";
arrayCity["\u4FDD\u5B9A\u5E02"]="HEWGEJXVSICHV";
arrayCity["\u90A2\u53F0\u5E02"]="HGDDSHWVHDJBV";
arrayCity["\u90AF\u90F8\u5E02"]="HGVCGVWVGIBRD";
arrayCity["\u6CA7\u5DDE\u5E02"]="HHVAAFWVTTRDT";
arrayCity["\u592A\u539F\u5E02"]="HCAFICWVFITUB";
arrayCity["\u957F\u6CBB\u5E02"]="HFGISAWVDTTJH";
arrayCity["\u5927\u540C\u5E02"]="GWSVEUXVRAJVR";
arrayCity["\u664B\u57CE\u5E02"]="HGBDAUWVCFJIA";
arrayCity["\u664B\u4E2D\u5E02"]="HCIWDTXVFIGDH";
arrayCity["\u4E34\u6C7E\u5E02"]="HDCJHGWVBDIBB";
arrayCity["\u5415\u6881\u5730\u533A"]="HAGDSSXVCUGWA";
arrayCity["\u6714\u5DDE\u5E02"]="GWJHIEXVHJBJF";
arrayCity["\u5FFB\u5DDE\u5E02"]="HBHFJSWVGJVDT";
arrayCity["\u9633\u6CC9\u5E02"]="HDIVBIXVHAUWW";
arrayCity["\u8FD0\u57CE\u5E02"]="HDWEIIXUVUARJ";
arrayCity["\u90D1\u5DDE\u5E02"]="HIGSCCWVCHAHF";
arrayCity["\u6D1B\u9633\u5E02"]="HGRDWVXVAFWVU";
arrayCity["\u5E73\u9876\u5C71\u5E02"]="HJHARHWVAFTSR";
arrayCity["\u8BB8\u660C\u5E02"]="HJTUEIWVBJITU";
arrayCity["\u5357\u9633\u5E02"]="HJGEVGXUVAWHW";
arrayCity["\u9A7B\u9A6C\u5E97\u5E02"]="HSSISAWVAEVVB";
arrayCity["\u5468\u53E3\u5E02"]="HSRTHWXVCDTSR";
arrayCity["\u5546\u4E18\u5E02"]="HSWBAEXVEWSCS";
arrayCity["\u5F00\u5C01\u5E02"]="HJGVEGXVDIWGW";
arrayCity["\u65B0\u4E61\u5E02"]="HHWEWDXVDJSIC";
arrayCity["\u4E09\u95E8\u5CE1\u5E02"]="HERHERWUVSTUF";
arrayCity["\u6FEE\u9633\u5E02"]="HJADAVWVGATIH";
arrayCity["\u4FE1\u9633\u5E02"]="HUBFDBXUWBFVV";
arrayCity["\u9E64\u58C1\u5E02"]="HHGUUJWVFADAE";
arrayCity["\u5B89\u9633\u5E02"]="HHHDVVXVFIVEW";
arrayCity["\u7126\u4F5C\u5E02"]="HHBCJJXVCIHWI";
arrayCity["\u6F2F\u6CB3\u5E02"]="HRUCUFWVBDVRA";
arrayCity["\u957F\u6625\u5E02"]="HTESJCVBACCRUU";
arrayCity["\u5409\u6797\u5E02"]="HVCVBJWBAEBVVR";
arrayCity["\u54C8\u5C14\u6EE8\u5E02"]="HSHWUDXBAHARIG";
arrayCity["\u9F50\u9F50\u54C8\u5C14\u5E02"]="HEWGJRXBAFGFFH";
arrayCity["\u5927\u5E86\u5E02"]="HHSSFDVBAFUUUG";
arrayCity["\u4E94\u5927\u8FDE\u6C60\u5E02"]="HGERCVWBARSCIS";
arrayCity["\u7261\u4E39\u6C5F\u5E02"]="IBTVJCXBAJTWCB";
arrayCity["\u547C\u548C\u6D69\u7279\u5E02"]="GTCIEDWVIRJSI";
arrayCity["\u9521\u6797\u90ED\u52D2"]="GVBWHFXWECWVC";
arrayCity["\u6D4E\u5357\u5E02"]="HRRRBTWVRIHDU";
arrayCity["\u804A\u57CE\u5E02"]="HJFDFSWVIJVDI";
arrayCity["\u70DF\u53F0\u5E02"]="HWWUHDXWCHRJC";
arrayCity["\u5A01\u6D77\u5E02"]="IBCGUJXWDIRTI";
arrayCity["\u9752\u5C9B\u5E02"]="IARACCWVVUDCU";
arrayCity["\u6CF0\u5B89\u5E02"]="HSIVBAXVJWASD";
arrayCity["\u83B1\u829C\u5E02"]="HTFICSXVRTHWC";
arrayCity["\u6D4E\u5B81\u5E02"]="HSVHFHWVHVRAG";
arrayCity["\u83CF\u6CFD\u5E02"]="HRHRJJXVFWWUG";
arrayCity["\u4E34\u6C82\u5E02"]="HWCAADXVRBECV";
arrayCity["\u5FB7\u5DDE\u5E02"]="HIEVBTWVRSSVF";
arrayCity["\u6DC4\u535A\u5E02"]="HTAVDJWVTEHVC";
arrayCity["\u6F4D\u574A\u5E02"]="HUTJUUWVUSVIC";
arrayCity["\u65E5\u7167\u5E02"]="IAFTHRWVTFJJS";
arrayCity["\u4E1C\u8425\u5E02"]="HSUERIWVVBGCU";
arrayCity["\u6EE8\u5DDE\u5E02"]="HSAWCDXVUBRBV";
arrayCity["\u67A3\u5E84\u5E02"]="HVDUUEWVIIUTH";
arrayCity["\u5408\u80A5\u5E02"]="ICGAACWVDIGSD";
arrayCity["\u829C\u6E56\u5E02"]="IEUISRWVEGSBF";
arrayCity["\u9EC4\u5C71\u5E02"]="IHDTICWVBUURU";
arrayCity["\u5B89\u5E86\u5E02"]="IEBDSUWVBDBHE";
arrayCity["\u868C\u57E0\u5E02"]="IAUUAAWVFFCHB";
arrayCity["\u4EB3\u5DDE\u5E02"]="HUAIWVXVEFIFU";
arrayCity["\u5DE2\u6E56\u5E02"]="IDRTRDWVEBHRV";
arrayCity["\u6C60\u5DDE\u5E02"]="IEIGTWXVCAUIC";
arrayCity["\u6EC1\u5DDE\u5E02"]="IDEJCAWVFUDAJ";
arrayCity["\u961C\u9633\u5E02"]="HVJGCUXVCWCGG";
arrayCity["\u6DEE\u5317\u5E02"]="HVHEGJXVFWWCI";
arrayCity["\u516D\u5B89\u5E02"]="IBFVUSXVCDSWT";
arrayCity["\u9A6C\u978D\u5C71\u5E02"]="IEHRWSXVFDABT";
arrayCity["\u5BBF\u5DDE\u5E02"]="HWDSDFXVFUGHA";
arrayCity["\u94DC\u9675\u5E02"]="IEJTFVWVCVFJF";
arrayCity["\u5BA3\u57CE\u5E02"]="IGAAECWVEHBGD";
arrayCity["\u6DEE\u5357\u5E02"]="IASFHWXVEDVTE";
arrayCity["\u676D\u5DDE\u5E02"]="IJDAJAWVFJGCB";
arrayCity["\u7ECD\u5174\u5E02"]="IREBUTXVFTERW";
arrayCity["\u5B81\u6CE2\u5E02"]="ISWIFCXVHBBAS";
arrayCity["\u6E56\u5DDE\u5E02"]="IIDGEDWVGFJRI";
arrayCity["\u5609\u5174\u5E02"]="IJFTGAWVHDDBJ";
arrayCity["\u91D1\u534E\u5E02"]="IRDGFTXVCWSAH";
arrayCity["\u4E3D\u6C34\u5E02"]="ISRHIDWVCGJFI";
arrayCity["\u6E29\u5DDE\u5E02"]="IUGWBGXVCUHFD";
arrayCity["\u4E50\u6E05\u5E02"]="IUSDHJWVDHSSV";
arrayCity["\u53F0\u5DDE\u5E02"]="IUJGDSWVFAFUE";
arrayCity["\u8862\u5DDE\u5E02"]="IJEDARWVBJCGD";
arrayCity["\u798F\u5DDE\u5E02"]="IVGDHIXUUTREW";
arrayCity["\u8386\u7530\u5E02"]="IVUGHUWUTGHGG";
arrayCity["\u5357\u5E73\u5E02"]="ISRAGEWUTVCRB";
arrayCity["\u53A6\u95E8\u5E02"]="IVVSDUWUJJTJR";
arrayCity["\u6CC9\u5DDE\u5E02"]="IVWVHJXURWGTT";
arrayCity["\u6F33\u5DDE\u5E02"]="IVCTCHWUIVUGC";
arrayCity["\u4E09\u660E\u5E02"]="ISHCWSXUSIFFT";
arrayCity["\u9F99\u5CA9\u5E02"]="ITFFFUWUIUVGC";
arrayCity["\u957F\u6C99\u5E02"]="IBGRTCVUHGRSF";
arrayCity["\u5F20\u5BB6\u754C\u5E02"]="HTDSDJVUFATFG";
arrayCity["\u5CB3\u9633\u5E02"]="HWURCEXUJHAEH";
arrayCity["\u682A\u6D32\u5E02"]="ICDADVXUHCBWH";
arrayCity["\u90F4\u5DDE\u5E02"]="IFCBUEVUDUGGU";
arrayCity["\u5E38\u5FB7\u5E02"]="HVDAVWXUGSCRI";
arrayCity["\u8861\u9633\u5E02"]="ICUVVBXUEUWGE";
arrayCity["\u90B5\u9633\u5E02"]="IAJDWAXUDRJDW";
arrayCity["\u6E58\u6F6D\u5E02"]="IBUTBWXUGTIBI";
arrayCity["\u76CA\u9633\u5E02"]="HWVBGTXUHAUAB";
arrayCity["\u6E58\u897F"]="HTESRDVUCRFHC";
arrayCity["\u5357\u5B81\u5E02"]="ICIFVTWTIBCAU";
arrayCity["\u6842\u6797\u5E02"]="IBTCGEWTVUSVH";
arrayCity["\u767D\u8272\u5E02"]="HVEHATXTHCIWJ";
arrayCity["\u5357\u660C\u5E02"]="IFCEUTVUTJJDU";
arrayCity["\u8D35\u9633\u5E02"]="HRFBHUVTSGBFI";
arrayCity["\u6606\u660E\u5E02"]="HGIVRBXTCWBDG";
arrayCity["\u7389\u6EAA\u5E02"]="HHFUSFXTBJWHG";
arrayCity["\u695A\u96C4\u5E02"]="HEGDTDUTBSTCC";
arrayCity["\u5FB7\u5B8F"]="HAECBGXSSEAWD";
arrayCity["\u8FEA\u5E86"]="GTWSURXTCJAJS";
arrayCity["\u4E2A\u65E7\u5E02"]="HJECWRXTBDUCF";
arrayCity["\u4E34\u6CA7\u5E02"]="HDFFEHUSTSDDI";
arrayCity["\u6012\u6C5F\u5E02"]="GUTHDTWTAATVU";
arrayCity["\u66F2\u9756\u5E02"]="HHGUGEVTFUBJH";
arrayCity["\u601D\u8305\u5E02"]="HGAEUCVSUHFHU";
arrayCity["\u62C9\u8428\u5E02"]="FUUVCJWSIEVAR";
arrayCity["\u6D77\u53E3\u5E02"]="IJTRTWXTGUUSR";
arrayCity["\u4E09\u4E9A\u5E02"]="ISECARWTCVVAD";
arrayCity["\u743C\u6D77\u5E02"]="ISDJDGWTFVIAS";
arrayCity["\u5170\u5DDE\u5E02"]="GHFHGUWUFFUUV";
arrayCity["\u94F6\u5DDD\u5E02"]="GHIEETXUTURWF";
arrayCity["\u897F\u5B81\u5E02"]="GDIATWXUDCTBA";
arrayCity["\u4E4C\u9C81\u6728\u9F50\u5E02"]="ECTRRTUTIIAJH";
arrayCity["\u9999\u6E2F"]="ITDUDHWUADIVI";
arrayCity["\u6FB3\u95E8"]="ISGWHUXTWBWWT";
arrayCity["\u53F0\u6E7E"]="JESFTTXUTRWJW";
arrayCity["\u9E64\u5C97\u5E02"]="HVREATXBAVVGWH";
arrayCity["\u5305\u5934\u5E02"]="GJJSCSZVFRAIA";
arrayCity["\u8861\u6C34\u5E02"]="HGWVHSZVRBHDV";
arrayCity["\u6986\u6797\u5E02"]="GUBBADZVBUWWA";
arrayCity["\u901A\u8FBD\u5E02"]="HIAJGGXWUBWRC";
arrayCity["\u8D64\u5CF0\u5E02"]="HFAGBIXWGAFHI";
arrayCity["\u547C\u4F26\u8D1D\u5C14"]="GSRDHWXBABUCHH";
arrayCity["\u5174\u5B89\u76DF"]="HDWGITXBAAIVAR";
arrayCity["\u5B81\u5FB7\u5E02"]="IUSTGRXUWBCGA";
arrayCity["\u8D63\u5DDE\u5E02"]="IHWSERZUGUBUJ";
function getPid(a)
{
	if(typeof arrayCity[a] == "undefined") return a;
	return arrayCity[a];
}
var topColor = "#FFFFFF";
var subColor = "#FFFFFF";
var xoffset = 0;
var yoffset = 0;
if(typeof strImgsvrUrl=="undefined")var strImgsvrUrl="http://img.mapbar.com/maplite/";
if(typeof ds=="undefined")var ds="baidu";
if(typeof en=="undefined")var en=0;
if(typeof rs=="undefined")var rs=0;
if(typeof hs=="undefined")var hs=false;
if(typeof mw=="undefined")var mw=true;
if(typeof kp=="undefined")var kp=true;
if(typeof bDefaultControlOn=="undefined")var bDefaultControlOn=false;
if(typeof hbo=="undefined")var hbo=false;
if(typeof otp=="undefined")var otp=true;
if(typeof bzt=="undefined")var bzt=true;
if(typeof bsc=="undefined")var bsc=true;
var c75=0;
if(typeof bp=="undefined")var bp=false;
if(typeof oo=="undefined")var oo=true;
if(typeof bmc=="undefined")var bmc=false;
if(true)
{
	if(typeof STD_BUBBLE_WIDTH=="undefined")var STD_BUBBLE_WIDTH=217;
	if(typeof MIN_BUBBLE_HEIGHT=="undefined")var MIN_BUBBLE_HEIGHT=120;
	if(typeof STD_TIP_HEIGHT=="undefined")var STD_TIP_HEIGHT=80
}
else
{
	if(typeof STD_BUBBLE_WIDTH=="undefined")var STD_BUBBLE_WIDTH=247;
	if(typeof MIN_BUBBLE_HEIGHT=="undefined")var MIN_BUBBLE_HEIGHT=40;
	if(typeof STD_TIP_HEIGHT=="undefined")var STD_TIP_HEIGHT=20
}
if(typeof oww=="undefined")var oww=150;
if(typeof owh=="undefined")var owh=100;
if(typeof MAX_BUBBLE_HEIGHT=="undefined")var MAX_BUBBLE_HEIGHT=380;
var TI76u=strImgsvrUrl+"images/mask.gif";
var Tf6=strImgsvrUrl+"images/node.gif";
var I66=strImgsvrUrl+"images/wmk.gif";
var QAK=null;
if(typeof FRi3=="undefined")FRi3=0;
var SQm='';
Array.prototype.clear=function()
{
	while(this.length>0)this.pop()
};
function getTimeout(J$w,r21,vM75)
{
return window.setTimeout(function()
{
	r21.apply(J$w)
}
,vM75)
};
function _35(J$w,r21,vM75)
{
return window.setInterval(function()
{
	r21.apply(J$w)
}
,vM75)
};
function bK10c(J$w,k34,r21)
{
	this.mQ2=J$w;
	this.propertyName=k34;
	this.r21=r21
};
function CO4r(hXA)
{
	if(!hXA)
	{
		hXA=window.event
	}
	if(hXA&&!hXA.target)
	{
		hXA.target=hXA.srcElement
	}
	if(hXA&&typeof hXA.button=="undefined")
	{
		hXA.button=hXA.which
	}
	return hXA
};
function _$$k0()
{
	this.L7yi8=function(qy152)
	{
		return "_e__"+qy152
	};
	this.addListener=function(J$w,qy152,r21)
	{
		var oDe3F=this.L7yi8(qy152);
		if(J$w[oDe3F])
		{
			var RU350=true;
			for(var i=0;i<J$w[oDe3F].length;i++)
			{
				var W8GNB=J$w[oDe3F][i];
				if(W8GNB==r21)
				{
					RU350=false;
					break
				}
			}
			if(RU350)J$w[oDe3F].push(r21)
		}
		else
		{
			J$w[oDe3F]=[r21]
		}
		return new bK10c(J$w,oDe3F,r21)
	};
	this.removeListener=function(u0v)
	{
		var J$w=u0v.mQ2[u0v.propertyName];
		for(var iVR7=0;iVR7<J$w.length;iVR7++)
		{
			if(u0v[iVR7]==u0v.r21)
			{
				u0v.splice(iVR7,1);
				return
			}
		}
	};
	this.clearListeners=function(J$w,qy152)
	{
		var oDe3F=this.L7yi8(qy152);
		J$w[oDe3F]=null
	};
	this.WB6=function(J$w,oDe3F)
	{
		var tJp=this.L7yi8(oDe3F);
		var v05=J$w[tJp];
		if(v05&&v05.length>0)
		{
			var F8c=[];
			for(var i=2;i<arguments.length;i++)
			{
				F8c.push(arguments[i])
			}
			for(var i=0;i<v05.length;i++)
			{
				var W8GNB=v05[i];
				if(W8GNB)
				{
					try
					{
						W8GNB.apply(tJp,F8c)
					}
					catch(g)
					{
					}
				}
			}
		}
	};
	this.of$=function(J$w,oDe3F,r21)
	{
		if(J$w.addEventListener)
		{
			J$w.addEventListener(oDe3F,r21,false)
		}
		else if(J$w.attachEvent)
		{
			J$w.attachEvent("on"+oDe3F,r21)
		}
		else
		{
			J$w["on"+oDe3F]=r21
		}
		return r21
	};
	this.b72=function(J$w,oDe3F,r21)
	{
		if(J$w.removeEventListener)
		{
			J$w.removeEventListener(oDe3F,r21,false)
		}
		else if(J$w.detachEvent)
		{
			J$w.detachEvent("on"+oDe3F,r21)
		}
		else
		{
			J$w["on"+oDe3F]=null
		}
	};
	this.bind=function(J$w,oDe3F,udf,r21)
	{
		return this.addListener(J$w,oDe3F,function()
		{
			r21.apply(udf,arguments)
		}
		)
	};
	this.bindDom=function(J$w,oDe3F,udf,r21)
	{
		var nv48=this.b8Y(udf,r21);
		return this.of$(J$w,oDe3F,nv48)
	};
	this.b8Y=function(J$w,oDe3F)
	{
return function(hXA)
{
	hXA=CO4r(hXA);
	oDe3F.call(J$w,hXA)
}
};
this.callback=function(r21,J$w)
{
return function()
{
	return J$w.apply(r21,arguments)
}
}
};
var MEvent=new _$$k0();
function pH8()
{
	this.J38=new Array();
	this.Cq_=new Image();
	this.Cq_.src=TI76u;
	this.jL1=20;
	this.gTq2=function(img,src,M029,W8GNB)
	{
		this.J38[this.J38.length]=new Image();
		var J77=this.J38.length-1;
		this.J38[J77].u0v=img;
		img.style.filter="alpha(opacity="+this.jL1+");";
		img.style.MozOpacity=(this.jL1/100.0);
		img.style.opacity=(this.jL1/100.0);
		img.style.C30=(this.jL1/100);
		img.src=TI76u;
		if(typeof M029!="undefined")
		{
			img.width=parseInt(M029)+"px";
			this.J38[J77].width=parseInt(M029)+"px"
		}
		if(typeof W8GNB!="undefined")
		{
			img.height=parseInt(W8GNB)+"px";
			this.J38[J77].height=parseInt(W8GNB)+"px"
		}
		this.J38[J77].c1K0=this;
		this.J38[J77].J77=J77;
		this.J38[J77].iVme="0";
		this.J38[J77].onload=function()
		{
			if(typeof M029!="undefined")
			{
				this.width=parseInt(M029)+"px"
			}
			if(typeof W8GNB!="undefined")
			{
				this.height=parseInt(W8GNB)+"px"
			}
			this.u0v.src=this.src;
			this.u0v.style.filter=null;
			this.u0v.style.MozOpacity=1;
			this.u0v.style.opacity=1;
			this.u0v.style.C30=1;
			if(typeof M029!="undefined")
			{
				this.u0v.width=parseInt(M029)+"px"
			}
			if(typeof W8GNB!="undefined")
			{
				this.u0v.height=parseInt(W8GNB)+"px"
			}
			this.iVme="1";
			this.c1K0[this.J77]=null;
			this.c1K0.FC7N();
			this.c1K0=null;
			this.u0v=null;
			this.onload=null;
			this.onerror=null
		};
		this.J38[J77].onerror=function()
		{
			if(typeof M029!="undefined")
			{
				this.width=parseInt(M029)+"px"
			}
			if(typeof W8GNB!="undefined")
			{
				this.height=parseInt(W8GNB)+"px"
			}
			this.u0v.style.filter=null;
			if(typeof M029!="undefined")
			{
				this.u0v.width=parseInt(M029)+"px"
			}
			if(typeof W8GNB!="undefined")
			{
				this.u0v.height=parseInt(W8GNB)+"px"
			}
			this.iVme="1";
			this.c1K0[this.J77]=null;
			this.c1K0.FC7N();
			this.c1K0=null;
			this.u0v=null;
			this.onload=null;
			this.onerror=null
		};
		showLoading();
		this.J38[J77].src=src
	};
	this.FC7N=function()
	{
		hideLoading();
		var $m2=1;
		for(var i=0;i<this.J38.length;i++)
		{
			if(this.J38[i]!=null&&this.J38[i].iVme=="0")
			{
				$m2=0
			}
			else if(this.J38[i]!=null)
			{
				this.J38[i].u0v=null;
				this.J38[i].c1K0=null;
				this.J38[i].onload=null;
				this.J38[i].onerror=null;
				delete(this.J38[i])
			}
		}
		if($m2)
		{
			for(var i=0;i<this.J38.length;i++)
			{
				if(this.J38[i]!=null)
				{
					this.J38[i].u0v=null;
					this.J38[i].c1K0=null;
					this.J38[i].onload=null;
					this.J38[i].onerror=null;
					delete(this.J38[i])
				}
			}
			this.J38.length=0;
			MEvent.WB6(this,"clean")
		}
	}
};
var _TP=new pH8();
//document.write('< script language="javascript" src="js/xmlhttp.js"></ script >');
document.writeln('<div id="myalert" style="position:absolute;z-index:100000;filter:alpha(opacity=90);-moz-opacity:0.9;visibility:hidden;"></div>');
var Jd5=0;
var ah8='<div id="loading" unselectable = "on"><img src="http://img.mapbar.com/maplite/images/loading.gif"></div>';
function showLoading()
{
	Jd5++;
	if(document.getElementById("loading"))
	{
		document.getElementById("loading").style.display="block";
		document.getElementById("loading").style.visibility="visible"
	}
};
function hideLoading()
{
	Jd5--;
	if(Jd5<=0)
	{
		if(document.getElementById("loading"))
		{	
		document.getElementById("loading").style.display="none";
		document.getElementById("loading").style.visibility="hidden"
		}
	}
};
function iq1m3(maplet)
{
	if(document.getElementById("loading"))
	{
		document.getElementById("loading").style.left=((maplet.width-parseInt(document.getElementById("loading").clientWidth))/2)+"px";
		document.getElementById("loading").style.top=((maplet.height-parseInt(document.getElementById("loading").clientHeight))/2)+"px"
	}
};
function W139(x,y,NTh4)
{
	document.getElementById("myalert").style.top=(parseInt(y)-60+parseInt(document.body.scrollTop))+"px";
	document.getElementById("myalert").style.left=(parseInt(x)-100+parseInt(document.body.scrollLeft))+"px";
	var NN05=(en==1)?"Close":$9n7("%u5175%uE760");
	document.getElementById("myalert").innerHTML='<table width="196px" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC;"><tr><td height="19px" bgcolor="#8888FF"></td></tr><tr><td height="100px" align="center" valign="middle" bgcolor="#FFFFFF"><table width="167px" height="79px" border="0" cellpadding="0" cellspacing="0"><tr><td height="55px" align="center" valign="middle" style="font-size: 12px;color: #0065AD;">'+NTh4+'</td></tr><tr><td height="24px" align="center" valign="middle"><input type="button" value="'+NN05+'" onClick="document.getElementById(\'myalert\').style.visibility = \'hidden\'"onMouseOver="style.background=\'#DEE7EF\';style.cursor=\'hand\';style.cursor=\'pointer\'"onMouseOut="this.style.background=\'FDFAF3\'" style="font-size: 9pt; width: 38px; height:18px; border: 1px solid #4A799C;background-color: #FDFAF3"></td></tr></table></td></tr></table>';
	document.getElementById("myalert").style.visibility="visible"
};
function pi1(NTh4)
{
	if(FRi3)W139(820,360,NTh4)
};
function ck6(a79h8)
{
	var iVR7='';
	for(var i=0;i<a79h8.length;i++)
	{
		var mj24=a79h8.charCodeAt(i).toString(36).toUpperCase();
		if(mj24.length<=1)
		{
			mj24="0"+mj24
		}
		iVR7+=mj24
	}
	return iVR7
};
function sdc(a79h8)
{
	var iVR7='';
	for(var i=0;i<a79h8.length;i+=2)
	{
		var mj24=a79h8.substring(i,i+2);
		iVR7+=String.fromCharCode(parseInt(mj24,36))
	}
	return iVR7
};
function $9n7(a79h8)
{
	a79h8=unescape(a79h8);
	var iVR7=String.fromCharCode(a79h8.charCodeAt(0)-a79h8.length);
	for(var i=1;i<a79h8.length;i++)
	{
		iVR7+=String.fromCharCode(a79h8.charCodeAt(i)-iVR7.charCodeAt(i-1))
	}
	return iVR7
};
if(typeof bArrow=="undefined")
{
	var bArrow=0
}
var tAt39=new Image();
tAt39.src=TI76u;
var $Y4=new Image();
var go2Or=document.all?1:0;
var A84=document.M5wK?1:0;
var Q_69o=(go2Or)?"document.all.":"document.";
var Hh89o=(go2Or)?".style":"";
var E_431=0;
function CreateToolTip(BK3,_5$M3,NTh4)
{
	var c$5Lw='<table border="0" width="150" cellspacing="0" cellpadding="0"><tr><td width="100%" bgcolor="#FF0000"><table border="0" width="150" cellspacing="1" cellpadding="0">'+'<tr><td width="100%" bgcolor="#FF0000">'+'<table border="0" width="100%" cellspacing="0" cellpadding="0">'+'<tr><td width="100%" bgcolor='+topColor+'>'+'<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">'+'<tr><td id="mytooltiptitle"width="100%" class="tooltiptitle">'+_5$M3+'</td>'+'<td style="cursor:hand;cursor:pointer;" valign="top" align="right">'+'<img src="'+strImgsvrUrl+'images/xclose.gif" onclick="javascript:hideToolTipMenu();">'+'</td>'+'</tr>'+'</table>'+'</td></tr>'+'<tr><td width="100%" bgcolor='+subColor+'>'+'<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">'+'<tr><td id="mytooltipcontent" width="100%" class="tooltipcontent">'+NTh4+'</td></tr>'+'</table>'+'</td></tr>'+'</table>'+'</td></tr>'+'</table></td></tr></table>';
	document.getElementById(BK3).innerHTML=c$5Lw
};
function MoveToolTip(BK3,J05O,Hs92,hXA)
{
	if(go2Or)
	{
		document.getElementById(BK3).style.top=parseInt(eval(J05O))+"px"
	}
	else
	{
		document.getElementById(BK3).style.top=parseInt(eval(J05O))+"px"
	}
	document.getElementById(BK3).style.left=parseInt(eval(Hs92))+"px"
};
function UpdateContent(BK3,_5$M3,NTh4)
{
	if(E_431==0)
	{
		CreateToolTip(BK3,_5$M3,NTh4);
		E_431=1
	}
	else
	{
		if(document.getElementById("mytooltiptitle"))document.getElementById("mytooltiptitle").innerHTML=_5$M3;
		if(document.getElementById("mytooltipcontent"))document.getElementById("mytooltipcontent").innerHTML=NTh4
	}
};
function setToolTipMenu(x,y,_5$M3,NTh4,hXA)
{
	var maplet=document["mapbar-maplet"];
	if(maplet!=null&&maplet.width&&maplet.height)
	{
		mapwidth=maplet.width;
		mapheight=maplet.height;
		if(typeof x=="undefined"||typeof hXA=="object")
		{
			x=((go2Or)?event.clientX:hXA.clientX)-maplet.offsetX-maplet.left;
			y=((go2Or)?event.clientY:hXA.clientY)-maplet.offsetY-maplet.top
		}
	}
	UpdateContent("ToolTip",_5$M3,NTh4);
	var N9_6R=document.getElementById("ToolTip").clientWidth;
	var _8v=document.getElementById("ToolTip").clientHeight;
	if(x>mapwidth-N9_6R)
	{
		x=x-N9_6R
	};
	if(y>mapheight-_8v)
	{
		y=y-_8v
	};
	MoveToolTip("ToolTip",y+yoffset,x+xoffset);
	document.getElementById("ToolTip").style.visibility='visible'
};
function hideToolTipMenu()
{
	document.getElementById("ToolTip").style.visibility="hidden";
	var maplet=document["mapbar-maplet"];
	if(maplet.getContextMenu()!=null)
	{
		maplet.getContextMenu().hide()
	}
	MoveToolTip("ToolTip",0,0)
};
function MContextMenuItem(title,$88)
{
	this.title=title;
	this.callback=(typeof $88=="undefined")?null:$88;
	this.VoQg=document.createElement("tr");
	this.VoQg.style.backgroundColor="#EEEEEE";
	this.aG9e=document.createElement("td");
	this.aG9e.className="contextmenuitem";
	this.aG9e.innerHTML="&nbsp;"+title;
	this.VoQg.appendChild(this.aG9e);
	this.m4e9=function(hXA)
	{
		this.r99.hide();
		if(this.callback!=null)eval(this.callback);
		MEvent.WB6(this,"select",this.r99.maplet.vaiO,this.r99.maplet.NP3w8)
	};
	this.JP34E=function(hXA)
	{
		this.VoQg.style.backgroundColor="#C8C1C5"
	};
	this.b715i=function(hXA)
	{
		this.VoQg.style.backgroundColor="#EEEEEE"
	};
	this.paint=function(r99)
	{
		this.r99=r99;
		this.r99.s25R.appendChild(this.VoQg)
	};
	MEvent.bindDom(this.VoQg,"click",this,this.m4e9);
	MEvent.bindDom(this.VoQg,"mouseover",this,this.JP34E);
	MEvent.bindDom(this.VoQg,"mouseout",this,this.b715i)
};
function MContextMenu()
{
	this.R92=new Array();
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.eKj18=document.createElement("div");
	this.eKj18.className="mapcontextmenu";
	this.Hrs=document.createElement("table");
	this.Hrs.className="contextmenutable";
	this.s25R=document.createElement("tbody");
	this.Hrs.appendChild(this.s25R);
	this.eKj18.appendChild(this.Hrs);
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		this.maplet.s0579.appendChild(this.eKj18)
	};
	this.Q44=function()
	{
		for(var i in this.s25R.childNodes)
		{
			if(typeof this.s25R.childNodes[i]=="object")
			{
				if(this.s25R.childNodes[i].r99!=null)this.s25R.childNodes[i].r99=null;
				this.s25R.removeChild(this.s25R.childNodes[i])
			}
		}
		for(var i=0;i<this.R92.length;i++)
		{
			this.R92[i].paint(this)
		}
	};
	this.addItem=function(item,J77)
	{
		if(typeof J77=="undefined")
		{
			this.R92[this.R92.length]=item
		}
		else
		{
			J77=parseInt(J77);
			this.R92.splice(J77,0,item)
		}
		this.Q44()
	};
	this.s8qKQ=function(J77)
	{
		this.R92.splice(J77,1);
		this.Q44()
	};
	this.clear=function()
	{
		for(var i in this.s25R.childNodes)
		{
			if(typeof this.s25R.childNodes[i]=="object")
			{
				if(this.s25R.childNodes[i].r99!=null)this.s25R.childNodes[i].r99=null;
				this.s25R.removeChild(this.s25R.childNodes[i])
			}
		}
		this.R92=new Array();
		this.Q44()
	};
	this.show=function(x,y)
	{
		this.eKj18.style.left=parseInt(x)+"px";
		this.eKj18.style.top=parseInt(y)+"px";
		this.eKj18.style.visibility="visible"
	};
	this.hide=function()
	{
		this.eKj18.style.visibility="hidden"
	};
	this.toString=function()
	{
		return "[MapbarContextMenu]"+this.R92.length
	}
};
function e5J(name,left,top,width,height,l5N7,_J2,content,c1K0)
{	
	this.E412s=content;
	this.c1K0=c1K0;
	this.name=name;
	this.Ta53=1;
	this.hide=function()
	{
		this.style.visibility="hidden"
	};
	this.show=function()
	{
		this.style.visibility="visible"
	};
	this.moveTo=function(x,y)
	{
		this.style.left=parseInt(x)+"px";
		this.style.top=parseInt(y)+"px"
	};
	this.resize=function(M029,W8GNB)
	{
		if(parseInt(M029)>=0&&parseInt(W8GNB)>=0)
		{
			this.style.width=parseInt(M029)+"px";
			this.style.height=parseInt(W8GNB)+"px"
		}
	};
	this.mM3Q=function()
	{
		return parseInt(this.style.height)
	};
	this.x56=function()
	{
		return parseInt(this.style.width)
	};
	this.P30=function(x,y)
	{
		if(x>parseInt(this.style.left)&&x<(parseInt(this.style.left)+parseInt(this.style.width))&&y>parseInt(this.style.top)&&y<(parseInt(this.style.top)+parseInt(this.style.height)))
		{
			return true
		}
		return false
	};
	this.appendChild=function(awE)
	{
		try
		{
			this.i8W96.appendChild(awE)
		}
		catch(hXA)
		{
		}
	};
	this.removeChild=function(awE)
	{
		try
		{
			this.i8W96.removeChild(awE)
		}
		catch(hXA)
		{
		}
	};
	this.clear=function()
	{
		while(this.i8W96.hasChildNodes())
		{
			this.i8W96.removeChild(this.i8W96.lastChild)
		}
	};
	this.clean=this.clear;
	this.getName=function()
	{
		return this.name
	};
	try
	{
		this.i8W96=Lx0(this.name,left,top,width,height,l5N7,_J2,content);
		this.i8W96.unselectable="on";
		if(this.c1K0)this.c1K0.appendChild(this.i8W96);
		this.style=this.i8W96.style;
		this.graphics=(go2Or)?new L3E8():new jsGraphics(this.name)
	}
	catch(hXA)
	{
	}
};
function L3E8()
{
	this.clear=function()
	{
	};
	this.paint=function()
	{
	};
	this.Ent=function()
	{
	};
	this.RVA85=function()
	{
	};
	this.setColor=function()
	{
	}
};
function d03(name)
{
	if(document.getElementById(name)!=null)
	{
		var J$w=document.getElementById(name);
		return J$w
	}
	return null
};
function _7Hx3(name)
{
	if(document.getElementById(name)!=null)
	{
		var R2h=document.getElementById(name).style;
		return R2h
	}
	return null
};
function v2CO(name,left,top,width,height,l5N7,_J2,content)
{
	document.writeln('<div unselectable="on" id="'+name+'" style="position:absolute; overflow:none; left:'+left+'px; top:'+top+'px; width:'+width+'px; height:'+height+'px;'+' visibility:'+(l5N7?'visible;':'hidden;')+'z-Index:'+_J2+';">');
	document.writeln(content);
	document.writeln('</div>')
};
function Lx0(name,left,top,width,height,l5N7,_J2,content)
{
	var W8GNB=document.createElement("div");
	W8GNB.unselectable="on";
	W8GNB.id=name;
	W8GNB.style.position="absolute";
	W8GNB.style.top=parseInt(top)+"px";
	W8GNB.style.left=parseInt(left)+"px";
	W8GNB.style.zIndex=_J2;
	W8GNB.style.width=parseInt(width)+"px";
	W8GNB.style.height=parseInt(height)+"px";
	W8GNB.style.visibility=(l5N7)?'visible':'hidden';
	W8GNB.innerHTML=content;
	return W8GNB
};
function xJNu(fA80,left,top,width,height)
{
	var W8GNB=new Image();
	W8GNB.unselectable="on";
	W8GNB.style.position="absolute";
	W8GNB.style.top=parseInt(top)+"px";
	W8GNB.style.left=parseInt(left)+"px";
	W8GNB.style.width=parseInt(width)+"px";
	W8GNB.style.height=parseInt(height)+"px";
	if(fA80!="undefined")W8GNB.src=fA80;
	W8GNB.onerror=function()
	{
		this.onerror=null;
		if(this.parentNode)this.parentNode.removeChild(this)
	};
	return W8GNB
};
function HUX7V(fA80,left,top,width,height,c1K0)
{
	this.DLqM=xJNu(fA80,left,top,width,height);
	this.Yu67c=0;
	this.r286p=0;
	this.name=name;
	c1K0.appendChild(this.DLqM);
	this.hide=function()
	{
		this.DLqM.style.visibility="hidden"
	};
	this.show=function()
	{
		this.DLqM.style.visibility="visible"
	};
	this.moveTo=function(x,y)
	{
		this.DLqM.style.left=parseInt(x)+"px";
		this.DLqM.style.top=parseInt(y)+"px"
	};
	this.resize=function(M029,W8GNB)
	{
		this.DLqM.style.width=parseInt(M029)+"px";
		this.DLqM.style.height=parseInt(W8GNB)+"px"
	};
	this.getName=function()
	{
		return this.name
	};
	this._1a8=function(c1K0)
	{
		c1K0.appendChild(this.DLqM)
	}
};
function X9$Jl($$5vs,color)
{
	var W8GNB=document.createElement("div");
	W8GNB.style.position="absolute";
	W8GNB.unselectable="on";
	var Ymy6='<div unselectable="on" id="mbglabel" style="'+'border:1px solid '+color+';'+'left:2px;top:2px;'+'background-color:'+color+';'+'color:'+this.color+';">'+'<table border="1" cellspacing="0" cellpadding="0" bordercolor="'+color+'">'+'<tr><td width="100%">'+'<font class="ptlabel" color="'+color+'">'+$$5vs+'</font>'+'</td></tr>'+'</table>'+'<\/div>';
	Ymy6+='<div unselectable="on" id="mfglabel" style="'+'border:1px solid '+color+';'+'left:0px;top:0px;'+'background-color:#FFFFCC;'+'color:'+this.color+';">'+'<table border="1" cellspacing="0" cellpadding="0" bordercolor=#FFFFCC>'+'<tr><td width="100%">'+'<font class="ptlabel" color="'+color+'" title="'+$$5vs+'">'+$$5vs+'</font>'+'</td></tr>'+'</table>'+'<\/div>';
	W8GNB.innerHTML=Ymy6;
	return W8GNB
};
function v6028(title,left,top,bU17)
{
	hideBubble();
	var c$5Lw=BPv58._9hH1(title,bU17);
	var W8GNB=Lx0("bubble",parseInt(left)-BPv58.xoffset,parseInt(top)-BPv58.height,0,0,1,100,c$5Lw);
	return W8GNB
};
function hideBubble(maplet)
{
	hideToolTipMenu();
	var W8GNB=document.getElementById("bubble");
	if(W8GNB)W8GNB.parentNode.removeChild(W8GNB);
	if(typeof maplet!="undefined"&&maplet.c2csd!=null)
	{
		maplet.c2csd=null
	}
	else if(document["mapbar-maplet"]!="undefined"&&document["mapbar-maplet"].c2csd!=null)
	{
		document["mapbar-maplet"].c2csd=null
	}
};
var BPv58=new pg50();
function pg50()
{
	this.height=230;
	this.xoffset=90;
	this.ax4=STD_TIP_HEIGHT;
	this.width=STD_BUBBLE_WIDTH;
	this.Vb59U=10;
	this._9hH1=function(title,bU17)
	{
		var s1Kg8=0;
		var upU=0;
		var K106=0;
		var $q47=0;
		if(typeof title=="object")
		{
			s1Kg8=Math.max(((title.clientHeight)?parseInt(title.clientHeight):0),((title.style)?parseInt(title.style.height):0));
			upU=Math.max(((title.clientWidth)?parseInt(title.clientWidth):0),((title.style)?parseInt(title.style.width):0))
		}
		if(typeof bU17=="object")
		{
			K106=Math.max(((bU17.clientHeight)?parseInt(bU17.clientHeight):0),((bU17.style)?parseInt(bU17.style.height):0));
			$q47=Math.max(((bU17.clientWidth)?parseInt(bU17.clientWidth):0),((bU17.style)?parseInt(bU17.style.width):0))
		}
		var MDU=this.Qfb(title)+this.N0o63(bU17);
		document.getElementById("ToolTip").innerHTML=MDU;
		var _8v=Math.max(s1Kg8+K106,((document.getElementById("mytooltipcontent"))?document.getElementById("mytooltipcontent").clientHeight:0));
		if(_8v>210)
		{
			this.height=MAX_BUBBLE_HEIGHT
		}
		else
		{
			this.height=parseInt(_8v)+MIN_BUBBLE_HEIGHT+STD_TIP_HEIGHT
		}
		this.height=parseInt(_8v)+MIN_BUBBLE_HEIGHT+STD_TIP_HEIGHT;
		var N9_6R=STD_BUBBLE_WIDTH+Math.min(MAX_BUBBLE_HEIGHT,parseInt(_8v))*STD_BUBBLE_WIDTH/MAX_BUBBLE_HEIGHT;
		this.width=Math.max(Math.max(upU,$q47),N9_6R);
		this.Vb59U=10-(this.width-STD_BUBBLE_WIDTH)/2;
		document.getElementById("ToolTip").innerHTML='';
		E_431=0;
		return this.l523()+MDU
	};
	this.Qfb=function(title)
	{
		if(false&&typeof title=="object")
		{
			return title.outerHTML
		}
		else
		{
			var _5$M3=(typeof title=="object")?title.outerHTML:title;
			return '<div class=tooltiptitle unselectable="on" style="position:absolute; left:'+this.Vb59U+'px; top:12px; width:'+this.width+'px; height:20px;z-index:10010">'+_5$M3+'</div>'
		}
	};
	this.N0o63=function(bU17)
	{
		if(false&&typeof bU17=="object")
		{
			return bU17.outerHTML
		}
		else
		{
			var NTh4=(typeof bU17=="object")?bU17.outerHTML:bU17;
			var MDU='<div id="OverlayBg_BubbleBody" unselectable="on" style="position:absolute;overflow:auto;left:'+this.Vb59U+'px; top:32px; width:'+(this.width+40)+'px; height:'+(this.height-MIN_BUBBLE_HEIGHT-20)+'px;z-index:10010">'+'<table width="'+(this.width+20)+'" border="0" cellspacing="0" cellpadding="1"><tr><td width="100%" id="mytooltipcontent" ><font class=tooltipcontent>'+NTh4+'</font></td></tr></table></div>';
			return MDU
		}
	};
	this.l523=function()
	{
		var put1=(go2Or)?"<div id=\"OverlayBg_BubbleBg\" unselectable=\"on\" style='position:absolute; left:40px; top:"+parseInt(this.height-2*this.ax4)+"px; width:"+(this.width+150)+"; height:"+(2*this.ax4)+";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\"/images/b2shadow50.png\", sizingMethod=\"scale\");'></div>":'<div id="OverlayBg_BubbleBg" unselectable="on" style="position:absolute; left:40px; top:'+parseInt(this.height-2*this.ax4)+'px; width:'+(this.width+150)+'px; height:'+(2*this.ax4)+'px;">'+'<img src="'+strImgsvrUrl+'images/bshadow50.png" width="100%" height="100%"></div>';
		var vTF4=(go2Or)?"<div id=\"OverlayBg_BubbleBg2\" unselectable=\"on\" style='position:absolute; left:89px; top:"+parseInt(this.height-this.ax4-2)+"px; width:79px; height:"+this.ax4+"px; z-index:10002;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\""+strImgsvrUrl+"images/qqqq.png\", sizingMethod=\"scale\");z-index:10002;'></div>":'<div id="OverlayBg_BubbleBg2" unselectable="on" style="position:absolute; left:89px; top:'+parseInt(this.height-this.ax4-2)+'px; width:'+(this.width-71)+'px; height:'+this.ax4+'px; z-index:10002">'+'<img src="'+strImgsvrUrl+'images/qqqq.png" width="79" height="'+this.ax4+'"></div>';
		var T9T=put1+vTF4+'<div id="OverlayBg_BubbleBg3" unselectable="on" style="position:absolute;z-index:10001;left:'+(this.Vb59U-10)+'px" >'+'<table width="'+(this.width+60)+'" border="0" cellspacing="0" cellpadding="0">'+'<tr>'+' <td width="10"><img src="'+strImgsvrUrl+'images/new_r1_c1.png" width="10" height="10"></td>'+'<td width="'+(this.width+40)+'" background="'+strImgsvrUrl+'images/new_r1_c2.gif"></td>'+'<td width="10"><img src="'+strImgsvrUrl+'images/left1_r1_c6.png" width="10" height="10"></td>'+'</tr>'+'<tr>'+' <td height="'+parseInt(this.height-19-this.ax4)+'" background="'+strImgsvrUrl+'images/new_r2_c1.gif">&nbsp;</td>'+'<td align="right" valign="top" bgcolor="#FFFFFF">'+'<a href="javascript:hideBubble();"><img src="'+strImgsvrUrl+'images/close.gif" width="14" height="13" border="0"></a>'+'</td>'+' <td background="'+strImgsvrUrl+'images/new_r3_c6.gif">&nbsp;</td>'+' </tr>'+'<tr>'+'<td><img src="'+strImgsvrUrl+'images/left1_r5_c1.png" width="10" height="10"></td>'+'<td background="'+strImgsvrUrl+'images/new_r5_c2.gif"></td>'+'<td><img src="'+strImgsvrUrl+'images/left1_r5_c6.png" width="10" height="10"></td>'+'</tr>'+'</table>'+'<img src="'+strImgsvrUrl+'images/qqqq_r1_c2.png" width="1" height="109">'+'</div>';
		return T9T
	}
};
var Vb0=(en==0)?new Array($9n7('%u5415%uDD90%uE7F2%uD86E'),$9n7('%u5415%uA728%uB18A%uD86E'),$9n7('%u5415%uA22D%uAC8F%uD86E'),$9n7('%u5415%uA768%uB1CA%uD86E'),$9n7('%u6D4F%uFF1A%u1FAC%u0798'),$9n7('%u70BF%uC2B4%uE1D6%u1827%u0775%uE467'),$9n7('%u6540%uBE65'),$9n7('%u7F2B%uDB38'),$9n7('%u62D1%uB571%uC179%uC628%uE732%u1827%u0775%uE467')):new Array('Go left','Go up','Go right','Go down','Measure distance','Click to zoom','Zoom In','Zoom Out','Drag to zoom');
var C5A=(en==0)?"\u62D6\u62FD\u6B64\u70B9":"drag to move this point";
function _PQ7$(v1A,kWT_,left,top,width,height,l5N7,_J2,c1K0,u0v,okdcX)
{
	left=parseInt(left);
	top=parseInt(top);
	this.g66=(v1A==null||v1A=="undefined")?'':v1A+'/';
	this.xMX0s=(typeof okdcX=="undefined")?0:parseInt(okdcX);
	if(this.xMX0s==2)
	{
		top=top-35;
		left=left-10
	}
	this.i6_82=(this.xMX0s)?100:254;
	this.i6_82+=top;
	this.left=left;
	this.top=top;
	this.Qi9='';
	if(this.xMX0s!=2)
	{
		this.Qi9+='<IMG unselectable="on" style="position:absolute;left:'+(left+10)+'px;top:'+(top+10)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g66+'panshadow.png" >';
		this.Qi9+='<IMG id="ctrlw" unselectable="on" title="'+Vb0[0]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,1);" style="position:absolute;left:'+(left+10)+'px;top:'+(top+30)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'west.png" >';
		this.Qi9+='<IMG id="ctrln" unselectable="on" title="'+Vb0[1]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,2);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+10)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'north.png" >';
		this.Qi9+='<IMG id="ctrle" unselectable="on" title="'+Vb0[2]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,3);" style="position:absolute;left:'+(left+50)+'px;top:'+(top+30)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'east.png" >';
		this.Qi9+='<IMG id="ctrls" unselectable="on" title="'+Vb0[3]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,4);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+50)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'south.png" >';
		this.Qi9+='<IMG id="ctrlmeas" unselectable="on" title="'+Vb0[4]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,7);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+30)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'measure.png" >'
	}
	this.Qi9+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+'px;top:'+(top+81)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g66+'gridshadow.png" >';
	this.Qi9+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+'px;top:'+(this.i6_82+1)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g66+'gridshadow.png" >';
	if(this.xMX0s==0)
	{
		this.Qi9+='<IMG id="ctrlbg2" unselectable="on" style="position:absolute;left:'+(left+31)+'px;top:'+(top+97)+'px;filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.g66+'zoom-bg2.png" >';
		this.Qi9+='<IMG id="ctrlbg" unselectable="on" title="'+Vb0[5]+'" onmousemove=style.cursor="default" onclick="javascript:PerformControl(event, this, 8);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+96)+'px;" src="'+strImgsvrUrl+'images/'+this.g66+'zoom-bg.png" >'
	}
	this.Qi9+='<IMG id="ctrlzmin" unselectable="on" title="'+Vb0[6]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,5);" style="position:absolute;left:'+(left+30)+'px;top:'+(top+80)+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'zoom-plus.png" >';
	this.Qi9+='<IMG id="ctrlzmout" unselectable="on" title="'+Vb0[7]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,6);" style="position:absolute;left:'+(left+30)+'px;top:'+this.i6_82+'px;width:17px;height:17px;" src="'+strImgsvrUrl+'images/'+this.g66+'zoom-minus.png" >';
	this.C796w=new e5J("LayerControl",left,top,0,0,l5N7,_J2,this.Qi9,c1K0);
	this.C796w.i8W96.u0v=u0v;
	if(this.xMX0s==0)
	{
		this.v32=document.createElement("div");
		this.v32.id="ctrlslider";
		this.v32.unselectable="on";
		this.v32.innerHTML='<IMG id="ctrlsliderimg" src='+strImgsvrUrl+'images/'+this.g66+'slider.png>';
		this.v32.style.position="absolute";
		this.v32.style.top=(parseInt(this.top)+165)+"px";
		this.v32.style.left=(parseInt(this.left)+30)+"px";
		this.v32.style.width="17px";
		this.v32.style.height="9px";
		this.v32.I6938=0;
		this.C796w.i8W96.appendChild(this.v32);
		this.C796w.i8W96.v32=this.v32;
		this.v32.style.top=((K0133-kWT_)*(132/(K0133-1))+100+parseInt(this.top))+"px";
		this.v32.firstChild.onmousedown=function(hXA)
		{
			return false
		};
		this.v32.C796w=this;
		this.v32.onmousedown=function(hXA)
		{
			if(this.I6938==0)
			{
				this.I6938=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.C796w.top);
				if(this.setCapture)this.setCapture();
				this.style.cursor="move"
			}
			else
			{
				this.I6938=0
			}
			if(FRi3)pi1(this.I6938);
			return true
		};
		this.v32.ondrag=function(hXA)
		{
			if(this.I6938>0)
			{
				var maplet=this.parentNode.u0v;
				this.style.cursor="move";
				var S21=parseInt((go2Or)?event.clientY:hXA.clientY)-5-maplet.offsetY-parseInt(maplet.top)-2*parseInt(this.C796w.top);
				if(S21>=100&&S21<244)
				{
					this.style.top=(S21+parseInt(this.C796w.top))+"px";
					var CK6W1=132;
					if(go2Or)
					{
						var y=parseInt((go2Or)?event.clientY:hXA.clientY)-3-maplet.offsetY-parseInt(maplet.top)-2*parseInt(this.C796w.top);
						var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt(((parseInt(y)-100)/(K0133-1))*(CK6W1/(K0133-1)))/(CK6W1/(K0133))));
						if(FRi3)pi1("ondrag: currTop="+S21+","+this.C796w.top+","+y+":"+kWT_);
						maplet.qV8(kWT_);
						this.style.cursor="move";
						this.parentNode.style.cursor="move"
					}
				}
				return true
			}
			return false
		};
		this.v32.ondragend=function(hXA)
		{
			if(this.I6938>0)
			{
				var maplet=this.parentNode.u0v;
				var y=parseInt((go2Or)?event.clientY:hXA.clientY)-maplet.offsetY-parseInt(maplet.top)-2*parseInt(this.C796w.top);
				var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt((parseInt(y)-100)/(132/(K0133-1)))));
				if(FRi3)pi1("ondragend:"+this.C796w.top+","+y+":"+kWT_);
				this.parentNode.Q44(kWT_);
				maplet.s0579.i8W96.style.zoom=1;
				maplet.setZoomLevel(parseInt(kWT_));
				this.I6938=0;
				if(this.releaseCapture)this.releaseCapture()
			}
			this.I6938=0;
			this.style.cursor="default";
			return true
		}
	};
	this.onmousedown=function()
	{
		return false
	};
	this.onmousemove=function(hXA)
	{
		if(this.v32)
		{
			return(go2Or)?this.v32.ondrag():this.v32.ondrag(hXA)
		}
		else
		{
			return false
		}
	};
	this.onmouseup=function(hXA)
	{
		return(this.v32)?((go2Or)?this.v32.ondragend():this.v32.ondragend(hXA)):false
	};
	this.onmouseout=function()
	{
		return false
	};
	this.C796w.i8W96.Q44=function(kWT_)
	{
		if(this.v32)
		{
			this.v32.style.top=((K0133-kWT_)*(132/(K0133-1))+100+(parseInt(this.style.top)))+"px";
			if(this.v32.parentNode==null||this.v32.parentNode!=this)
			{
				this.appendChild(this.v32)
			}
		}
	};
	this.Q44=function(kWT_)
	{
		this.C796w.i8W96.Q44(kWT_)
	};
	this.hide=function()
	{
		this.C796w.hide()
	};
	this.show=function()
	{
		this.C796w.show()
	};
	this.XC33C=function()
	{
		this.C796w.i8W96.u0v=null;
		if(this.C796w.i8W96!=null&&this.C796w.i8W96.parentNode!=null)
		{
			this.C796w.i8W96.parentNode.removeChild(this.C796w.i8W96);
			this.C796w.i8W96=null
		}
	}
};
function PerformControl(hXA,J$w,VBxN)
{
	var maplet=J$w.parentNode.u0v;
	switch(VBxN)
	{
		case 1:hideBubble(maplet);
		maplet.panTo(parseInt(maplet.width)/2,0);
		break;
		case 2:hideBubble(maplet);
		maplet.panTo(0,parseInt(maplet.height)/2);
		break;
		case 3:hideBubble(maplet);
		maplet.panTo(-parseInt(maplet.width)/2,0);
		break;
		case 4:hideBubble(maplet);
		maplet.panTo(0,-parseInt(maplet.height)/2);
		break;
		case 5:hideBubble(maplet);
		maplet.zoomIn();
		break;
		case 6:hideBubble(maplet);
		maplet.zoomOut();
		break;
		case 7:hideBubble(maplet);
		maplet.setMode(eY1L.XtH0);
		break;
		case 8:hideBubble(maplet);
		var yoffset=parseInt(J$w.style.top)-96+parseInt(maplet.C796w.top);
		var y=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(maplet.offsetY)-parseInt(maplet.top);
		y-=yoffset;
		if(!go2Or&&maplet.r99.style.position!="absolute")
		{
		}
		var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt((parseInt(y)-100)/(132/(K0133-1)))));
		J$w.parentNode.Q44(kWT_);
		maplet.setZoomLevel(kWT_);
		break;
		default:break
	}
};
var o26=null;
function showMouseTipBox(x,y,$0i$,c1K0)
{
	try
	{
		if(o26==null||o26=="undefined")
		{
			var NTh4='<table border="1" cellspacing="0" cellpadding="0" bordercolor=#FF0000>'+'<tr><td width="100%" bgcolor=#FFFFCC>'+'<font class="ptlabel" color="#000000" >'+$0i$+'</font>'+'</td></tr>'+'</table>';
			o26=Lx0("mousetipbox",parseInt(x)+10,parseInt(y)+18,70,20,1,100,NTh4);
			o26.unselectable="on";
			o26.style.f$A3="none"
		}
		else
		{
			o26.style.left=(parseInt(x)+10)+"px";
			o26.style.top=(parseInt(y)+18)+"px";
			o26.visibility="visible"
		}
		if(o26!=null&&(o26.parentNode==null||o26.parentNode!=c1K0))
		{
			c1K0.appendChild(o26)
		}
	}
	catch(hXA)
	{
	}
};
function v3e()
{
	if(o26!=null)
	{
		if(o26.parentNode!=null)
		{
			o26.parentNode.removeChild(o26)
		}
		o26=null
	}
};
function P08(hXA)
{
	return(go2Or)?event.srcElement.id:hXA.target.id
};
function imageTileError(T837)
{
	if(T837.width==300&&T837.ntry=="0")
	{
		T837.ntry="1";
		var b69Q=T837.src+"?";
		T837.src=b69Q
	}
	else if(T837.width==300&&T837.ntry=="1")
	{
		T837.ntry="2";
		var b69Q=T837.src+"?";
		T837.src=b69Q
	}
	else
	{
		T837.ntry="3";
		T837.onerror=null;
		T837.src=strImgsvrUrl+"images/mask.gif";
		T837.style.width="300px";
		T837.style.height="300px"
	}
};
function imageTileOk(T837)
{
	T837.onerror=null;
	T837.onload=null;
	T837.style.width="300px";
	T837.style.height="300px"
};
function $gJL(maplet,kWT_,left,top,M029,W8GNB,l5N7,c1K0,g66)
{
	this.maplet=maplet;
	this.left=left;
	this.top=top;
	this.width=M029;
	this.height=W8GNB;
	this.p83=kWT_;
	this.S3I9=51;
	this.JC2DF=18;
	this.l_4_C=16;
	this.EE2=false;
	this.c1K0=c1K0;
	this.g66=(typeof g66!="undefined")?g66:"";
	this.H3O42=0;
	this._94=0;
	this.yPv=new e5J("LayerZoomBar",this.left,this.top,this.width,this.height,l5N7,2,'',this.c1K0);
	var t35jQ=(K0133/2)*(this.height-this.JC2DF*2-this.S3I9)/K0133+this.JC2DF;
	this.Qd$50=xJNu(strImgsvrUrl+"images/"+this.g66+"/zoombg.gif",0,0,this.l_4_C,this.height);
	this.EiIE3=xJNu(strImgsvrUrl+"images/"+this.g66+"/zoombg2.gif",0,0,this.l_4_C,t35jQ);
	this.k2e4=xJNu(strImgsvrUrl+"images/"+this.g66+"/zoomin.gif",0,0,this.l_4_C,this.JC2DF);
	this.W32=xJNu(strImgsvrUrl+"images/"+this.g66+"/zoomout.gif",0,this.height-this.JC2DF,this.l_4_C,this.JC2DF);
	this.$21=xJNu(strImgsvrUrl+"images/"+this.g66+"/slider.gif",0,t35jQ,this.l_4_C,this.S3I9);
	this.$21.id="zoombarSlider";
	this.yPv.i8W96.appendChild(this.Qd$50);
	this.yPv.i8W96.appendChild(this.EiIE3);
	this.yPv.i8W96.appendChild(this.k2e4);
	this.yPv.i8W96.appendChild(this.W32);
	this.yPv.i8W96.appendChild(this.$21);
	this.$21.onmousedown=function(hXA)
	{
		return false
	};
	this.setZoomLevel=function(kWT_)
	{
		kWT_=parseInt(kWT_);
		if(kWT_<0)kWT_=0;
		if(kWT_>K0133)kWT_=K0133;
		if(this.p83!=kWT_)
		{
			this.p83=kWT_;
			this.refresh()
		}
	};
	this.setStyle=function(g66)
	{
		if(typeof g66!="undefined"&&this.g66!=g66)
		{
			this.g66=g66;
			this.Qd$50.src=(strImgsvrUrl+"images/"+this.g66+"/zoombg.gif");
			this.EiIE3.src=(strImgsvrUrl+"images/"+this.g66+"/zoombg2.gif");
			this.k2e4.src=(strImgsvrUrl+"images/"+this.g66+"/zoomin.gif");
			this.W32.src=(strImgsvrUrl+"images/"+this.g66+"/zoomout.gif");
			this.$21.src=(strImgsvrUrl+"images/"+this.g66+"/slider.gif")
		}
	};
	this.getZoomLevel=function()
	{
		return this.p83
	};
	this.show=function()
	{
		this.yPv.show();
		this.$21.style.visibility="visible"
	};
	this.hide=function()
	{
		this.yPv.hide();
		this.$21.style.visibility="hidden"
	};
	this.resize=function(W8GNB)
	{
		this.height=parseInt(W8GNB);
		this.yPv.resize(this.width,this.height);
		this.Qd$50.style.height=this.height+"px";
		this.W32.style.top=(this.height-this.JC2DF)+"px";
		this.refresh()
	};
	this.moveTo=function(x,y)
	{
		this.left=x;
		this.top=y;
		this.yPv.moveTo(this.left,this.top)
	};
	this.refresh=function()
	{
		this.paint()
	};
	this.paint=function()
	{
		var t35jQ=(K0133-this.p83)*(this.height-this.JC2DF*2-this.S3I9)/K0133+this.JC2DF;
		this.EiIE3.style.height=parseInt(t35jQ)+"px";
		if(this.$21!=null)
		{
			this.$21.style.top=t35jQ;
			if(this.$21.parentNode==null)
			{
				this.yPv.i8W96.appendChild(this.$21)
			}
		}
	};
	this.zoomIn=function()
	{
		this.setZoomLevel(this.p83+1)
	};
	this.zoomOut=function()
	{
		this.setZoomLevel(this.p83-1)
	};
	this.P30=function(x,y)
	{
		if((x>this.left)&&(x<this.left+this.width)&&(y>this.top)&&(y<this.top+this.height))
		{
			return true
		}
		else return false
	};
	this.WfI$3=function(JT7,x,y)
	{
		if(this.nQ6)
		{
			y=y-this.S3I9/2;
			var kWT_=K0133*(this.height-y-this.JC2DF-this.S3I9)/(this.height-this.JC2DF*2-this.S3I9);
			if(y>this.JC2DF&&y<(this.height-this.JC2DF-this.S3I9))
			{
				this.$21.style.top=parseInt(y)+"px";
				this.EiIE3.style.height=parseInt(y)+"px";
				if(go2Or)this.maplet.qV8(kWT_)
			}
			return true
		}
		if(this.P30(x,y))
		{
			if(y<(this.JC2DF)||y>(this.height-this.JC2DF))
			{
				this.yPv.style.cursor=(go2Or)?'hand':'pointer'
			}
			else if(JT7=="zoombarSlider")
			{
				this.yPv.style.cursor=(go2Or)?'hand':'pointer'
			}
			else
			{
				this.yPv.style.cursor='default'
			}
			return true
		}
		return false
	};
	this.Fo15=function(x,y)
	{
		this.H3O42=x;
		this._94=y;
		if(this.P30(x,y))
		{
			this.nQ6=true
		}
		else
		{
			this.nQ6=false
		}
		return this.nQ6
	};
	this.iNk9=function(x,y)
	{
		var Yix3=false;
		this.maplet.s0579.i8W96.style.zoom=1;
		if(this.nQ6)
		{
			if(y<this.JC2DF)
			{
				this.zoomIn()
			}
			else if(y>(this.height-this.JC2DF))
			{
				this.zoomOut()
			}
			else
			{
				y=y-this.S3I9/2;
				y=(y>(this.height-this.JC2DF-this.S3I9))?(this.height-this.JC2DF-this.S3I9):((y<this.JC2DF)?this.JC2DF:y);
				var kWT_=K0133*(this.height-y-this.JC2DF-this.S3I9)/(this.height-this.JC2DF*2-this.S3I9);
				this.setZoomLevel(parseInt(kWT_+0.5))
			}
			Yix3=true
		}
		this.nQ6=false;
		return Yix3
	};
	this.f46T=function(x,y)
	{
	}
};
if(!go2Or)document.write('<script language="javascript" src="http://api.mapbar.com/api/js/avgraphics.js"></script>');
function a9v97()
{
	this.Qf98='1';
	this.$2_$5='2';
	this.qUW5='3';
	this.qp4D='5';
	this.dy8='6';
	this.G71='7';
	this.TT09='8';
	this.erfe5='9';
	this.Bcn$1='10';
	this.XtH0='11';
	this.ISd='12';
	this.d__2='13';
	this.I60E='14';
	this.V086D='23';
	this.Q3R9$='15'
};
var eY1L=new a9v97();
function b2009(W8GNB,whL,zIndex)
{
	if(whL!="undefined"&&whL!="")W8GNB.src=whL;
	W8GNB.style.zIndex=zIndex
};
var _IIj0=new Array();
_IIj0["icon1"]=strImgsvrUrl+'images/'+"number1.gif";
_IIj0["icon2"]=strImgsvrUrl+'images/'+"number2.gif",_IIj0["icon3"]=strImgsvrUrl+'images/'+"number3.gif",_IIj0["icon4"]=strImgsvrUrl+'images/'+"number4.gif",_IIj0["icon5"]=strImgsvrUrl+'images/'+"number5.gif",_IIj0["icon6"]=strImgsvrUrl+'images/'+"number6.gif",_IIj0["icon7"]=strImgsvrUrl+'images/'+"number7.gif",_IIj0["icon8"]=strImgsvrUrl+'images/'+"number8.gif",_IIj0["icon9"]=strImgsvrUrl+'images/'+"number9.gif",_IIj0["icon10"]=strImgsvrUrl+'images/'+"number10.gif";
var syQu=new Array();
syQu["icon1"]=strImgsvrUrl+'images/'+"number1-2.gif",syQu["icon2"]=strImgsvrUrl+'images/'+"number2-2.gif",syQu["icon3"]=strImgsvrUrl+'images/'+"number3-2.gif",syQu["icon4"]=strImgsvrUrl+'images/'+"number4-2.gif",syQu["icon5"]=strImgsvrUrl+'images/'+"number5-2.gif",syQu["icon6"]=strImgsvrUrl+'images/'+"number6-2.gif",syQu["icon7"]=strImgsvrUrl+'images/'+"number7-2.gif",syQu["icon8"]=strImgsvrUrl+'images/'+"number8-2.gif",syQu["icon9"]=strImgsvrUrl+'images/'+"number9-2.gif",syQu["icon10"]=strImgsvrUrl+'images/'+"number10-2.gif";
var LA97t=new Array();
var PVW=new Array();
var E97=new G$XEH("undefined");
var R4U1=2;
function G$XEH(id,r1K79,xH274,km9V_,t18,A97,NTh4,V2k,N544S)
{
	this.km9V_=km9V_;
	this.t18=t18;
	this.meDJ=function(r1K79,xH274)
	{
		if(r1K79!="undefined"&&r1K79!="")
		{
			this.r1K79=r1K79;
			this.rQI3.src=r1K79;
			this.rQI3.u62C=r1K79
		}
		if(xH274!="undefined"&&xH274!="")
		{
			this.xH274=xH274;
			this.rQI3.nc6=xH274
		}
	};
	this.G0q=function(title,content)
	{
		this.A97=title;
		this.NTh4=content;
		if(this.id!="undefined"&&this.A97!="undefined")
		{
			LA97t[this.id]=this.A97;
			PVW[this.id]=(this.NTh4==null||this.NTh4=="undefined")?$9n7('%u8BEA%u0AAC%uCEA7%uB050'):this.NTh4
		}
		if(this.V2k)
		{
			if(typeof this.Y126!="undefined")
			{
				var c1K0=this.Y126.parentNode;
				if(c1K0!=null)
				{
					c1K0.removeChild(this.Y126)
				}
				var left=parseInt(this.Y126.style.left);
				var top=parseInt(this.Y126.style.top);
				this.Y126=X9$Jl(this.A97,this.color);
				this.Y126.style.left=left+"px";
				this.Y126.style.top=top+"px";
				if(c1K0!=null)
				{
					c1K0.appendChild(this.Y126)
				}
			}
			else
			{
				this.Y126=X9$Jl(this.A97,this.color)
			}
		}
	};
	if(id!="undefined"&&r1K79!="undefined")
	{
		this.id=id;
		this.color=(N544S==null||N544S=="undefined")?"#FF0000":N544S;
		this.V2k=(V2k=="1")?true:false;
		this.L2C7L=0;
		this.WYd=16;
		this.G0q(A97,NTh4);
		this.rQI3=new Image();
		this.rQI3.unselectable="on";
		this.rQI3.id=this.id;
		this.rQI3.ipn6i=true;
		this.rQI3.R0eB=false;
		this.rQI3.x0=0;
		this.rQI3.l14=0;
		this.rQI3.i6dDL=0;
		this.rQI3.na04C=0;
		this.rQI3.style.position="absolute";
		this.rQI3.onerror=function()
		{
			this.src=strImgsvrUrl+'images/marker.gif';
			this.onerror=null
		};
		this.rQI3.onload=function()
		{
			this.onerror=null;
			this.onload=null
		};
		this.meDJ(r1K79,xH274);
		this.rQI3.onmouseover=function()
		{
			var maplet=document["mapbar-maplet"];
			if(maplet.dCq==eY1L.XtH0||maplet.dCq==eY1L.Q3R9$||maplet.dCq==eY1L.dy8)
			{
				this.style.cursor="default";
				return
			}
			this.style.cursor=(go2Or)?"hand":"pointer";
			if(this.style.zIndex<R4U1)
			{
				R4U1++
			}
			this.style.zIndex=R4U1;
			if(this.nc6!="undefined"&&this.nc6!="")this.src=this.nc6;
			if(this.ipn6i&&iToolTipStyle==0)
			{
				var x=parseInt(this.style.left)+parseInt(this.width)/2;
				var y=parseInt(this.style.top)+parseInt(this.height)/2;
				setToolTipMenu(x,y,LA97t[this.id],PVW[this.id])
			}
		};
		this.rQI3.onmouseout=function()
		{
			if(this.u62C!="undefined"&&this.u62C!="")this.src=this.u62C;
			if(document["mapbar-maplet"].dCq==eY1L.V086D)this.c8$()
		};
		this.rQI3.onclick=function()
		{
			if(this.ipn6i==false)return;
			var maplet=document["mapbar-maplet"];
			if(maplet.dCq==eY1L.XtH0||maplet.dCq==eY1L.Q3R9$||maplet.dCq==eY1L.dy8||maplet.dCq==eY1L.Bcn$1||maplet.dCq==eY1L.erfe5||maplet.dCq==eY1L.ISd)return;
			if(maplet.dCq==eY1L.d__2)
			{
				var J77=maplet.QEWT7(maplet.rM_,this.id);
				maplet.removePointAt(J77);
				maplet.refresh();
				if(callback)callback("&act=del&pid="+J77);
				return
			}
			if(this.i6dDL==0&&this.na04C==0)this.h$M66()
		};
		this.rQI3.onmousemove=function(hXA)
		{
			if(document["mapbar-maplet"].dCq==eY1L.V086D&&this.R0eB)
			{
				var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX);
				var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY);
				this.na04C+=(T8FG5-this.l14);
				this.i6dDL+=(mJ3H-this.x0);
				this.style.top=(parseInt(this.style.top)+(T8FG5-this.l14))+"px";
				this.style.left=(parseInt(this.style.left)+(mJ3H-this.x0))+"px";
				this.x0=mJ3H;
				this.l14=T8FG5
			}
		};
		this.rQI3.onmousedown=function(hXA)
		{
			var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX);
			var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY);
			this.R0eB=true;
			this.x0=mJ3H;
			this.l14=T8FG5;
			this.i6dDL=0;
			this.na04C=0
		};
		this.rQI3.onmouseup=function(hXA)
		{
			if(document["mapbar-maplet"].dCq==eY1L.V086D)this.c8$(hXA)
		};
		this.rQI3.c8$=function(hXA)
		{
			if(this.R0eB&&(this.i6dDL!=0||this.na04C!=0))
			{
				this.R0eB=false;
				var maplet=document["mapbar-maplet"];
				var pt=maplet.getElementById(maplet.rM_,this.id);
				if(pt!=null)
				{
					pt.km9V_+=(maplet.ALe0(this.i6dDL+maplet.width/2,this.na04C+maplet.height/2)-maplet.D081);
					pt.t18+=(maplet.i3k(this.i6dDL+maplet.width/2,this.na04C+maplet.height/2)-maplet.JAf5K);
					E97.km9V_=pt.km9V_;
					E97.t18=pt.t18;
					var db7=E97.$447();
					var J77=maplet.QEWT7(maplet.rM_,this.id);
					maplet.refresh();
					if(callback)callback("&act=move&pid="+J77+"&latlon="+db7)
				}
				this.i6dDL=0;
				this.na04C=0
			}
			else
			{
				this.R0eB=false
			}
		};
		this.rQI3.h$M66=function(N7E)
		{
			var x=parseInt(this.style.left)+parseInt(this.width)/2;
			var y=parseInt(this.style.top)+parseInt(this.height)/2;
			var maplet=document["mapbar-maplet"];
			if((iToolTipStyle=="undefined"||iToolTipStyle==1)&&(LA97t[this.id]!=null)&&(LA97t[this.id].length>0))
			{
				BPv58._9hH1(LA97t[this.id],PVW[this.id]);
				if(N7E==true||((x>BPv58.xoffset)&&(x<(maplet.width-BPv58.width))&&(y>BPv58.height)&&(y<(maplet.height))))
				{
					maplet.c2csd=v6028(LA97t[this.id],x,y,PVW[this.id]);
					maplet.s0579.i8W96.appendChild(maplet.c2csd)
				}
				else
				{
					maplet.c2csd=v6028(LA97t[this.id],maplet.width/2+2,BPv58.height+10,PVW[this.id]);
					var $CEJp=maplet.width/2-x;
					var EOcaK=BPv58.height+10-y;
					maplet.panTo($CEJp,EOcaK)
				}
			}
			else if(iToolTipStyle==2)
			{
				var J77=maplet.QEWT7(maplet.rM_,this.id);
				if(callback)callback("&act=click&pid="+J77)
			}
		}
	}
	this.Jg2=function(g)
	{
		var maplet=document["mapbar-maplet"];
		var width=(this.rQI3!=null)?parseInt(this.rQI3.width):16;
		var height=(this.rQI3!=null)?parseInt(this.rQI3.height):16;
		var left=maplet.tC3A(this.t18,this.km9V_)-width/2;
		var top=maplet.Y86Yr(this.km9V_,this.t18)-height;
		if(this.A97&&this.V2k)
		{
			g.setColor(this.color);
			g.D61Yy(this.A97,maplet.tC3A(this.t18,this.km9V_)+width/2,maplet.Y86Yr(this.km9V_,this.t18)-12)
		}
		if(this.r1K79)
		{
			g.Ent(this.r1K79,left,top,width,height)
		}
	};
	this.paint=function(c1K0)
	{
		if(this.r1K79)
		{
			var maplet=document["mapbar-maplet"];
			{
				var width=(this.rQI3!=null)?parseInt(this.rQI3.width):16;
				var height=(this.rQI3!=null)?parseInt(this.rQI3.height):16;
				var left=maplet.tC3A(this.t18,this.km9V_)-width/2;
				var top=maplet.Y86Yr(this.km9V_,this.t18)-height;
				if(left.toString()==Number.NaN.toString()||top.toString()==Number.NaN.toString())return;
				this.rQI3.style.top=top+"px";
				this.rQI3.style.left=left+"px";
				if(top>=0&&left>=0&&top<=maplet.height&&left<=maplet.width)
				{
					if(this.rQI3.parentNode!=c1K0)
					{
						c1K0.appendChild(this.rQI3)
					}
					this.rQI3.style.visibility="visible"
				}
				else
				{
					this.rQI3.style.visibility="hidden";
					if(this.rQI3.parentNode==c1K0)
					{
						c1K0.removeChild(this.rQI3)
					}
				}
			}
		}
	};
	this.dys4=function(c1K0)
	{
		if(this.A97&&this.V2k)
		{
			var maplet=document["mapbar-maplet"];
			var width=(this.rQI3!=null)?parseInt(this.rQI3.width):16;
			var height=(this.rQI3!=null)?parseInt(this.rQI3.height):16;
			var left=maplet.tC3A(this.t18,this.km9V_)-width/2;
			var top=maplet.Y86Yr(this.km9V_,this.t18)-height;
			if(left.toString()==Number.NaN.toString()||top.toString()==Number.NaN.toString())return;
			if(top>=0&&left>=0&&top<=maplet.height&&left<=maplet.width)
			{
				this.Y126.style.left=(left+width)+"px";
				this.Y126.style.top=top+"px";
				if(this.Y126.parentNode!=c1K0)
				{
					c1K0.appendChild(this.Y126)
				}
			}
		}
	};
	this.label=function()
	{
		if(this.NTh4)
		{
		}
	};
	this.tnt2=function(b0mC)
	{
		var yX16t=-1;
		var AFG4=0;
		var ka4='';
		var $3X_3='';
		if(b0mC!=null&&parseInt(b0mC.charAt(0),36)>=33)
		{
			$3X_3=b0mC.charAt(0);
			b0mC=b0mC.substring(1)
		}
		for(var i=0;i<(b0mC.length-(c75?1:0));i++)
		{
			var OOm=parseInt(b0mC.charAt(i),36)-10;
			if(OOm>=17)OOm=OOm-7;
			ka4+=(OOm).toString(36);
			if(OOm>AFG4)
			{
				yX16t=i;
				AFG4=OOm
			}
		}
		var O4a8H=parseInt(ka4.substring(0,yX16t),16);
		var w35=parseInt(ka4.substring(yX16t+1),16);
		if("X"==$3X_3)
		{
			O4a8H=-O4a8H
		}
		if("Y"==$3X_3)
		{
			w35=-w35
		}
		var V85=new Array();
		V85[0]=(O4a8H+w35-parseInt(strLicenseKey))/2;
		V85[1]=(w35-V85[0])/100000.0;
		V85[0]/=100000.0;
		if(V85[0]>180)V85[0]-=360;
		return V85
	};
	this.$447=function(t18,km9V_)
	{
		if(typeof t18!="undefined"&&typeof km9V_!="undefined")
		{
			this.km9V_=parseFloat(km9V_);
			this.t18=parseFloat(t18)
		}
		var V85='';
		var vHvi=parseInt(parseFloat(Math.max(-90,Math.min(90,this.km9V_)))*100000);
		var qE7_3=parseInt(parseFloat((this.t18<0)?(this.t18+360):this.t18)*100000);
		var d128=qE7_3-vHvi+parseInt(strLicenseKey);
		var l47=qE7_3+vHvi;
		if(d128<0)
		{
			V85='X';
			d128=-d128
		}
		if(l47<0)
		{
			V85='Y';
			l47=-l47
		}
		var $q46=(d128).toString(16);
		var i32=(l47).toString(16);
		for(var i=0;i<$q46.length;i++)
		{
			var c_r=parseInt($q46.charAt(i),16);
			V85+=(((c_r>=10)?(c_r+7):c_r)+10).toString(36)
		}
		V85+='z';
		for(var i=0;i<i32.length;i++)
		{
			var c_r=parseInt(i32.charAt(i),16);
			V85+=(((c_r>=10)?(c_r+7):c_r)+10).toString(36)
		}
		if(c75)
		{
			V85+=V85.charAt(c75)
		}
		return V85.toUpperCase()
	}
};
function m2Cd(id,RX9,G6f2,D012E,p933,X5di,s87P4)
{
	this.RX9=(RX9==null)?new Array():RX9;
	this.G6f2=(G6f2==null)?new Array():G6f2;
	this.color=(D012E==null)?"#FF0000":D012E;
	this.stroke=(p933==0)?1:p933;
	this.style=X5di;
	this.id=id;
	this.s87P4=(s87P4=="undefined"||s87P4==null)?"false":s87P4;
	this.A97='';
	this.V2k=false;
	this.NTh4='';
	this.maplet=null;
	this.tnt2=function(b0mC)
	{
		var V9r=b0mC.split(',');
		var abP=0;
		for(var i=0;i<V9r.length;i++)
		{
			if(V9r[i]!=null&&V9r[i].length>0)
			{
				var pt=E97.tnt2(V9r[i]);
				this.G6f2[abP]=parseFloat(pt[0]);
				this.RX9[abP]=parseFloat(pt[1]);
				abP++
			}
		}
	};
	this.$447=function()
	{
		var v3j0=(this.s87P4==true||this.s87P4=="true")?"2":"0";
		var b0mC=this.stroke+","+v3j0+","+this.color+":";
		for(var i=0;i<this.RX9.length;i++)
		{
			E97.km9V_=parseFloat(this.RX9[i]);
			E97.t18=parseFloat(this.G6f2[i]);
			b0mC+=E97.$447()+","
		}
		return b0mC
	};
	this.G0q=function(title,content)
	{
		this.A97=title;
		this.NTh4=content;
		if(this.V2k)
		{
			if(typeof this.Y126!="undefined")
			{
				var c1K0=this.Y126.parentNode;
				if(c1K0!=null)
				{
					c1K0.removeChild(this.Y126)
				}
				var left=parseInt(this.Y126.style.left);
				var top=parseInt(this.Y126.style.top);
				this.Y126=X9$Jl(this.A97,this.color);
				this.Y126.style.left=left+"px";
				this.Y126.style.top=top+"px";
				if(c1K0!=null)
				{
					c1K0.appendChild(this.Y126)
				}
			}
			else
			{
				this.Y126=X9$Jl(this.A97,this.color)
			}
		}
	};
	this.Jg2=function(g)
	{
		var oc_xu=new Array();
		var d4cx0=new Array();
		var M93v=0;
		var Hk$54=10;
		for(var i=0;i<this.RX9.length;i++)
		{
			if(this.RX9[i].toString()!=Number.NaN.toString())
			{
				d4cx0[M93v]=this.maplet.Y86Yr(this.RX9[i],this.G6f2[i]);
				if(this.G6f2[i].toString()!=Number.NaN.toString())
				{
					oc_xu[M93v]=this.maplet.tC3A(this.G6f2[i],this.RX9[i]);
					if(M93v>0&&(Math.abs(oc_xu[M93v]-oc_xu[M93v-1])+Math.abs(d4cx0[M93v]-d4cx0[M93v-1]))>Hk$54)
					{
						M93v ++
					}
				}
			}
			if(M93v==0)M93v++
		}
		if(this.color)g.setColor(this.color);
		if(this.stroke)g.setStroke(this.stroke);
		g.drawPolyline(oc_xu,d4cx0,this.style);
		g.paint()
	};
	this.paint=function(c1K0)
	{
		this.d3Q2f=document.createElement("div");
		this.d3Q2f.maplet=this.maplet;
		this.d3Q2f.id=this.id;
		this.d3Q2f.unselectable="on";
		this.d3Q2f.style.zIndex=10;
		this.d3Q2f.style.position="absolute";
		this.I491N=document.createElement("v:polyline");
		this.I491N.unselectable="on";
		this.I491N.id=this.id;
		this.I491N.strokecolor=this.color;
		this.I491N.strokeweight=this.stroke+'pt';
		this.I491N.fill=false;
		this.I491N.filled=this.s87P4;
		this.I491N.style.position="absolute";
		this.LlX=document.createElement("v:stroke");
		this.LlX.opacity=(transparencyLevel/100);
		this.LlX.joinstyle="round";
		this.LlX.endcap="round";
		this.LlX.fill="false";
		if(bArrow)
		{
			this.LlX.endarrow="classic"
		}
		this.o4b0c=document.createElement("v:fill");
		this.o4b0c.opacity=((transparencyLevel/2)/100);
		this.o4b0c.color=this.color;
		this.I491N.appendChild(this.LlX);
		this.I491N.appendChild(this.o4b0c);
		this.d3Q2f.appendChild(this.I491N);
		this.Q44();
		if(this.A97&&this.V2k&&this.RX9.length>=2)
		{
			var y55A7=0;
			var f010=0;
			for(var i=1;i<this.RX9.length;i++)
			{
				if(this.RX9[i].toString()!=Number.NaN.toString())f010=this.maplet.Y86Yr(this.RX9[i],this.G6f2[i]);
				if(this.G6f2[i].toString()!=Number.NaN.toString())y55A7=this.maplet.tC3A(this.G6f2[i],this.RX9[i]);
				if(y55A7>=0&&f010>=0&&f010<=this.maplet.height&&y55A7<=this.maplet.width)
				{
					this.Y126.style.left=y55A7+"px";
					this.Y126.style.top=f010+"px";
					if(this.Y126.parentNode!=this.d3Q2f)
					{
						this.d3Q2f.appendChild(this.Y126)
					}
					break
				}
			}
		}
		this.d3Q2f.style.visibility="visible";
		if(c1K0!=null)
		{
			c1K0.appendChild(this.d3Q2f)
		}
		this.d3Q2f.onmouseover=function(hXA)
		{
			if(this.maplet.dCq==eY1L.XtH0||this.maplet.dCq==eY1L.Q3R9$||this.maplet.dCq==eY1L.dy8)
			{
				this.style.cursor="default"
			}
			else
			{
				this.style.cursor=(go2Or)?"hand":"pointer"
			}
		};
		this.d3Q2f.onclick=function(hXA)
		{
			var J77=this.maplet.QEWT7(this.maplet.a2xn2,this.id);
			if(J77>=0)
			{
				if(this.maplet.dCq==eY1L.d__2)
				{
					var JLr7=this.maplet.a2xn2[J77];
					var u354m=true;
					var M93v=0;
					if(JLr7.RX9.length>2)
					{
						u354m=false;
						var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.maplet.left-this.maplet.offsetX;
						var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.maplet.top-this.maplet.offsetY;
						var y4t2a=0;
						var m1Ra2=0;
						var k9d=0;
						var Av6=0;
						for(var i=JLr7.RX9.length-1;i>0;i--)
						{
							if(JLr7.RX9[i].toString()!=Number.NaN.toString())
							{
								k9d=this.maplet.Y86Yr(JLr7.RX9[i],JLr7.G6f2[i]);
								if(JLr7.G6f2[i].toString()!=Number.NaN.toString())
								{
									Av6=this.maplet.tC3A(JLr7.G6f2[i],JLr7.RX9[i]);
									if(M93v>0)
									{
										var na04C=k9d-y4t2a;
										var i6dDL=Av6-m1Ra2;
										if(Math.abs(i6dDL)>Math.abs(na04C))
										{
											var FD2=na04C/i6dDL*(mJ3H-m1Ra2)+y4t2a;
											if(Math.abs(FD2-T8FG5)<16)
											{
												if(i==0)u354m=true;
												break
											}
										}
										else if(Math.abs(na04C)>0)
										{
											var B_H=i6dDL/na04C*(T8FG5-y4t2a)+m1Ra2;
											if(Math.abs(B_H-mJ3H)<16)
											{
												if(i==0)u354m=true;
												break
											}
										}
									}
									m1Ra2=Av6;
									y4t2a=k9d;
									M93v++
								}
							}
						}
					}
					if(u354m||(JLr7.RX9.length-M93v)<2)
					{
						this.onclick=null;
						this.maplet.removeLineAt(J77);
						this.maplet.refresh();
						if(callback)callback("&act=del&lid="+J77)
					}
					else
					{
						for(var i=0;i<M93v;i++)
						{
							JLr7.RX9[JLr7.RX9.length-i-1]=null;
							JLr7.G6f2[JLr7.G6f2.length-i-1]=null
						}
						JLr7.RX9.length=JLr7.RX9.length-M93v;
						JLr7.G6f2.length=JLr7.G6f2.length-M93v;
						this.maplet.refresh();
						if(callback)callback("&act=update&lid="+J77+"&pline="+JLr7.$447())
					}
				}
				else if(this.maplet.dCq==eY1L.qUW5||this.maplet.dCq==eY1L.V086D)
				{
					if(iToolTipStyle==2)
					{
						if(callback)callback("&act=click&lid="+J77)
					}
					else if(this.maplet.a2xn2[J77].A97!=null&&this.maplet.a2xn2[J77].A97.length>0)
					{
						var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.maplet.left-this.maplet.offsetX;
						var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.maplet.top-this.maplet.offsetY+8;
						this.maplet.y6cuf(mJ3H,T8FG5,this.maplet.a2xn2[J77].A97,this.maplet.a2xn2[J77].NTh4)
					}
				}
				else
				{
					this.maplet.V21(hXA)
				}
			}
		}
	};
	this.Q44=function()
	{
		var oc_xu=new Array();
		var d4cx0=new Array();
		var M93v=0;
		var Hk$54=10;
		if(this.RX9==null||this.RX9.length<2)return;
		var Gnv$=false;
		var L7f=this.maplet.width;
		var Y05=this.maplet.height;
		for(var i=0;i<this.RX9.length;i+=1)
		{
			if(this.RX9[i].toString()!=Number.NaN.toString())
			{
				d4cx0[M93v]=this.maplet.Y86Yr(this.RX9[i],this.G6f2[i]);
				if(this.G6f2[i].toString()!=Number.NaN.toString())
				{
					oc_xu[M93v]=this.maplet.tC3A(this.G6f2[i],this.RX9[i]);
					if(L7f>oc_xu[M93v])L7f=oc_xu[M93v];
					if(Y05>d4cx0[M93v])Y05=d4cx0[M93v];
					if(!Gnv$&&(d4cx0[M93v]<0||d4cx0[M93v]>this.maplet.height||oc_xu[M93v]<0||oc_xu[M93v]>this.maplet.width))
					{
						Gnv$=true
					}
					if(M93v>0&&(Math.abs(oc_xu[M93v]-oc_xu[M93v-1])+Math.abs(d4cx0[M93v]-d4cx0[M93v-1]))>Hk$54)
					{
						M93v ++
					}
					if(M93v==0)M93v++
				}
			}
		}
		if(Gnv$)
		{
			var fg9=new Array();
			var h7F93=new Array();
			M93v=0;
			for(var i=1;i<oc_xu.length;i++)
			{
				if((d4cx0[i]<-this.maplet.height&&d4cx0[i-1]<-this.maplet.height)||(d4cx0[i]>this.maplet.height*2&&d4cx0[i-1]>this.maplet.height*2)||(oc_xu[i]>this.maplet.width*2&&oc_xu[i-1]>this.maplet.width*2)||(oc_xu[i]<-this.maplet.width&&oc_xu[i-1]<-this.maplet.width))
				{
					continue
				}
				if(fg9.length==0||(fg9[M93v]!=oc_xu[i-1]&&h7F93[M93v]!=d4cx0[i-1]))
				{
					fg9[M93v]=oc_xu[i-1];
					h7F93[M93v]=d4cx0[i-1];
					M93v++
				}
				fg9[M93v]=oc_xu[i];
				h7F93[M93v]=d4cx0[i];
				M93v++
			}
			oc_xu=fg9;
			d4cx0=h7F93;
			fg9=null;
			h7F93=null
		}
		var w4Vy1='';
		for(var i=0;i<oc_xu.length;i++ )
		{
			if(i>0)w4Vy1+=',';
			w4Vy1+=(parseInt(oc_xu[i])+','+parseInt(d4cx0[i]))
		}
		if(bmc)
		{
			this.I491N.style.left=parseInt(L7f)+"px";
			this.I491N.style.top=parseInt(Y05)+"px"
		}
		if(this.I491N)
		{
			if(this.I491N.points)
			{
				this.I491N.points.value=w4Vy1
			}
			else
			{
				this.I491N.points=w4Vy1
			}
		}
	};
	this.y6cuf=function()
	{
		var J77=this.maplet.QEWT7(this.maplet.a2xn2,this.id);
		if(this.maplet.a2xn2[J77].A97!=null&&this.maplet.a2xn2[J77].A97.length>0&&this.RX9.length>=2)
		{
			var y55A7=0;
			var f010=0;
			for(var i=1;i<this.RX9.length;i++)
			{
				if(this.RX9[i].toString()!=Number.NaN.toString())f010=this.maplet.Y86Yr(this.RX9[i],this.G6f2[i]);
				if(this.G6f2[i].toString()!=Number.NaN.toString())y55A7=this.maplet.tC3A(this.G6f2[i],this.RX9[i]);
				if(y55A7>=0&&f010>=0&&f010<=this.maplet.height&&y55A7<=this.maplet.width)
				{
					this.maplet.y6cuf(y55A7,f010+8,this.maplet.a2xn2[J77].A97,this.maplet.a2xn2[J77].NTh4);
					break
				}
			}
		}
	}
};
var P272b=null;
var Nv$p=new Array();
function $96G7()
{
	this.tH9=null;
	this.P3sag=null;
	this.jWC=function()
	{
	};
	this.setOrigin=function(_B4j,Y11)
	{
		this.tH9=new G$XEH("orig",strImgsvrUrl+'images/icon_orig.gif',strImgsvrUrl+'images/icon_orig.gif',_B4j,Y11,$9n7('%u8D79%uFE30'),'');
		this.jWC()
	};
	this.setDestination=function(_B4j,Y11)
	{
		this.P3sag=new G$XEH("dest",strImgsvrUrl+'images/icon_dest.gif',strImgsvrUrl+'images/icon_dest.gif',_B4j,Y11,$9n7('%u7ECA%uEF81'),'');
		this.jWC()
	};
	this.Jg2=function(g)
	{
		if(this.tH9)
		{
			this.tH9.Jg2(g)
		}
		if(this.P3sag)
		{
			this.P3sag.Jg2(g)
		}
		if(P272b&&Nv$p.length>0)
		{
			var oc_xu=new Array();
			var d4cx0=new Array();
			var $6_=this.tH9.km9V_;
			var lR614=this.tH9.t18;
			oc_xu[0]=maplet.tC3A(lR614,$6_);
			d4cx0[0]=maplet.Y86Yr($6_,lR614);
			var M93v=1;
			for(var i=0;i<Nv$p.length;i+=2)
			{
				$6_+=parseFloat(Nv$p[i])*0.01/250.0;
				lR614+=parseFloat(Nv$p[i+1])*0.01/250.0;
				if(lR614.toString()!=Number.NaN.toString())oc_xu[M93v]=maplet.tC3A(lR614,$6_);
				if($6_.toString()!=Number.NaN.toString())d4cx0[M93v]=maplet.Y86Yr($6_,lR614);
				if((Math.abs(oc_xu[M93v]-oc_xu[M93v-1])+Math.abs(d4cx0[M93v]-d4cx0[M93v-1]))>3)M93v ++
			}
			oc_xu[M93v]=maplet.tC3A(this.P3sag.t18,this.P3sag.km9V_);
			d4cx0[M93v]=maplet.Y86Yr(this.P3sag.km9V_,this.P3sag.t18);
			g.setColor("#CC00CC");
			g.setStroke(6);
			g.drawPolyline(oc_xu,d4cx0,0)
		}
	};
	this.clean=function()
	{
		this.tH9=null;
		this.P3sag=null;
		P272b=null
	}
};
var CRr9=new $96G7();
var E8j=new Array('W','0','1','2','3','4','5','6','7','8','9','10','11','12','15');
var x7exB=new Array(90,40,20,10,5,2,1,0.5,0.2,0.1,0.05,0.02,0.01,0.005,0.002);
var m7Q5i=new Array(90*0.8,40*0.8,20*0.8,10*0.8,5*0.8,2*0.8,1*0.8,0.5*0.8,0.2*0.8,0.1*0.8,0.05*0.8,0.02*0.8,0.01*0.8,0.005*0.8,0.002*0.8);
var nh4=new Array(10,10,10,10,10,10,10,10,10,10,50,50,50,50,50);
var c$$=new Array(0,0,0,0,0,0,0,0,75,0,0,-150,0,0,0);
var L829=13;
var $tcL$=0;
var K0133=L829;
var N29B8=$tcL$;
var tann4=100000;
var _360=105;
var W_kbQ=35;
var Oj14=new Array(-360,360);
var v3r=new Array(-90,90);
var go2Or=(document.all);
function MBound(lJ5l,l1IHs,D8FN4,qb21,v9C7,QP6)
{
	this.D8FN4=D8FN4;
	this.lJ5l=lJ5l;
	this.qb21=qb21;
	this.l1IHs=l1IHs;
	this.QP6=(typeof QP6=="undefined")?K0133:parseInt(QP6);
	this.v9C7=(typeof v9C7=="undefined")?N29B8:parseInt(v9C7);
	this.P30=function(_B4j,Y11)
	{
		if(this.D8FN4<_B4j||this.lJ5l>_B4j)return false;
		var Mfx2r=(Y11-this.l1IHs)%360;
		if(Mfx2r<0)Mfx2r+=360;
		return((this.qb21-this.l1IHs)>=Mfx2r)
	}
};
function MPoint(W67c)
{
	this.pid=(typeof getPid=="undefined")?W67c:getPid(W67c);
	this.toString=function()
	{
		return 'com.maplet.MPoint'
	}
};
function MIcon(t2345,width,height,K7su,QA8T,SA3)
{
	this.i8W96=document.createElement("div");
	this.i8W96.unselectable="on";
	this.i8W96.style.zIndex=0;
	this.i8W96.style.position="absolute";
	width=(typeof width=="undefined")?16:width;
	height=(typeof height=="undefined")?16:height;
	this.img=document.createElement("div");
	this.img.unselectable="on";
	this.img.style.f$A3="none";
	this.img.style.zIndex=0;
	this.img.style.position="absolute";
	this.img.style.cursor="hand";
	this.img.style.cursor="pointer";
	this.img.style.top="0px";
	this.img.style.left="0px";
	this.t2345=t2345;
	this.q9A2F=function(id)
	{
		this.i8W96.id="OverlayBg"+id;
		this.img.id=id
	};
	this.E_431=function(_3_q)
	{
		this.setContextMenu(_3_q.contextmenu)
	};
	this.setContextMenu=function(menu)
	{
		this.contextmenu=menu;
		this.img.contextmenu=this.contextmenu;
		for(var i in this.img.childNodes)
		{
			if(typeof this.img.childNodes[i]=="object")
			{
				this.img.childNodes[i].contextmenu=this.contextmenu
			}
		}
	};
	this.Xp543=function(p4c4d)
	{
		this.t2345=p4c4d;
		if(this.t2345!=null&&this.t2345.indexOf("<")>=0)
		{
			this.img.innerHTML=this.t2345
		}
		else
		{
			this.img.innerHTML="<img src="+this.t2345+" width="+width+" height="+height+">"
		}
	};
	this.Xp543(t2345);
	this.width=(typeof width=="undefined")?parseInt(this.img.width):parseInt(width);
	this.height=(typeof height=="undefined")?parseInt(this.img.height):parseInt(height);
	this.i8W96.style.width=this.width+"px";
	this.i8W96.style.height=this.height+"px";
	this.SA3=(typeof SA3=="undefined")?t2345:SA3;
	this.K7su=(typeof K7su=="undefined")?this.width/2:parseInt(K7su);
	this.QA8T=(typeof QA8T=="undefined")?this.height/2:parseInt(QA8T);
	this.i8W96.appendChild(this.img);
	this.img.firstChild.onmousedown=function(hXA)
	{
		return false
	};
	this.Q44=function(maplet,left,top)
	{
		var aQ$p=parseInt(left)-parseInt(this.K7su);
		var M03$5=parseInt(top)-parseInt(this.QA8T);
		if(aQ$p>maplet.width||aQ$p<-this.width||M03$5>maplet.height||M03$5<-this.height)
		{
			if(this.i8W96.parentNode)
			{
				this.i8W96.parentNode.removeChild(this.i8W96);
				this.YvLR=false
			}
		}
		else
		{
			if(this.i8W96.parentNode!=maplet.S94T)
			{
				maplet.S94T.appendChild(this.i8W96);
				this.i8W96.style.width=this.width+"px";
				this.i8W96.style.height=this.height+"px";
				this.img.width=this.width+"px";
				this.img.height=this.height+"px";
				this.i8W96.style.top=parseInt(M03$5)+"px";
				this.i8W96.style.left=parseInt(aQ$p)+"px";
				this.YvLR=true
			}
		}
	};
	this.vi3=function()
	{
		return(this.YvLR)
	};
	this.AdY=function()
	{
		return(this.img.firstChild.src)+","+this.width+","+this.height
	};
	this.$d_54=function()
	{
		if(this.i8W96)
		{
			if(this.i8W96.style.zIndex<R4U1)
			{
				R4U1++
			}
			this.i8W96.style.zIndex=R4U1
		}
	};
	this.remove=function()
	{
		if(this.i8W96&&this.i8W96.parentNode)
		{
			this.i8W96.parentNode.removeChild(this.i8W96)
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MIcon'
	}
};
function MInfoWindow(_5$M3,MDU,vkE3)
{
	this.title=_5$M3;
	this.content=MDU;
	this.vkE3=(typeof vkE3!="undefined"&&"mouseover"==vkE3.toLowerCase())?"mouseover":"click";
	this.sph32=function(x,y)
	{
		return v6028(this.title,x,y,this.content)
	};
	this.toString=function()
	{
		return 'com.maplet.MInfoWindow'
	}
};
function MLabel(A97,xoffset,yoffset)
{
	this.label=A97;
	this.xoffset=(typeof xoffset=="undefined")?8:parseInt(xoffset);
	this.yoffset=(typeof yoffset=="undefined")?-12:parseInt(yoffset);
	this.i8W96=document.createElement("div");
	this.i8W96.className="tiplabel";
	this.i8W96.unselectable="on";
	this.i8W96.style.zIndex=10;
	this.i8W96.style.position="absolute";
	this.i8W96.style.visibility="visible";
	this.i8W96.style.cursor="hand";
	this.i8W96.style.cursor="pointer";
	this.q9A2F=function(id)
	{
		this.i8W96.id="OverlayBg"+id
	};
	this.setContextMenu=function(menu)
	{
		this.contextmenu=menu;
		this.i8W96.contextmenu=menu
	};
	this.E_431=function(_3_q)
	{
		this.setContextMenu(_3_q.contextmenu)
	};
	this.Q44=function(maplet,left,top)
	{
		this.i8W96.innerHTML=this.label;
		this.i8W96.style.left=(parseInt(left)+this.xoffset)+"px";
		this.i8W96.style.top=(parseInt(top)+this.yoffset)+"px";
		if(this.i8W96.parentNode!=null)
		{
			this.i8W96.parentNode.removeChild(this.i8W96)
		}
		maplet.S94T.appendChild(this.i8W96)
	};
	this.remove=function()
	{
		if(this.i8W96&&this.i8W96.parentNode)
		{
			this.i8W96.parentNode.removeChild(this.i8W96)
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MLabel'
	}
};
var FS_V=null;
function TDu1(J$w,b8rEd)
{
	var r$48=false;
	while(J$w!=null)
	{
		if((typeof b8rEd=="string"&&J$w.id==b8rEd)||(J$w==b8rEd))
		{
			r$48=true;
			break
		}
		J$w=J$w.parentNode
	}
	return r$48
};
function MMarker(pt,icon,info,label)
{
	this.id=new Date().getTime()+""+parseInt(Math.random()*10000);
	this.pt=pt;
	this.icon=(typeof icon=="undefined")?null:icon;
	if(this.icon&&this.icon.q9A2F)
	{
		this.icon.q9A2F(this.id)
	}
	if(this.label&&this.label.q9A2F)
	{
		this.label.q9A2F(this.id)
	}
	this.info=(typeof info=="undefined")?null:info;
	this.label=(typeof label=="undefined")?null:label;
	this.dV__=0;
	this.$$c=false;
	this.Ej63=false;
	this.rotation=0;
	this.bU_46=new Array();
	this.contextmenu=null;
	this.setContextMenu=function(menu)
	{
		this.contextmenu=menu;
		if(this.icon!=null)
		{
			this.icon.setContextMenu(this.contextmenu)
		}
		if(this.label!=null)
		{
			this.label.setContextMenu(this.contextmenu)
		}
	};
	this.q9A2F=function(id)
	{
		this.id=id;
		if(this.icon&&this.icon.q9A2F)
		{
			this.icon.q9A2F(id)
		}
	};
	this.setEditable=function(MOA6)
	{
		this.Ej63=(typeof MOA6=="undefined")?false:MOA6
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		{
			this.bU_46["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.tY2_);
			this.bU_46["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.F371);
			this.bU_46["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.PjD9A);
			this.bU_46["mouseover"]=MEvent.bindDom(this.maplet.map,"mouseover",this,this.f66);
			this.bU_46["mouseout"]=MEvent.bindDom(this.maplet.map,"mouseout",this,this.B4H);
			
		}
		if(this.icon!=null)
		{
			this.icon.E_431(this)
		}
		if(this.label!=null)
		{
			this.label.E_431(this)
		}
		{
			if(this.info!=null)
			{
				this.bU_46["info_"+this.info.vkE3]=MEvent.bindDom(this.maplet.map,this.info.vkE3,this,this.openInfoWindow)
			}
			else
			{
				this.bU_46["click"]=MEvent.bindDom(this.maplet.map,"click",this,this.openInfoWindow)
			}
		}
		if(typeof this.maplet.S94T!="undefined")
		{
			this.paint()
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MMarker'
	};
	this.paint=function()
	{
		var mj24=E97.tnt2(this.pt.pid);
		var x=this.maplet.tC3A(mj24[0],mj24[1]);
		var y=this.maplet.Y86Yr(mj24[1],mj24[0]);
		if(this.icon)
		{
			this.icon.Q44(this.maplet,x,y)
		}
		if(this.label)
		{
			this.label.Q44(this.maplet,x,y)
		}
	};
	this.AdY=function()
	{
		return(this.icon.vi3())?"1"+","+this.pt.pid+","+this.icon.AdY():""
	};
	this.remove=function()
	{
		if(this.icon)
		{
			this.icon.remove()
		}
		if(this.label)
		{
			this.label.remove()
		}
		for(var oDe3F in this.bU_46)
		{
			MEvent.b72(this.maplet.map,oDe3F,this.bU_46[oDe3F]);
			this.bU_46[oDe3F]=null
		}
		this.maplet=null
	};
	this.openInfoWindow=function(hXA)
	{
		if(this.maplet!=null)
		{
			if((new Date().getTime()-this.dV__)<200)return;
			var mj24=E97.tnt2(this.pt.pid);
			var x=this.maplet.tC3A(mj24[0],mj24[1]);
			var y=this.maplet.Y86Yr(mj24[1],mj24[0]);
			if(typeof hXA=="undefined"||(typeof hXA=="object"&&TDu1(hXA.target,this.icon.img))||(typeof hXA=="object"&&this.label&&TDu1(hXA.target,this.label.i8W96)))
			{
				if(typeof hXA=="object"&&this.maplet.dCq!=eY1L.qUW5&&this.maplet.dCq!=eY1L.V086D)
				{
					return
				}
				if(x>this.maplet.width*2||x<-this.maplet.width||y<-this.maplet.height||y>this.maplet.height*2)
				{
					this.maplet.setCenter(this.pt.pid);
					x=this.maplet.width/2;
					y=this.maplet.height/2
				}
				this.x=x;
				this.y=y;
				if(iToolTipStyle!=2)
				{
					this.maplet.y6cuf(x,y,this.info)
				}
				MEvent.WB6(this,"click",this)
			}
			else if(hXA==true||hXA=="true")
			{
				if(x>this.maplet.width*2||x<-this.maplet.width||y<-this.maplet.height||y>this.maplet.height*2)
				{
					this.maplet.setCenter(this.pt.pid);
					x=this.maplet.width/2;
					y=this.maplet.height/2
				}
				this.maplet.y6cuf(x,y,this.info,true)
			}
		}
	};
	this.tY2_=function(hXA)
	{
		if(this.icon!=null&&this.maplet&&(this.Ej63||this.maplet.dCq==eY1L.V086D)&&TDu1(hXA.target,this.icon.img))
		{
			this.B3839=true;
			this.M42=false;
			FS_V=this.id;
			this.p3D_=(hXA.offsetX)?hXA.offsetX:parseInt(hXA.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.icon.i8W96.style.left);
			this.Fn_=(hXA.offsetY)?hXA.offsetY:parseInt(hXA.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.icon.i8W96.style.top);
			if(this.rotation==1)
			{
				var G26tw=this.p3D_-this.icon.width/2;
				var y9U0=this.Fn_-this.icon.height/2;
				var c3dWn=Math.sqrt(G26tw*G26tw+y9U0*y9U0);
				if(c3dWn>(this.icon.width/4-5))
				{
					this.M42=true;
					this.H3O42=hXA.clientX;
					this._94=hXA.clientY
				}
			}
		}
	};
	this.F371=function(hXA)
	{
		if(this.icon!=null&&this.maplet&&(this.Ej63||this.maplet.dCq==eY1L.V086D)&&(TDu1(hXA.target,this.icon.img)||FS_V==this.id))
		{
			if(this.B3839)
			{
				if(this.M42==false)
				{
					var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
					var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
					this.icon.Q44(this.maplet,x+this.icon.K7su,y+this.icon.QA8T);
					if(this.label)
					{
						this.label.Q44(this.maplet,x+this.icon.K7su,y+this.icon.QA8T)
					}
					this.dV__=new Date().getTime();
					this.$$c=true
				}
				else
				{
					var $39=parseInt(hXA.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.icon.i8W96.style.left);
					var V54=parseInt(hXA.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.icon.i8W96.style.top);
					var wAaF$=Math.atan2((V54-this.icon.height/2),$39-this.icon.width/2);
					var ow3=((90+wAaF$*180/Math.PI)+360)%360;
					MEvent.WB6(this,"rotate",ow3)
				}
			}
		}
	};
	this.PjD9A=function(hXA)
	{
		if(this.icon!=null&&this.maplet&&(this.Ej63||this.maplet.dCq==eY1L.V086D)&&this.B3839)
		{
			this.B3839=false;
			if(this.M42==false)
			{
				var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
				var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
				this.pt.pid=this.maplet.toMapCoordinate(x+this.icon.K7su,y+this.icon.QA8T);
				this.x=x;
				this.y=y
			}
			else
			{
			}
			MEvent.WB6(this,"drag",this);
			MEvent.WB6(this.maplet,"edit",this);
			if(this.$$c)
			{
				this.dV__=new Date().getTime();
				this.$$c=false
			}
		}
		if(FS_V==this.id)
		{
			FS_V=null
		}
	};
	this.f66=function(hXA)
	{
		if(this.icon!=null&&TDu1(hXA.target,this.id))
		{
			this.icon.$d_54();
			var mj24=E97.tnt2(this.pt.pid);
			var x=this.maplet.tC3A(mj24[0],mj24[1]);
			var y=this.maplet.Y86Yr(mj24[1],mj24[0]);
			this.x=x;
			this.y=y;
			MEvent.WB6(this,"mouseover",this)
		}
	};
	this.B4H=function(hXA)
	{
		if(this.icon!=null&&TDu1(hXA.target,this.id))
		{
			var mj24=E97.tnt2(this.pt.pid);
			var x=this.maplet.tC3A(mj24[0],mj24[1]);
			var y=this.maplet.Y86Yr(mj24[1],mj24[0]);
			this.x=x;
			this.y=y;
			MEvent.WB6(this,"mouseout",this)
		}
	}
};
function MPolyline(pts,brush,info,label)
{
	this.id=new Date().getTime()+""+parseInt(Math.random()*10000);
	this.pts=pts;
	this.brush=(typeof brush=="undefined")?new MBrush():brush;
	this.info=(typeof info=="undefined")?null:info;
	this.label=(typeof label=="undefined")?null:label;
	this.B3839=false;
	this.N$_3t=null;
	this.rf4k=null;
	this.a92O=new MContextMenu();
	this.S947=new MContextMenuItem('删除节点');
	this.a92O.addItem(this.S947);
	this.contextmenu=null;
	this.bU_46=new Array();
	this.Ej63=false;
	this.setEditable=function(MOA6)
	{
		this.Ej63=(typeof MOA6=="undefined")?false:MOA6
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.info)
		{
			this.bU_46["click"]=MEvent.bindDom(this.maplet.map,"click",this,this.openInfoWindow)
		}
		this.bU_46["mouseover"]=MEvent.bindDom(this.maplet.map,"mouseover",this,this.JP34E);
		this.bU_46["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.tY2_);
		this.bU_46["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.F371);
		this.bU_46["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.PjD9A);
		/*编辑线事件*/
		if(typeof this.maplet.S94T!="undefined")
		{	this.paint()
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MPolyline'
	};
	this.AdY=function()
	{
		return ""
	};
	this.paint=function()
	{
		if(!go2Or)
		{
			if(this.maplet.S94T)
			{
				this.Jg2(this.maplet.S94T.graphics);
				return
			}
		}
		this.d3Q2f=document.createElement("div");
		this.d3Q2f.r99=this;
		this.d3Q2f.id=this.id;
		this.d3Q2f.style.position="absolute";
		this.d3Q2f.unselectable="on";
		this.d3Q2f.style.zIndex=0;
		this.d3Q2f.style.cursor=(go2Or)?"hand":"pointer";
		this.d3Q2f.contextmenu=this.contextmenu;
		this.I491N=document.createElement("v:polyline");
		this.I491N.unselectable="on";
		this.I491N.id=this.id;
		this.I491N.strokecolor=this.brush.color;
		this.I491N.strokeweight=this.brush.stroke+'pt';
		this.I491N.fill=this.brush.fill;
		this.I491N.filled=this.brush.fill;
		this.I491N.style.position="absolute";
		
		this.I491N.contextmenu=this.contextmenu;
		this.LlX=document.createElement("v:stroke");
		this.LlX.opacity=(this.brush.transparency/100.0);
		this.LlX.joinstyle="round";
		this.LlX.endcap="round";
		this.LlX.fill=this.brush.fill;
		if(this.brush.arrow)
		{
			this.LlX.endarrow="classic"
		}
		if(parseInt(this.brush.style))
		{
			this.LlX.dashstyle="dash"
		}
		this.o4b0c=document.createElement("v:fill");
		this.o4b0c.opacity=((this.brush.bgtransparency)/100);
		this.o4b0c.color=this.brush.bgcolor;
		this.rf4k=document.createElement("div");
		this.rf4k.r99=this;
		this.rf4k.id=this.id;
		this.rf4k.style.position="absolute";
		this.rf4k.style.visibility="hidden";
		this.rf4k.unselectable="on";
		this.rf4k.style.zIndex=1;
		this.rf4k.style.cursor=(go2Or)?"hand":"pointer";
		this.I491N.appendChild(this.LlX);
		this.I491N.appendChild(this.o4b0c);
		this.d3Q2f.appendChild(this.I491N);
		this.d3Q2f.appendChild(this.rf4k);
		this.Q44();
		this.d3Q2f.style.visibility="visible";
		if(this.maplet!=null&&this.maplet.S94T!=null)
		{
			this.maplet.S94T.appendChild(this.d3Q2f)
		}
	};
	this.setContextMenu=function(menu)
	{
		this.contextmenu=menu;
		if(this.d3Q2f)this.d3Q2f.contextmenu=this.contextmenu;
		if(this.I491N)this.I491N.contextmenu=this.contextmenu
		
	};
	this.Q44=function()
	{
		this.cuc=new Array();
		this.oc_xu=new Array();
		this.d4cx0=new Array();
		var M93v=0;
		var Hk$54=10;
		if(this.pts==null||this.pts.length<2)return;
		var Gnv$=false;
		var L7f=this.maplet.width;
		var Y05=this.maplet.height;
		for(var i=0;i<this.pts.length;i++)
		{
			var mj24=E97.tnt2(this.pts[i].pid);
			if(mj24[1].toString()!=Number.NaN.toString())
			{
				this.d4cx0[M93v]=this.maplet.Y86Yr(mj24[1],mj24[0]);
				if(mj24[0].toString()!=Number.NaN.toString())
				{
					this.oc_xu[M93v]=this.maplet.tC3A(mj24[0],mj24[1]);
					this.cuc[M93v]=i;
					if(L7f>this.oc_xu[M93v])L7f=this.oc_xu[M93v];
					if(Y05>this.d4cx0[M93v])Y05=this.d4cx0[M93v];
					if(!Gnv$&&(this.d4cx0[M93v]<0||this.d4cx0[M93v]>this.maplet.height||this.oc_xu[M93v]<0||this.oc_xu[M93v]>this.maplet.width))
					{
						Gnv$=true
					}
					if(M93v>0&&(Math.abs(this.oc_xu[M93v]-this.oc_xu[M93v-1])+Math.abs(this.d4cx0[M93v]-this.d4cx0[M93v-1]))>Hk$54)
					{
						M93v ++
					}
					if(M93v==0)M93v++
				}
			}
		}
		if(!(this.Ej63||this.maplet.dCq==eY1L.V086D)&&Gnv$)
		{
			var fg9=new Array();
			var h7F93=new Array();
			var $3IjE=new Array();
			M93v=0;
			for(var i=1;i<this.oc_xu.length;i++)
			{
				if((this.d4cx0[i]<-this.maplet.height&&this.d4cx0[i-1]<-this.maplet.height)||(this.d4cx0[i]>this.maplet.height*2&&this.d4cx0[i-1]>this.maplet.height*2)||(this.oc_xu[i]>this.maplet.width*2&&this.oc_xu[i-1]>this.maplet.width*2)||(this.oc_xu[i]<-this.maplet.width&&this.oc_xu[i-1]<-this.maplet.width))
				{
					continue
				}
				if(fg9.length==0||(fg9[M93v]!=this.oc_xu[i-1]&&h7F93[M93v]!=this.d4cx0[i-1]))
				{
					fg9[M93v]=this.oc_xu[i-1];
					h7F93[M93v]=this.d4cx0[i-1];
					$3IjE[M93v]=this.cuc[i-1];
					M93v++
				}
				fg9[M93v]=this.oc_xu[i];
				h7F93[M93v]=this.d4cx0[i];
				$3IjE[M93v]=this.cuc[i];
				M93v++
			}
			this.oc_xu=fg9;
			this.d4cx0=h7F93;
			this.cuc=$3IjE;
			fg9=null;
			h7F93=null;
			$3IjE=null
		}
		var w4Vy1='';
		for(var i=0;i<this.oc_xu.length;i++ )
		{
			if(i>0)w4Vy1+=',';
			w4Vy1+=(parseInt(this.oc_xu[i])+','+parseInt(this.d4cx0[i]));
			if(this.Ej63||this.maplet.dCq==eY1L.V086D)
			{
				var v3L=document.getElementById(this.id+"_node_"+i);
				
				if(v3L==null)
				{
					v3L=new Image();
					v3L.id=this.id+"_node_"+i;
					v3L.wX93=i;
					v3L.f21=this;
					v3L.ke850=this.cuc[i];
					v3L.src=Tf6;
					v3L.unselectable="on";
					v3L.alt=C5A;
					v3L.style.position="absolute";
					v3L.style.filter="alpha(opacity=80);";
					v3L.contextmenu=this.a92O;
				}
				v3L.style.left=(parseInt(this.oc_xu[i])-5)+"px";
				v3L.style.top=(parseInt(this.d4cx0[i])-5)+"px";
				this.rf4k.appendChild(v3L);
				if(i>0)
				{
					var tD929=document.getElementById(this.id+"_midnode_"+i);
					if(tD929==null)
					{
						tD929=new Image();
						tD929.id=this.id+"_midnode_"+i;
						tD929.wX93=i;
						tD929.ke850=this.cuc[i];
						tD929.unselectable="on";
						tD929.src=Tf6;
						tD929.alt=C5A;
						tD929.style.position="absolute";
						tD929.style.filter="alpha(opacity=60);"
					}
					tD929.style.left=((parseInt(this.oc_xu[i])+parseInt(this.oc_xu[i-1]))/2-5)+"px";
					tD929.style.top=((parseInt(this.d4cx0[i])+parseInt(this.d4cx0[i-1]))/2-5)+"px";
					this.rf4k.appendChild(tD929)
				}
			}
		}
		if(bmc)
		{
			this.I491N.style.left=parseInt(L7f)+"px";
			this.I491N.style.top=parseInt(Y05)+"px"
		}
		if(this.I491N)
		{
			if(this.I491N.points)
			{
				this.I491N.points.value=w4Vy1
			}
			else
			{
				this.I491N.points=w4Vy1
			}
		}
	};
	this.Jg2=function(g)
	{
		this.graphics=g;
		this.oc_xu=new Array();
		this.d4cx0=new Array();
		var M93v=0;
		var Hk$54=10;
		for(var i=0;i<this.pts.length;i++)
		{
			var mj24=E97.tnt2(this.pts[i].pid);
			if(mj24[1].toString()!=Number.NaN.toString())
			{
				this.d4cx0[M93v]=this.maplet.Y86Yr(mj24[1],mj24[0]);
				if(mj24[0].toString()!=Number.NaN.toString())
				{
					this.oc_xu[M93v]=this.maplet.tC3A(mj24[0],mj24[1]);
					if(M93v>0&&(Math.abs(this.oc_xu[M93v]-this.oc_xu[M93v-1])+Math.abs(this.d4cx0[M93v]-this.d4cx0[M93v-1]))>Hk$54)
					{
						M93v ++
					}
				}
			}
			if(M93v==0)M93v++
		}
		if(this.brush.color)g.setColor(this.brush.color);
		if(this.brush.stroke)g.setStroke(this.brush.stroke);
		if(this.brush.fill)
		{
			g.mBm4p(this.oc_xu,this.d4cx0)
		}
		else
		{
			g.drawPolyline(this.oc_xu,this.d4cx0,this.brush.style)
		}
		g.paint()
	};
	this.remove=function()
	{
		if(typeof this.d3Q2f!="undefined"&&this.d3Q2f.parentNode)
		{
			this.d3Q2f.parentNode.removeChild(this.d3Q2f)
		}
		if(typeof this.graphics!="undefined")
		{
			this.graphics.clear()
		}
		for(var oDe3F in this.bU_46)
		{
			MEvent.b72(this.maplet.map,oDe3F,this.bU_46[oDe3F]);
			this.bU_46[oDe3F]=null
		}
		this.maplet=null
	};
	this.openInfoWindow=function(hXA)
	{ 
		if(this.maplet)
		{
			if(this.maplet.dCq!=eY1L.qUW5&&this.maplet.dCq!=eY1L.V086D)
			{
				return
			}
			if(typeof hXA=="undefined")
			{
				if(this.info!=null&&this.pts.length>=2)
				{
					var y55A7=0;
					var f010=0;
					for(var i=1;i<this.pts.length;i++)
					{
						var mj24=E97.tnt2(this.pts[i].pid);
						f010=this.maplet.Y86Yr(mj24[1],mj24[0]);
						y55A7=this.maplet.tC3A(mj24[0],mj24[1]);
						if(y55A7>this.maplet.width*2||y55A7<-this.maplet.width||f010<-this.maplet.height||f010>this.maplet.height*2)
						{
							this.maplet.setCenter(this.pts[i].pid);
							y55A7=this.maplet.width/2;
							f010=this.maplet.height/2
						}
						else
						{
							if(iToolTipStyle==2)
							{
								this.x=y55A7;
								this.y=f010;
								MEvent.WB6(this,"click",this)
							}
							else
							{
								this.maplet.y6cuf(y55A7,f010,this.info.title,this.info.content)
							}
							break
						}
						{
						}
					}
				}
			}
			else if(hXA.target.id==this.id)
			{
				var x=hXA.clientX-this.maplet.offsetX-this.maplet.left;
				var y=hXA.clientY-this.maplet.offsetY-this.maplet.top+6;
				if(iToolTipStyle==2)
				{
					this.x=x;
					this.y=y;
					MEvent.WB6(this,"click",this)
				}
				else
				{
					this.maplet.y6cuf(x,y,this.info.title,this.info.content)
				}
			}
		}
	};
	this.R35Lx=function(q2U)
	{
		if(this.rf4k!=null)
		{
			if(q2U)
			{
				this.rf4k.style.visibility="visible"
			}
			else
			{
				this.rf4k.style.visibility="hidden"
			}
		}
	};
	this.JP34E=function(hXA)
	{
		if(this.Ej63||this.maplet.dCq==eY1L.V086D)
		{
			if(this.d3Q2f!=null&&this.maplet&&TDu1(hXA.target,this.d3Q2f))
			{
				this.LlX.opacity=1;
				this.R35Lx(true)
			}
			else
			{
				this.LlX.opacity=(this.brush.transparency/100.0);
				this.R35Lx(false)
			}
		}
	};
	this.tY2_=function(hXA)
	{
		if(this.d3Q2f!=null&&this.maplet&&go2Or&&hXA.button==1&&(this.Ej63||this.maplet.dCq==eY1L.V086D)&&TDu1(hXA.target,this.d3Q2f)&&hXA.target.id.indexOf("node")>0)
		{
			this.B3839=true;
			FS_V=hXA.target.id;
			this.p3D_=(hXA.offsetX)?hXA.offsetX:parseInt(hXA.clientX-this.maplet.offsetX-this.maplet.left);
			this.Fn_=(hXA.offsetY)?hXA.offsetY:parseInt(hXA.clientY-this.maplet.offsetY-this.maplet.top);
			QAK=hXA.target;
			if(this.N$_3t==null)
			{
				this.N$_3t=document.createElement("v:polyline");
				this.N$_3t.unselectable="on";
				this.N$_3t.id=this.id;
				this.N$_3t.strokecolor=this.brush.color;
				this.N$_3t.strokeweight=this.brush.stroke+'pt';
				this.N$_3t.fill=this.brush.fill;
				this.N$_3t.filled=this.brush.fill;
				this.N$_3t.style.position="absolute";
				var w789=document.createElement("v:stroke");
				w789.opacity=1;
				w789.joinstyle="round";
				w789.endcap="round";
				w789.fill=this.brush.fill;
				w789.dashstyle="dash";
				var c920=document.createElement("v:fill");
				c920.opacity=((this.brush.bgtransparency)/100);
				c920.color=this.brush.bgcolor;
				this.N$_3t.appendChild(w789);
				this.N$_3t.appendChild(c920)
			}
			if(go2Or&&this.N$_3t.parentNode!=this.d3Q2f)
			{
				this.d3Q2f.appendChild(this.N$_3t)
			}
		}
	};
	this.F371=function(hXA)
	{
		if(QAK!=null&&go2Or&&(this.Ej63||this.maplet.dCq==eY1L.V086D)&&QAK.id.indexOf("node")>0&&this.B3839)
		{
			if(QAK!=null)
			{
				var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
				var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
				QAK.style.left=(parseInt(x));
				QAK.style.top=(parseInt(y));
				this.dV__=new Date().getTime();
				this.$$c=true;
				var S10E=parseInt(QAK.wX93);
				if(QAK.id.indexOf("_midnode_")>0)
				{
					var w4Vy1=(parseInt(this.oc_xu[S10E-1])+','+parseInt(this.d4cx0[S10E-1]));
					w4Vy1+=','+(x+5)+','+(y+5);
					w4Vy1+=','+(parseInt(this.oc_xu[S10E])+','+parseInt(this.d4cx0[S10E]));
					if(this.N$_3t!=null)
					{
						if(this.N$_3t.points)
						{
							this.N$_3t.points.value=w4Vy1
						}
						else
						{
							this.N$_3t.points=w4Vy1
						}
					}
				}
				else
				{
					var w4Vy1='';
					if(S10E>0)
					{
						w4Vy1+=(parseInt(this.oc_xu[S10E-1])+','+parseInt(this.d4cx0[S10E-1]))+','
					}
					w4Vy1+=(x+5)+','+(y+5);
					if(S10E<this.oc_xu.length-1)
					{
						w4Vy1+=','+(parseInt(this.oc_xu[S10E+1])+','+parseInt(this.d4cx0[S10E+1]))
					}
					if(this.N$_3t!=null)
					{
						if(this.N$_3t.points)
						{
							this.N$_3t.points.value=w4Vy1
						}
						else
						{
							this.N$_3t.points=w4Vy1
						}
					}
				}
			}
		}
	};
	this.PjD9A=function(hXA)
	{
		if(this.d3Q2f!=null&&this.maplet&&go2Or&&(this.Ej63||this.maplet.dCq==eY1L.V086D)&&this.B3839)
		{
			if(QAK!=null)
			{
				var x=parseInt(hXA.clientX)-parseInt(this.maplet.offsetX)-parseInt(this.maplet.left)-this.p3D_;
				var y=parseInt(hXA.clientY)-parseInt(this.maplet.offsetY)-parseInt(this.maplet.top)-this.Fn_;
				var S10E=parseInt(QAK.ke850);
				var Lym1=this.maplet.toMapCoordinate(x+5,y+5);
				if(QAK.id.indexOf("_midnode_")>0)
				{
					this.pts.splice(S10E,0,new MPoint(Lym1))
				}
				else
				{
					this.pts.splice(S10E,1,new MPoint(Lym1))
				}
			}
			this.B3839=false;
			MEvent.WB6(this,"drag",this);
			MEvent.WB6(this.maplet,"edit",this);
			if(this.$$c)
			{
				this.dV__=new Date().getTime();
				this.$$c=false
			}
			if(this.N$_3t.parentNode!=null)
			{
				this.N$_3t.parentNode.removeChild(this.N$_3t);
				this.N$_3t=null
			}
			this.Q44()
		}
		if(FS_V==this.id)
		{
			FS_V=null
		}
	};
	this.removeNode=function(wX93)
	{
		if(typeof wX93!="undefined")
		{
			if(wX93.toString().indexOf(this.id)>=0&&wX93.toString().lastIndexOf("_")>=0)
			{
				wX93=wX93.toString().substring(wX93.toString().lastIndexOf("_")+1)
			}
			wX93=parseInt(wX93);
			if(!isNaN(wX93)&&wX93<this.pts.length)
			{
				this.pts.splice(wX93,1);
				MEvent.WB6(this,"edit",this);
				MEvent.WB6(this.maplet,"edit",this);
				if(typeof this.rf4k!="undefined"&&this.rf4k!=null)
				{
					for(var J$w in this.rf4k)
					{
						if(typeof J$w=="object")
						{
							this.rf4k.removeChild(J$w)
						}
					}
				}
				if(this.N$_3t!=null&&this.N$_3t.parentNode!=null)
				{
					this.N$_3t.parentNode.removeChild(this.N$_3t);
					this.N$_3t=null
				}
				this.maplet.refresh()
			}
		}
	};
	MEvent.bind(this.S947,"select",this,this.removeNode)
};
function MArc(GsqR8,$7On9,T49,aBb1,s_Y,brush,info,label)
{
	this.id=new Date().getTime()+""+parseInt(Math.random()*10000);
	this.pt=GsqR8;
	this.$7On9=parseFloat($7On9);
	this.T49=parseFloat(T49);
	this.Kk0=parseInt(aBb1);
	this.KxCpA=parseInt(s_Y);
	this.brush=(typeof brush=="undefined")?new MBrush():brush;
	this.info=(typeof info=="undefined")?null:info;
	this.label=(typeof label=="undefined")?null:label;
	this.B3839=false;
	this.rf4k=null;
	this.bU_46=new Array();
	this.Ej63=false;
	this.setEditable=function(MOA6)
	{
		this.Ej63=(typeof MOA6=="undefined")?false:MOA6
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.info)
		{
			this.bU_46["click"]=MEvent.bindDom(this.maplet.map,"click",this,this.openInfoWindow)
		}
		this.bU_46["mouseover"]=MEvent.bindDom(this.maplet.map,"mouseover",this,this.JP34E);
		this.bU_46["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.tY2_);
		this.bU_46["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.F371);
		this.bU_46["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.PjD9A);
		
		if(typeof this.maplet.S94T!="undefined")
		{
			this.paint()
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MArc'
	};
	this.AdY=function()
	{
		return ""
	};
	this.paint=function()
	{
		if(!go2Or)
		{
			return
		}
		this.d3Q2f=document.createElement("div");
		this.d3Q2f.r99=this;
		this.d3Q2f.id=this.id;
		this.d3Q2f.style.position="absolute";
		this.d3Q2f.unselectable="on";
		this.d3Q2f.style.zIndex=10;
		this.d3Q2f.style.cursor=(go2Or)?"hand":"pointer";
		this.y2a=document.createElement("v:arc");
		this.y2a.unselectable="on";
		this.y2a.id=this.id;
		this.y2a.strokecolor=this.brush.color;
		this.y2a.strokeweight=this.brush.stroke+'pt';
		this.y2a.fill=this.brush.fill;
		this.y2a.filled=this.brush.fill;
		this.y2a.style.position="absolute";
		this.LlX=document.createElement("v:stroke");
		this.LlX.opacity=(this.brush.transparency/100.0);
		this.LlX.joinstyle="round";
		this.LlX.endcap="round";
		this.LlX.fill=this.brush.fill;
		if(this.brush.arrow)
		{
			this.LlX.endarrow="classic"
		}
		if(parseInt(this.brush.style))
		{
			this.LlX.dashstyle="dash"
		}
		this.o4b0c=document.createElement("v:fill");
		this.o4b0c.opacity=((this.brush.bgtransparency)/100);
		this.o4b0c.color=this.brush.bgcolor;
		this.rf4k=document.createElement("div");
		this.rf4k.r99=this;
		this.rf4k.id=this.id;
		this.rf4k.style.position="absolute";
		this.rf4k.style.visibility="hidden";
		this.rf4k.unselectable="on";
		this.rf4k.style.zIndex=11;
		this.rf4k.style.cursor=(go2Or)?"hand":"pointer";
		this.y2a.appendChild(this.LlX);
		this.y2a.appendChild(this.o4b0c);
		this.d3Q2f.appendChild(this.y2a);
		this.d3Q2f.appendChild(this.rf4k);
		this.Q44();
		this.d3Q2f.style.visibility="visible";
		if(this.maplet!=null&&this.maplet.S94T!=null)
		{
			this.maplet.S94T.appendChild(this.d3Q2f)
		}
	};
	this.Q44=function()
	{
		if(this.pt.pid==null)return;
		var mj24=E97.tnt2(this.pt.pid);
		var top=this.maplet.Y86Yr(mj24[1]+this.T49/2,mj24[0]);
		var left=this.maplet.tC3A(mj24[0]-this.$7On9/2,mj24[1]);
		var bottom=this.maplet.Y86Yr(mj24[1]-this.T49/2,mj24[0]);
		var right=this.maplet.tC3A(mj24[0]+this.$7On9/2,mj24[1]);
		var width=right-left;
		var height=bottom-top;
		if(left>this.maplet.width||right<0||bottom<0||top>this.maplet.height)return;
		if(this.Ej63||this.maplet.dCq==eY1L.V086D)
		{
			var v3L=document.getElementById(this.id+"_node_ctr");
			if(v3L==null)
			{
				v3L=new Image();
				v3L.id=this.id+"_node_ctr";
				v3L.wX93=0;
				v3L.src=Tf6;
				v3L.unselectable="on";
				v3L.alt=C5A;
				v3L.style.position="absolute";
				v3L.style.filter="alpha(opacity=80);"
			}
			v3L.style.left=(parseInt(left+right)/2-5)+"px";
			v3L.style.top=(parseInt(top+bottom)/2-5)+"px";
			this.rf4k.appendChild(v3L)
		}
		if(this.y2a)
		{
			this.y2a.style.width=width;
			this.y2a.style.height=height;
			this.y2a.style.left=left;
			this.y2a.style.top=top;
			this.y2a.StartAngle=this.Kk0;
			this.y2a.EndAngle=this.KxCpA
		}
	};
	this.remove=function()
	{
		if(typeof this.d3Q2f!="undefined"&&this.d3Q2f.parentNode)
		{
			this.d3Q2f.parentNode.removeChild(this.d3Q2f)
		}
		if(typeof this.graphics!="undefined")
		{
			this.graphics.clear()
		}
		for(var oDe3F in this.bU_46)
		{
			MEvent.b72(this.maplet.map,oDe3F,this.bU_46[oDe3F]);
			this.bU_46[oDe3F]=null
		}
		this.maplet=null
	};
	this.openInfoWindow=function(hXA)
	{
		if(this.maplet)
		{
			if(this.maplet.dCq!=eY1L.qUW5&&this.maplet.dCq!=eY1L.V086D)
			{
				return
			}
			if(typeof hXA=="undefined")
			{
				if(this.info!=null&&this.pt.pid!=null)
				{
					var y55A7=0;
					var f010=0;
					var mj24=E97.tnt2(this.pt.pid);
					f010=this.maplet.Y86Yr(mj24[1],mj24[0]);
					y55A7=this.maplet.tC3A(mj24[0],mj24[1]);
					if(y55A7>this.maplet.width*2||y55A7<-this.maplet.width||f010<-this.maplet.height||f010>this.maplet.height*2)
					{
						this.maplet.setCenter(this.pid);
						y55A7=this.maplet.width/2;
						f010=this.maplet.height/2
					}
					else
					{
						if(iToolTipStyle==2)
						{
							this.x=y55A7;
							this.y=f010;
							MEvent.WB6(this,"click",this)
						}
						else
						{
							this.maplet.y6cuf(y55A7,f010,this.info.title,this.info.content)
						}
					}
				}
			}
			else if(hXA.target.id==this.id)
			{
				var x=hXA.clientX-this.maplet.offsetX-this.maplet.left;
				var y=hXA.clientY-this.maplet.offsetY-this.maplet.top+6;
				if(iToolTipStyle==2)
				{
					this.x=x;
					this.y=y;
					MEvent.WB6(this,"click",this)
				}
				else
				{
					this.maplet.y6cuf(x,y,this.info.title,this.info.content)
				}
			}
		}
	};
	this.R35Lx=function(q2U)
	{
		if(this.rf4k!=null)
		{
			if(q2U)
			{
				this.rf4k.style.visibility="visible"
			}
			else
			{
				this.rf4k.style.visibility="hidden"
			}
		}
	};
	this.JP34E=function(hXA)
	{
		if(this.Ej63||this.maplet.dCq==eY1L.V086D)
		{
			if(this.d3Q2f!=null&&this.maplet&&TDu1(hXA.target,this.d3Q2f))
			{
				this.LlX.opacity=1;
				this.R35Lx(true)
			}
			else
			{
				this.LlX.opacity=(this.brush.transparency/100.0);
				this.R35Lx(false)
			}
		}
	};
	this.tY2_=function(hXA)
	{
	};
	this.F371=function(hXA)
	{
	};
	this.PjD9A=function(hXA)
	{
	}
};
function MStandardControl(g66,left,top,xMX0s)
{
	this.g66=(typeof g66=="undefined")?"baidu":g66;
	this.left=(typeof left=="undefined")?0:parseInt(left);
	this.top=(typeof top=="undefined")?0:parseInt(top);
	this.xMX0s=(typeof xMX0s=="undefined")?0:parseInt(xMX0s);
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.$75=null;
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.a2d6B[this.id]==null)
		{
			if(!this.xMX0s&&this.maplet.height<300)
			{
				if(bsc)this.xMX0s=1
			}
			this.maplet.a2d6B[this.id]=this;
			this.$75=new _PQ7$(this.g66,this.maplet.p83,this.left,this.top,70,120,true,3,this.maplet.r99,this.maplet,this.xMX0s);
			if(this.maplet.C796w==null)this.maplet.C796w=this.$75
		}
	};
	this.remove=function()
	{
		this.maplet=null;
		if(this.$75)
		{
			if(this.$75==this.maplet.C796w)this.maplet.C796w=null;
			this.$75.XC33C();
			this.$75=null
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MStandardControl'
	}
};
function MZoomControl(g66,left,top,xMX0s)
{
	this.g66=(typeof g66=="undefined")?"jongo":g66;
	this.left=(typeof left=="undefined")?0:parseInt(left);
	this.top=(typeof top=="undefined")?0:parseInt(top);
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.xMX0s=(typeof xMX0s=="undefined")?false:xMX0s;
	this.p256=strImgsvrUrl+'images/'+this.g66+'/'+((!this.xMX0s)?"bg.png":"bgsmall.png");
	this.e45mH=28;
	this.H0a09=(!this.xMX0s)?241:155;
	this.X20U=this.H0a09-91;
	this.bU_46=new Array();
	this.onresize=function(maplet)
	{
		this.eKj18.style.left=(this.maplet.width-40+this.left)+"px"
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.a2d6B[this.id]==null)
		{
			this.maplet.a2d6B[this.id]=this;
			this.eKj18=document.createElement("div");
			this.eKj18.unselectable="on";
			this.eKj18.style.position="relative";
			this.eKj18.style.left=(this.maplet.width-40+this.left)+"px";
			this.eKj18.style.top=(this.maplet.height/2-this.H0a09/2)+"px";
			this.eKj18.style.width=(this.e45mH)+"px";
			this.eKj18.style.height=(this.H0a09)+"px";
			this.eKj18.style.zIndex=10;
			this.eKj18.style.visibility="visible";
			this.eKj18.style.cursor="default";
			this.eKj18.maplet=this.maplet;
			this.eKj18.H0a09=this.H0a09;
			this.eKj18.innerHTML='<img unselectable="on" id="'+this.id+'" border=0 src="'+this.p256+'" onmousedown="javascript:return false;">';
			this.bU_46["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.tY2_);
			this.bU_46["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.F371);
			this.bU_46["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.PjD9A);
			
			this.eKj18.onmouseover=function(hXA)
			{
				var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-parseInt(this.style.left)-parseInt(this.maplet.left)-this.maplet.offsetX;
				var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.style.top)-parseInt(this.maplet.top)-this.maplet.offsetY;
				if(!go2Or&&this.maplet.r99.style.position!="absolute")
				{
				}
				if(mJ3H>=6&&mJ3H<=22)
				{
					if(T8FG5>=18&&T8FG5<=34)
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=(en)?"Click to Zoom In":$9n7("%u70BD%uC2B4%uB739%uBE65")
					}
					else if(T8FG5>=(this.H0a09-42)&&T8FG5<=(this.H0a09-26))
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=(en)?"Click to Zoom Out":$9n7("%u70BD%uC2B4%uD124%uDB38")
					}
					else if(T8FG5>=(this.H0a09-21)&&T8FG5<=(this.H0a09-5))
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=(en)?"Help":$9n7("%u5E32%uB0D7%uA28A%uB050")
					}
					else if(T8FG5<18)
					{
						this.style.cursor="move";
						this.firstChild.alt=(en)?"Drag":$9n7("%u9F24%u0727%uCADD%uC5D3")
					}
					else if(T8FG5>34&&T8FG5<(this.H0a09-42))
					{
						this.style.cursor="default";
						this.firstChild.alt=(en)?"Click to Zoom":$9n7("%u70BD%uC2B4%uD124%uE467")
					}
					else
					{
						this.style.cursor="default";
						this.firstChild.alt=""
					}
				}
				else
				{
					this.style.cursor="default"
				}
			};
			this.eKj18.onmousemove=this.eKj18.onmouseover;
			this.eKj18.onclick=function(hXA)
			{
				var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-parseInt(this.style.left)-parseInt(this.maplet.left)-this.maplet.offsetX;
				var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.style.top)-parseInt(this.maplet.top)-this.maplet.offsetY;
				if(!go2Or&&this.maplet.r99.style.position!="absolute")
				{
				}
				if(mJ3H>=6&&mJ3H<=22)
				{
					if(T8FG5>=18&&T8FG5<=34)
					{
						this.maplet.zoomIn()
					}
					else if(T8FG5>=(this.H0a09-42)&&T8FG5<=(this.H0a09-26))
					{
						this.maplet.zoomOut()
					}
					else if(T8FG5>=(this.H0a09-21)&&T8FG5<=(this.H0a09-5))
					{
						if(typeof callback=="function")
						{
							callback("&act=help")
						}
					}
					else if(T8FG5>34&&T8FG5<(this.H0a09-42))
					{
						var CK6W1=150;
						var y=Math.max(38,Math.min((this.H0a09-53),T8FG5));
						var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt((parseInt(y)-38)/(CK6W1/(K0133)))));
						this.maplet.setZoomLevel(parseInt(kWT_))
					}
				}
				this.I6938=0;
				this.style.cursor="default";
				return false
			};
			this.maplet.map.appendChild(this.eKj18);
			this.v32=document.createElement("div");
			this.v32.id="slider"+this.id;
			this.v32.unselectable="on";
			this.v32.innerHTML='<IMG id="sliderimg'+this.id+'" src='+strImgsvrUrl+'images/'+this.g66+'/slider.png>';
			this.v32.style.position="absolute";
			this.v32.style.top="100px";
			this.v32.style.left="5px";
			this.v32.style.width="18px";
			this.v32.style.height="9px";
			this.v32.maplet=this.maplet;
			this.v32.H0a09=this.H0a09;
			this.eKj18.v32=this.v32;
			this.v32.I6938=0;
			this.eKj18.appendChild(this.v32);
			this.v32.firstChild.onmousedown=function(hXA)
			{
				return false
			};
			this.v32.onmousedown=function(hXA)
			{
				if(this.I6938==0||this.selected==false)
				{
					this.selected=true;
					this.I6938=parseInt((go2Or)?event.clientY:hXA.clientY);
					if(this.setCapture)this.setCapture();
					this.style.cursor="move"
				}
				else
				{
					this.I6938=0
				}
				return true
			};
			this.v32.ondrag=function(hXA)
			{
				if(this.I6938>0&&this.selected==true)
				{
					this.style.cursor="move";
					var S21=parseInt((go2Or)?event.clientY:hXA.clientY)-this.maplet.offsetY-this.maplet.top-parseInt(this.parentNode.style.top);
					S21=Math.max(38,Math.min((this.H0a09-53),S21));
					{
						this.style.top=((go2Or)?S21:(S21-5))+"px";
						var CK6W1=150;
						if(go2Or)
						{
							var y=parseInt((go2Or)?event.clientY:hXA.clientY)-this.maplet.offsetY-this.maplet.top-parseInt(this.parentNode.style.top);
							var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt(((parseInt(y)-38)/(K0133-1))*(CK6W1/(K0133-1)))/(CK6W1/(K0133-1))));
							this.maplet.qV8(kWT_);
							this.style.cursor="move";
							this.parentNode.style.cursor="move"
						}
					}
					return true
				}
				return false
			};
			this.v32.ondragend=function(hXA)
			{
				this.selected=false;
				if(this.I6938>0)
				{
					var CK6W1=150;
					var y=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.maplet.offsetY)-parseInt(this.maplet.top)-parseInt(this.parentNode.style.top);
					var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt((parseInt(y)-38)/(CK6W1/(K0133)))));
					this.maplet.s0579.i8W96.style.zoom=1;
					this.maplet.setZoomLevel(parseInt(kWT_));
					this.I6938=0;
					if(this.releaseCapture)this.releaseCapture()
				}
				this.I6938=0;
				this.style.cursor="default";
				return true
			};
			this.v32.setZoomLevel=function(kWT_)
			{
				var R92=kWT_.toString().split('zm=');
				if(R92.length==2)
				{
					kWT_=parseInt(R92[1])
				}
				kWT_=parseInt(kWT_);
				this.style.top=((K0133-Math.min(K0133,Math.max(kWT_,N29B8)))*150/(K0133)+38)+"px"
			};
			MEvent.bind(this.maplet,"zoom",this.v32,this.v32.setZoomLevel);
			this.v32.setZoomLevel(this.maplet.getZoomLevel())
		}
	};
	this.tY2_=function(hXA)
	{
		if(this.maplet&&hXA.target.id==this.id)
		{
			this.B3839=true;
			FS_V=this.id;
			this.p3D_=(hXA.offsetX)?hXA.offsetX:parseInt(hXA.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.eKj18.style.left);
			this.Fn_=(hXA.offsetY)?hXA.offsetY:parseInt(hXA.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.eKj18.style.top)
		}
	};
	this.F371=function(hXA)
	{
		if(this.maplet&&(hXA.target.id==this.id||FS_V==this.id))
		{
			if(this.B3839)
			{
				var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
				var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
				x=Math.max(0,Math.min(this.maplet.width-this.e45mH,x));
				y=Math.max(0,Math.min(this.maplet.height-this.H0a09,y));
				this.eKj18.style.left=x+"px";
				this.eKj18.style.top=y+"px";
				this.dV__=new Date().getTime();
				this.$$c=true
			}
		}
		{
			this.v32.ondrag(hXA)
		}
	};
	this.PjD9A=function(hXA)
	{
		if(this.maplet&&this.B3839)
		{
			this.B3839=false;
			var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
			var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
			if(this.$$c)
			{
				this.dV__=new Date().getTime();
				this.$$c=false
			}
		}
		if(FS_V==this.id)
		{
			FS_V=null
		}
		this.v32.ondragend()
	};
	this.remove=function()
	{
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.b72(this.maplet.map,oDe3F,this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
			this.bU_46=null
		}
		this.maplet=null;
		if(this.eKj18!=null&&this.eKj18.parentNode!=null)
		{
			this.eKj18.parentNode.removeChild(this.eKj18);
			this.eKj18=null
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MJongoControl'
	}
};
MJongoControl=MZoomControl;
function MMSNControl(g66,left,top)
{
	this.g66=(typeof g66=="undefined")?"msn":g66;
	this.left=(typeof left=="undefined")?20:left;
	this.top=(typeof top=="undefined")?20:top;
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.e45mH=65;
	this.H0a09=221;
	this.bU_46=new Array();
	this.onresize=function(maplet)
	{
		this.eKj18.style.left=this.left+"px"
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.a2d6B[this.id]==null)
		{
			this.maplet.a2d6B[this.id]=this;
			this.eKj18=document.createElement("div");
			this.eKj18.unselectable="on";
			this.eKj18.style.position="absolute";
			this.eKj18.style.left=this.left+"px";
			this.eKj18.style.top=this.top+"px";
			this.eKj18.style.width=this.e45mH+"px";
			this.eKj18.style.height=this.H0a09+"px";
			this.eKj18.style.zIndex=10;
			this.eKj18.style.visibility="visible";
			this.eKj18.style.overflow="hidden";
			this.eKj18.style.filter="alpha(opacity=80);";
			this.eKj18.style.MozOpacity=(80/100.0);
			this.eKj18.style.opacity=(80/100.0);
			this.eKj18.style.C30=(80.0/100);
			this.eKj18.style.cursor="default";
			this.eKj18.maplet=this.maplet;
			var Kb555='<img unselectable="on" id="'+this.id+'" border=0 src="'+strImgsvrUrl+'images/'+this.g66+'/bg.png" style="position:absolute;left:0px;top:0px;z-index:0;" onmousedown="javascript:return false;">';
			this.eKj18.innerHTML=Kb555;
			Kb555=null;
			this.l$a=new Image();
			this.l$a.g66=this.g66;
			this.l$a.unselectable="on";
			this.l$a.border=0;
			this.l$a.style.cursor=(go2Or)?"hand":"point";
			this.l$a.style.zIndex=1;
			this.l$a.style.position="absolute";
			this.l$a.style.left="50px";
			this.l$a.style.top="4px";
			this.l$a.m624=1;
			this.l$a.setMode=function()
			{
				this.m624=!this.m624;
				if(this.m624==0)
				{
					this.alt=(en)?"Close":$9n7("%u5175%uE760");
					this.src=strImgsvrUrl+'images/'+this.g66+'/close.png'
				}
				else
				{
					this.alt=(en)?"Open":("\u6253\u5F00");
					this.src=strImgsvrUrl+'images/'+this.g66+'/open.png'
				}
			};
			this.H514=null;
			this.setMode=function()
			{
				this.l$a.setMode();
				this.P14m4()
			};
			this.P14m4=function()
			{
				if(this.H514!=null)
				{
					clearTimeout(this.H514);
					this.H514=null
				}
				if(this.l$a.m624==0)
				{
					this.eKj18.style.height=(parseInt(this.eKj18.style.height)+10)+"px";
					if(parseInt(this.eKj18.style.height)>this.H0a09-10)
					{
						this.eKj18.style.height=this.H0a09+"px"
					}
					else
					{
						this.H514=getTimeout(this,this.P14m4,10)
					}
				}
				else
				{
					this.eKj18.style.height=(parseInt(this.eKj18.style.height)-10)+"px";
					if(parseInt(this.eKj18.style.height)<25)
					{
						this.eKj18.style.height="15px"
					}
					else
					{
						this.H514=getTimeout(this,this.P14m4,10)
					}
				}
			};
			this.bU_46["click"]=MEvent.bindDom(this.l$a,"click",this,this.setMode);
			this.l$a.setMode();
			this.eKj18.appendChild(this.l$a);
			this.bU_46["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.tY2_);
			this.bU_46["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.F371);
			this.bU_46["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.PjD9A);
			
			this.eKj18.onmouseover=function(hXA)
			{
				var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-parseInt(this.style.left)-parseInt(this.maplet.left)-this.maplet.offsetX;
				var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.style.top)-parseInt(this.maplet.top)-this.maplet.offsetY;
				if(T8FG5<16)
				{
					this.style.cursor="move";
					this.firstChild.alt=(en)?"Drag":$9n7("%u9F24%u0727%uCADD%uC5D3")
				}
				else if(T8FG5>21&&T8FG5<75)
				{
					if(T8FG5>20&&T8FG5<40&&mJ3H>20&&mJ3H<45)
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=Vb0[1]
					}
					else if(T8FG5>55&&T8FG5<75&&mJ3H>20&&mJ3H<45)
					{
						this.firstChild.alt=Vb0[3];
						this.style.cursor=(go2Or)?"hand":"pointer"
					}
					else if(T8FG5>36&&T8FG5<58&&mJ3H>6&&mJ3H<24)
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=Vb0[0]
					}
					else if(T8FG5>38&&T8FG5<58&&mJ3H>42&&mJ3H<60)
					{
						this.firstChild.alt=Vb0[2];
						this.style.cursor=(go2Or)?"hand":"pointer"
					}
					else
					{
						this.firstChild.alt=""
					}
				}
				else if(mJ3H>=19&&mJ3H<=49)
				{
					if(T8FG5>=81&&T8FG5<=100)
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=(en)?"Click to Zoom In":$9n7("%u70BD%uC2B4%uB739%uBE65")
					}
					else if(T8FG5>=208&&T8FG5<=221)
					{
						this.style.cursor=(go2Or)?"hand":"pointer";
						this.firstChild.alt=(en)?"Click to Zoom Out":$9n7("%u70BD%uC2B4%uD124%uDB38")
					}
					else if(T8FG5>100&&T8FG5<208)
					{
						this.style.cursor="default";
						this.firstChild.alt=(en)?"Click to Zoom":$9n7("%u70BD%uC2B4%uD124%uE467")
					}
					else
					{
						this.style.cursor="default";
						this.firstChild.alt=""
					}
				}
				else
				{
					this.style.cursor="default"
				}
			};
			this.eKj18.onmousemove=this.eKj18.onmouseover;
			this.eKj18.onclick=function(hXA)
			{
				var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-parseInt(this.style.left)-parseInt(this.maplet.left)-this.maplet.offsetX;
				var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.style.top)-parseInt(this.maplet.top)-this.maplet.offsetY;
				if(T8FG5>21&&T8FG5<75)
				{
					if(T8FG5>20&&T8FG5<40&&mJ3H>20&&mJ3H<45)
					{
						this.maplet.panTo(0,this.maplet.height/2)
					}
					else if(T8FG5>55&&T8FG5<75&&mJ3H>20&&mJ3H<45)
					{
						this.maplet.panTo(0,-this.maplet.height/2)
					}
					else if(T8FG5>36&&T8FG5<58&&mJ3H>6&&mJ3H<24)
					{
						this.maplet.panTo(this.maplet.width/2,0)
					}
					else if(T8FG5>38&&T8FG5<58&&mJ3H>42&&mJ3H<60)
					{
						this.maplet.panTo(-this.maplet.width/2,0)
					}
				}
				else if(T8FG5>80&&mJ3H>=19&&mJ3H<=49)
				{
					if(T8FG5>=81&&T8FG5<=100)
					{
						this.maplet.zoomIn()
					}
					else if(T8FG5>=208&&T8FG5<=221)
					{
						this.maplet.zoomOut()
					}
					else if(T8FG5>100&&T8FG5<208)
					{
						var CK6W1=100.0;
						var y=Math.max(100,Math.min(200,T8FG5));
						var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt((parseInt(y)-100)/(CK6W1/(K0133)))));
						this.maplet.setZoomLevel(parseInt(kWT_))
					}
				}
				this.I6938=0;
				this.style.cursor="default";
				return false
			};
			this.maplet.map.appendChild(this.eKj18);
			this.v32=document.createElement("div");
			this.v32.id="slider"+this.id;
			this.v32.unselectable="on";
			this.v32.innerHTML='<IMG id="sliderimg'+this.id+'" src='+strImgsvrUrl+'images/'+this.g66+'/slider.png>';
			this.v32.style.position="absolute";
			this.v32.style.width="20px";
			this.v32.style.height="7px";
			this.v32.style.top="100px";
			this.v32.style.left=((this.e45mH+1)/2-10)+"px";
			this.v32.maplet=this.maplet;
			this.eKj18.v32=this.v32;
			this.v32.I6938=0;
			this.eKj18.appendChild(this.v32);
			this.v32.firstChild.onmousedown=function(hXA)
			{
				return false
			};
			this.v32.onmousedown=function(hXA)
			{
				if(this.I6938==0||this.selected==false)
				{
					this.selected=true;
					this.I6938=parseInt((go2Or)?event.clientY:hXA.clientY);
					if(this.setCapture)this.setCapture();
					this.style.cursor="move"
				}
				else
				{
					this.I6938=0
				}
				return true
			};
			this.v32.ondrag=function(hXA)
			{
				if(this.I6938>0&&this.selected==true)
				{
					this.style.cursor="move";
					var S21=parseInt((go2Or)?event.clientY:hXA.clientY)-this.maplet.offsetY-this.maplet.top-parseInt(this.parentNode.style.top);
					S21=Math.max(100,Math.min(200,S21));
					{
						this.style.top=((go2Or)?S21:(S21-5))+"px";
						var CK6W1=100.0;
						if(go2Or)
						{
							var y=parseInt((go2Or)?event.clientY:hXA.clientY)-this.maplet.offsetY-this.maplet.top-parseInt(this.parentNode.style.top);
							var kWT_=K0133-Math.max(0,Math.min(K0133,(parseInt(y)-100.0)/(CK6W1/K0133)));
							this.maplet.qV8(kWT_);
							this.style.cursor="move";
							this.parentNode.style.cursor="move"
						}
					}
					return true
				}
				return false
			};
			this.v32.ondragend=function(hXA)
			{
				this.selected=false;
				if(this.I6938>0)
				{
					var CK6W1=100.0;
					var y=parseInt((go2Or)?event.clientY:hXA.clientY)-parseInt(this.maplet.offsetY)-parseInt(this.maplet.top)-parseInt(this.parentNode.style.top);
					var kWT_=K0133-Math.max(0,Math.min(K0133,parseInt((parseInt(y)-100)/(CK6W1/(K0133)))));
					this.maplet.s0579.i8W96.style.zoom=1;
					this.maplet.setZoomLevel(parseInt(kWT_));
					this.I6938=0;
					if(this.releaseCapture)this.releaseCapture()
				}
				this.I6938=0;
				this.style.cursor="default";
				return true
			};
			this.v32.setZoomLevel=function(kWT_)
			{
				var R92=kWT_.toString().split('zm=');
				if(R92.length==2)
				{
					kWT_=parseInt(R92[1])
				}
				kWT_=parseInt(kWT_);
				this.style.top=((K0133-Math.min(K0133,Math.max(kWT_,N29B8)))*100/(K0133)+100)+"px"
			};
			MEvent.bind(this.maplet,"zoom",this.v32,this.v32.setZoomLevel);
			this.v32.setZoomLevel(this.maplet.getZoomLevel())
		}
	};
	this.tY2_=function(hXA)
	{
		if(this.maplet&&hXA.target.id==this.id)
		{
			this.B3839=true;
			FS_V=this.id;
			this.p3D_=(hXA.offsetX)?hXA.offsetX:parseInt(hXA.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.eKj18.style.left);
			this.Fn_=(hXA.offsetY)?hXA.offsetY:parseInt(hXA.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.eKj18.style.top)
		}
	};
	this.F371=function(hXA)
	{
		if(this.maplet&&(hXA.target.id==this.id||FS_V==this.id))
		{
			if(this.B3839)
			{
				var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
				var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
				x=Math.max(0,Math.min(this.maplet.width-this.e45mH,x));
				y=Math.max(0,Math.min(this.maplet.height-this.H0a09,y));
				this.eKj18.style.left=x+"px";
				this.eKj18.style.top=y+"px";
				this.dV__=new Date().getTime();
				this.$$c=true
			}
		}
		{
			this.v32.ondrag(hXA)
		}
	};
	this.PjD9A=function(hXA)
	{
		if(this.maplet&&this.B3839)
		{
			this.B3839=false;
			var x=hXA.clientX-this.maplet.offsetX-this.maplet.left-this.p3D_;
			var y=hXA.clientY-this.maplet.offsetY-this.maplet.top-this.Fn_;
			if(this.$$c)
			{
				this.dV__=new Date().getTime();
				this.$$c=false
			}
		}
		if(FS_V==this.id)
		{
			FS_V=null
		}
		this.v32.ondragend()
	};
	this.remove=function()
	{
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.b72(this.maplet.map,oDe3F,this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
			this.bU_46=null
		}
		this.maplet=null;
		if(this.eKj18!=null&&this.eKj18.parentNode!=null)
		{
			this.eKj18.parentNode.removeChild(this.eKj18);
			this.eKj18=null
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MMSNControl'
	}
};
function MLookupControl(_5$M3,left,top)
{
	this._5$M3=(typeof _5$M3=="undefined")?$9n7("%u62CD%uCB0F%uD02B%uF3C7"):_5$M3;
	this.left=(typeof left=="undefined")?0:parseInt(left);
	this.top=(typeof top=="undefined")?0:parseInt(top);
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.onresize=function(maplet)
	{
		if(this.maplet.ovw.cJ95()<=37)
		{
			this.eKj18.style.left=(this.maplet.width-132+this.left-this.maplet.ovw.x56())+"px"
		}
		else
		{
			this.eKj18.style.left=(this.maplet.width-132+this.left)+"px"
		}
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.a2d6B[this.id]==null)
		{
			this.maplet.a2d6B[this.id]=this;
			this.eKj18=document.createElement("div");
			this.eKj18.style.position="absolute";
			this.onresize(this.maplet);
			this.eKj18.style.top=(10+this.top)+"px";
			this.eKj18.style.zIndex=10;
			this.eKj18.style.visibility="visible";
			this.Vfh=document.createElement("img");
			this.Vfh.unselectable="on";
			this.Vfh.src=strImgsvrUrl+"images/lookup.png";
			this.Vfh.alt=this._5$M3;
			this.Vfh.style.cursor="hand";
			this.Vfh.style.cursor="pointer";
			this.Vfh.r99=this;
			this.Vfh.maplet=this.maplet;
			this.Vfh.onclick=function()
			{
				this.maplet.setMode("lookup");
				MEvent.WB6(this.r99,"onclick")
			};
			this.eKj18.appendChild(this.Vfh);
			this.maplet.r99.appendChild(this.eKj18)
		}
	};
	this.remove=function()
	{
		this.maplet=null;
		if(this.eKj18!=null&&this.eKj18.parentNode!=null)
		{
			this.eKj18.parentNode.removeChild(this.eKj18);
			this.eKj18=null;
			this.Vfh.maplet=null;
			this.Vfh.onclick=null;
			this.Vfh=null
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MLookupControl'
	}
};
function MStyleControl(left,top)
{
	this.left=(typeof left=="undefined")?0:parseInt(left);
	this.top=(typeof top=="undefined")?0:parseInt(top);
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.onresize=function(maplet)
	{
		this.eKj18.style.left=(this.maplet.width-132+this.left-this.maplet.ovw.x56())+"px";
		this.hs5D.style.left=(this.maplet.width-70+this.left-this.maplet.ovw.x56())+"px"
	};
	this.E_431=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.a2d6B[this.id]==null)
		{
			this.maplet.a2d6B[this.id]=this;
			this.eKj18=document.createElement("div");
			this.eKj18.id="stylelabel";
			this.eKj18.style.position="absolute";
			this.eKj18.style.left=(this.maplet.width-132+this.left-this.maplet.ovw.x56())+"px";
			this.eKj18.style.top=(10+this.top)+"px";
			this.eKj18.style.zIndex=10;
			this.eKj18.style.visibility="visible";
			this.eKj18.unselectable="on";
			this.eKj18.alt=$9n7("%u6672%uF688%uE74A%uAE2E");
			this.eKj18.style.cursor=(go2Or)?"hand":"pointer";
			this.eKj18.maplet=this.maplet;
			this.eKj18.innerHTML=$9n7("%u6672%uF688%uE74A%uAE2E");
			this.eKj18.style.backgroundColor="#FFFFFF";
			this.eKj18.onclick=function()
			{
				this.maplet.setStyle("baidu")
			};
			this.hs5D=document.createElement("div");
			this.hs5D.id="stylelabel";
			this.hs5D.style.position="absolute";
			this.hs5D.style.left=(this.maplet.width-70+this.left-this.maplet.ovw.x56())+"px";
			this.hs5D.style.top=(10+this.top)+"px";
			this.hs5D.style.zIndex=10;
			this.hs5D.style.visibility="visible";
			this.hs5D.unselectable="on";
			this.hs5D.alt=$9n7("%u536F%uB98A%uC590%uB040");
			this.hs5D.style.cursor=(go2Or)?"hand":"pointer";
			this.hs5D.maplet=this.maplet;
			this.hs5D.innerHTML=$9n7("%u536F%uB98A%uC590%uB040");
			this.hs5D.style.backgroundColor="#FFFFFF";
			this.hs5D.onclick=function()
			{
				this.maplet.setStyle("aerial")
			};
			this.maplet.r99.appendChild(this.eKj18);
			this.maplet.r99.appendChild(this.hs5D)
		}
	};
	this.remove=function()
	{
		if(this.eKj18!=null&&this.eKj18.parentNode!=null)
		{
			this.eKj18.parentNode.removeChild(this.eKj18);
			this.maplet=null;
			this.eKj18.onclick=null;
			this.eKj18.maplet=null;
			this.eKj18=null
		}
		if(this.hs5D!=null&&this.hs5D.parentNode!=null)
		{
			this.hs5D.parentNode.removeChild(this.hs5D);
			this.maplet=null;
			this.hs5D.onclick=null;
			this.hs5D.maplet=null;
			this.hs5D=null
		}
	};
	this.toString=function()
	{
		return 'com.maplet.MStyleControl'
	}
};
function MBrush(D012E,$MA,g66,s87P4,iBv,D5r2,B9q,bA2)
{
	this.color=(typeof D012E=="undefined")?"#FF0000":D012E;
	this.stroke=(typeof $MA=="undefined")?1:parseInt($MA);
	this.style=(typeof g66=="undefined")?0:parseInt(g66);
	this.fill=(typeof s87P4=="undefined")?false:s87P4;
	this.bgcolor=(typeof iBv=="undefined")?this.color:iBv;
	this.transparency=(typeof D5r2=="undefined")?transparencyLevel:parseInt(D5r2);
	this.bgtransparency=(typeof B9q=="undefined")?transparencyLevel/2:parseInt(B9q);
	this.arrow=(typeof bA2=="undefined")?bArrow:bA2;
	this.toString=function()
	{
		return 'com.maplet.MBrush'
	}
};
var PLa2=8;
var I2m6=15;
var J630=strImgsvrUrl+'images/overclose.gif';
var Q2PV=strImgsvrUrl+'images/overopen.gif';
if(!otp)
{
	J630=strImgsvrUrl+'images/overclose2.gif';
	Q2PV=strImgsvrUrl+'images/overopen2.gif'
}
var Ix2V=new Array(0,0,0,0,0,1,2,3,4,5,6,7,8,9,10);
function _36o9(maplet)
{
	this.maplet=maplet;
	document["mapbar-overview"]=this;
	this.l_F="baidu";
	this._q01J=otp;
	this.r99=document.createElement("div");
	this.r99.unselectable="on";
	this.r99.style.position="absolute";
	this.r99.style.visibility="visible";
	this.r99.style.zIndex=1000;
	this.r99.style.backgroundColor="white";
	this.r99.style.borderLeftStyle="solid";
	this.r99.style.borderLeftWidth="1px";
	this.r99.style.borderLeftColor="#949694";
	if(this._q01J)
	{
		this.r99.style.borderBottomStyle="solid";
		this.r99.style.borderBottomWidth="1px";
		this.r99.style.borderBottomColor="#949694"
	}
	else
	{
		this.r99.style.borderTopStyle="solid";
		this.r99.style.borderTopWidth="1px";
		this.r99.style.borderTopColor="#949694"
	}
	this.r99.style.overflow="hidden";
	this.Gt71=oo;
	if(this._q01J)
	{
		this.r99.style.top="0px"
	}
	else
	{
		if(this.Gt71)
		{
			this.r99.style.top=(this.maplet.height-owh)+"px"
		}
		else
		{
			this.r99.style.top=(this.maplet.height-I2m6)+"px"
		}
	}
	this.KNl_0=document.createElement("div");
	this.KNl_0.id="mapbar-overview-canvas";
	this.KNl_0.unselectable="on";
	this.KNl_0.style.position="absolute";
	this.KNl_0.style.visibility="visible";
	this.KNl_0.style.zIndex=0;
	if(this._q01J)
	{
		this.KNl_0.style.top="0px"
	}
	else
	{
		this.KNl_0.style.top=(PLa2-1)+"px"
	}
	this.KNl_0.style.left="7px";
	this.KNl_0.style.backgroundColor=MapBackgroundColor;
	this.KNl_0.style.borderStyle="solid";
	this.KNl_0.style.borderWidth="1px";
	this.KNl_0.style.overflow="hidden";
	this.KNl_0.style.borderColor="#949694";
	this.KNl_0.selected=false;
	this.r99.appendChild(this.KNl_0);
	this.V68=document.createElement("div");
	this.V68.id="mapbar-overview-viewport";
	this.V68.unselectable="on";
	this.KNl_0.appendChild(this.V68);
	this.w467=document.createElement("div");
	this.w467.id="mapbar-overview-viewframe";
	this.w467.unselectable="on";
	this.KNl_0.appendChild(this.w467);
	this.ei7=document.createElement("div");
	this.ei7.id="mapbar-overview-viewpad";
	this.ei7.unselectable="on";
	this.KNl_0.appendChild(this.ei7);
	this.ei7.style.cursor="move";
	this.ei7.selected=false;
	this.bU_46=new Array();
	this.VEW2j=0;
	this.show=function()
	{
		this.r99.style.visibility="visible";
		this.r99.style.display="block"
	};
	this.hide=function()
	{
		this.close();
		this.r99.style.visibility="hidden";
		this.r99.style.display="none"
	};
	this.cJ95=function()
	{
		return parseInt(this.r99.style.top)
	};
	this.mM3Q=function()
	{
		return parseInt(this.r99.style.height)
	};
	this.tY2_=function(hXA)
	{
		if(this.VEW2j!=0)return;
		if(hXA.target.id==this.ei7.id||FS_V==this.ei7.id)
		{
			FS_V=this.ei7.id;
			this.ei7.selected=true;
			this.H3O42=(go2Or)?event.clientX:hXA.clientX;
			this._94=(go2Or)?event.clientY:hXA.clientY;
			this.R01=this.H3O42;
			this.e1P=this._94
		}
		else if(TDu1(hXA.target,this.KNl_0)||FS_V==this.KNl_0.id)
		{
			FS_V=this.KNl_0.id;
			this.KNl_0.selected=true;
			this.H3O42=(go2Or)?event.clientX:hXA.clientX;
			this._94=(go2Or)?event.clientY:hXA.clientY;
			this.R01=this.H3O42;
			this.e1P=this._94
		}
	};
	this.F371=function(hXA)
	{
		if(hXA.target.id==this.ei7.id||FS_V==this.ei7.id)
		{
			if(this.ei7.selected)
			{
				var kmGE=(go2Or)?event.clientX:hXA.clientX;
				var CR3k=(go2Or)?event.clientY:hXA.clientY;
				var i6dDL=(kmGE-this.H3O42);
				var na04C=(CR3k-this._94);
				this.H3O42=kmGE;
				this._94=CR3k;
				if(this.ei7.style.top)
				{
					this.ei7.style.top=(parseInt(this.ei7.style.top)+na04C)+"px";
					this.ei7.style.left=(parseInt(this.ei7.style.left)+i6dDL)+"px"
				}
			}
		}
		else if(TDu1(hXA.target,this.KNl_0)||FS_V==this.KNl_0.id)
		{
			if(this.KNl_0.selected)
			{
				var kmGE=(go2Or)?event.clientX:hXA.clientX;
				var CR3k=(go2Or)?event.clientY:hXA.clientY;
				var i6dDL=(kmGE-this.H3O42);
				var na04C=(CR3k-this._94);
				this.H3O42=kmGE;
				this._94=CR3k;
				for(var i in this.L28)
				{
					if(typeof this.L28[i]=="object"&&(this.L28[i]!=null))
					{
						this.L28[i].style.top=(parseInt(this.L28[i].style.top)+na04C)+"px";
						this.L28[i].style.left=(parseInt(this.L28[i].style.left)+i6dDL)+"px"
					}
				}
				if(this.V68.style.top)
				{
					this.V68.style.top=(parseInt(this.V68.style.top)+na04C)+"px";
					this.V68.style.left=(parseInt(this.V68.style.left)+i6dDL)+"px";
					this.w467.style.top=(parseInt(this.w467.style.top)+na04C)+"px";
					this.w467.style.left=(parseInt(this.w467.style.left)+i6dDL)+"px"
				}
			}
		}
	};
	this.PjD9A=function(hXA)
	{
		hideBubble(this.maplet);
		if(this.ei7.selected)
		{
			FS_V=null;
			this.ei7.selected=false;
			var kmGE=(go2Or)?event.clientX:hXA.clientX;
			var CR3k=(go2Or)?event.clientY:hXA.clientY;
			var i6dDL=(kmGE-this.R01);
			var na04C=(CR3k-this.e1P);
			var km9V_=-na04C*this.$lR/this.maplet._628n;
			var t18=i6dDL*this.yKj/this.maplet.FW53;
			this.gRv=this.maplet.D081+km9V_;
			this.CVd=this.maplet.JAf5K+t18;
			this.VEW2j=1;
			this.v93=getTimeout(this,this.C2T6,20)
		}
		else if(this.KNl_0.selected)
		{
			FS_V=null;
			this.KNl_0.selected=false;
			var kmGE=(go2Or)?event.clientX:hXA.clientX;
			var CR3k=(go2Or)?event.clientY:hXA.clientY;
			var i6dDL=-(kmGE-this.R01);
			var na04C=-(CR3k-this.e1P);
			var km9V_=-na04C*this.$lR/this.maplet._628n;
			var t18=i6dDL*this.yKj/this.maplet.FW53;
			this.gRv=this.maplet.D081+km9V_;
			this.CVd=this.maplet.JAf5K+t18;
			this.VEW2j=2;
			this.v93=getTimeout(this,this.C2T6,20)
		}
	};
	this.C2T6=function()
	{
		if(this.v93)
		{
			clearTimeout(this.v93);
			this.v93=null
		}
		if(!this.V68.style.top||!this.ei7.style.top)
		{
			this.maplet.setCenter(this.gRv,this.CVd,true);
			this.VEW2j=0;
			return
		}
		var na04C=parseInt(this.ei7.style.top)-parseInt(this.V68.style.top);
		var i6dDL=parseInt(this.ei7.style.left)-parseInt(this.V68.style.left);
		var uGi71=Math.round(i6dDL);
		var XoS1=Math.round(na04C);
		if((Math.abs(i6dDL)+Math.abs(na04C))>=10)
		{
			var uGi71=Math.round(i6dDL*10.0/(Math.abs(i6dDL)+Math.abs(na04C)));
			var XoS1=Math.round(na04C*10.0/(Math.abs(i6dDL)+Math.abs(na04C)))
		}
		if(this.VEW2j==2)
		{
			if((Math.abs(i6dDL)+Math.abs(na04C))==0)
			{
				this.maplet.setCenter(this.gRv,this.CVd,true);
				this.VEW2j=0
			}
			else
			{
				this.V68.style.top=(parseInt(this.V68.style.top)+XoS1)+"px";
				this.V68.style.left=(parseInt(this.V68.style.left)+uGi71)+"px";
				this.w467.style.top=(parseInt(this.w467.style.top)+XoS1)+"px";
				this.w467.style.left=(parseInt(this.w467.style.left)+uGi71)+"px";
				this.v93=getTimeout(this,this.C2T6,20)
			}
		}
		else if(this.VEW2j==1)
		{
			uGi71=-uGi71;
			XoS1=-XoS1;
			if((Math.abs(i6dDL)+Math.abs(na04C))==0)
			{
				this.maplet.setCenter(this.gRv,this.CVd,true);
				this.VEW2j=0
			}
			else
			{
				for(var i in this.L28)
				{
					if(typeof this.L28[i]=="object"&&(this.L28[i]!=null))
					{
						this.L28[i].style.top=(parseInt(this.L28[i].style.top)+XoS1)+"px";
						this.L28[i].style.left=(parseInt(this.L28[i].style.left)+uGi71)+"px"
					}
				}
				this.ei7.style.top=(parseInt(this.ei7.style.top)+XoS1)+"px";
				this.ei7.style.left=(parseInt(this.ei7.style.left)+uGi71)+"px";
				this.v93=getTimeout(this,this.C2T6,20)
			}
		}
	};
	this.L28=new Array();
	this.H514=null;
	this.V72=false;
	this.j68L=false;
	if(this.Gt71)
	{
		var S0_=(go2Or)?0:2;
		this.r99.style.left=(parseInt(this.maplet.width)-oww)+"px";
		this.r99.style.width=oww+"px";
		this.r99.style.height=owh+"px";
		this.KNl_0.style.width=(oww-8-S0_)+"px";
		this.KNl_0.style.height=(owh-8)+"px"
	}
	else
	{
		var S0_=(go2Or)?0:1;
		this.r99.style.left=(parseInt(this.maplet.width)-I2m6)+"px";
		this.r99.style.width=(I2m6)+"px";
		this.r99.style.height=(I2m6-S0_)+"px";
		this.KNl_0.style.width=(I2m6-4)+"px";
		this.KNl_0.style.height=(I2m6-4)+"px"
	}
	this.me3$=new Array();
	this.x56=function()
	{
		return parseInt(this.r99.style.width)
	};
	this.addListener=function(J$w)
	{
		this.me3$[J$w.id]=J$w
	};
	this.removeListener=function(J$w)
	{
		this.me3$[J$w.id]=null
	};
	this.G5N84=function()
	{
		for(var rC437 in this.me3$)
		{
			if(this.me3$[rC437]&&this.me3$[rC437].onresize)
			{
				this.me3$[rC437].onresize()
			}
		}
		this.maplet.onresize()
	};
	this.XC33C=function()
	{
		for(var rC437 in this.me3$)
		{
			if(this.me3$[rC437])
			{
				this.me3$[rC437]=null
			}
			this.me3$=null
		}
		for(var i in this.L28)
		{
			try
			{
				if(this.L28[i]!=null)
				{
					if(this.L28[i].parentNode!=null)
					{
						this.L28[i].parentNode.removeChild(this.L28[i])
					}
					this.L28[i].onmousedown=null;
					this.L28[i].onerror=null;
					this.L28[i].onload=null;
					this.L28[i]=null
				}
			}
			catch(hXA)
			{
			}
			this.L28=null
		}
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.b72(this.KNl_0,oDe3F,this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
			this.bU_46=null
		}
		this.img.ovw=null;
		this.img.onclick=null;
		this.ei7.tY2_=null;
		this.ei7.F371=null;
		if(this.r99.parentNode!=null)
		{
			this.r99.parentNode.removeChild(this.r99)
		}
		this.maplet=null
	};
	this.onresize=function()
	{
		if(this.Gt71)
		{
			this.r99.style.left=(parseInt(this.maplet.width)-oww)+"px"
		}
		else
		{
			this.r99.style.left=(parseInt(this.maplet.width)-I2m6)+"px"
		}
		if(!this._q01J)
		{
			this.r99.style.top=(this.maplet.height-parseInt(this.r99.style.height))+"px"
		}
		this.G5N84()
	};
	this.close=function()
	{
		if(this.V72)return;
		if(this.img.src!=Q2PV)this.img.src=Q2PV;
		var S0_=(go2Or)?0:1;
		if(this.H514)clearTimeout(this.H514);
		this.H514=null;
		if(parseInt(this.r99.style.width)>2*I2m6)
		{
			this.r99.style.left=(parseInt(this.r99.style.left)+I2m6)+"px";
			this.r99.style.width=(parseInt(this.r99.style.width)-I2m6)+"px";
			this.r99.style.height=(parseInt(this.r99.style.height)-(I2m6-5))+"px";
			this.KNl_0.style.width=(parseInt(this.r99.style.width)-I2m6-4)+"px";
			this.KNl_0.style.height=(parseInt(this.r99.style.height)-(I2m6-5)-4)+"px";
			this.img.style.left=(parseInt(this.r99.style.width)-I2m6-1+S0_)+"px";
			this.j68L=true;
			this.H514=getTimeout(this,this.close,10)
		}
		else
		{
			this.r99.style.left=(parseInt(this.maplet.width-I2m6))+"px";
			this.r99.style.width=(I2m6)+"px";
			this.r99.style.height=(I2m6-S0_)+"px";
			this.KNl_0.style.width=(I2m6-4)+"px";
			this.KNl_0.style.height=(I2m6-4)+"px";
			this.img.style.left="-1px";
			this.j68L=false
		}
		if(!this._q01J)
		{
			this.r99.style.top=(this.maplet.height-parseInt(this.r99.style.height))+"px";
			this.img.style.top=(parseInt(this.r99.style.height)-I2m6-1)+"px"
		}
		this.G5N84()
	};
	this.open=function()
	{
		if(this.j68L)return;
		var S0_=(go2Or)?0:2;
		if(this.img.src!=J630)this.img.src=J630;
		if(this.H514)clearTimeout(this.H514);
		this.H514=null;
		if(parseInt(this.r99.style.width)<(oww-2*I2m6))
		{
			this.r99.style.left=(parseInt(this.r99.style.left)-I2m6)+"px";
			this.r99.style.width=(parseInt(this.r99.style.width)+I2m6)+"px";
			this.r99.style.height=(parseInt(this.r99.style.height)+(I2m6-5))+"px";
			this.KNl_0.style.width=(parseInt(this.r99.style.width)-4-S0_)+"px";
			this.KNl_0.style.height=(parseInt(this.r99.style.height)-8-4)+"px";
			this.img.style.left=(parseInt(this.r99.style.width)-I2m6-1)+"px";
			this.V72=true;
			this.H514=getTimeout(this,this.open,10)
		}
		else
		{
			this.r99.style.left=(parseInt(this.maplet.width)-oww)+"px";
			this.r99.style.width=(oww)+"px";
			this.r99.style.height=(owh)+"px";
			this.KNl_0.style.width=(oww-8-S0_)+"px";
			this.KNl_0.style.height=(owh-8)+"px";
			this.img.style.left=(oww-I2m6-1)+"px";
			this.paint();
			this.V72=false
		}
		if(!this._q01J)
		{
			this.r99.style.top=(this.maplet.height-parseInt(this.r99.style.height))+"px";
			this.img.style.top=(parseInt(this.r99.style.height)-I2m6-1)+"px"
		}
		this.G5N84()
	};
	this.e0j70=function(c1K0)
	{
		var S0_=(go2Or)?0:2;
		this.img=new Image();
		this.img.unselectable="on";
		this.img.style.position="absolute";
		this.img.style.zIndex=1000;
		this.img.style.left="-1px";
		this.img.width=I2m6+"px";
		this.img.height=I2m6+"px";
		this.img.style.width=I2m6+"px";
		this.img.style.height=I2m6+"px";
		this.img.ovw=this;
		this.img.style.cursor=(go2Or)?"hand":"pointer";
		this.img.onclick=function()
		{
			if(this.ovw.Gt71)
			{
				this.ovw.close()
			}
			else
			{
				this.ovw.open()
			}
			this.ovw.Gt71=!this.ovw.Gt71
		};
		if(this.Gt71)
		{
			this.img.src=J630
		}
		else
		{
			this.img.src=Q2PV
		}
		if(this._q01J)
		{
			this.img.style.top="0px"
		}
		else
		{
			this.img.style.top=(parseInt(this.r99.style.height)-I2m6-1)+"px"
		}
		this.img.style.left=(parseInt(this.r99.style.width)-I2m6-1)+"px";
		this.r99.appendChild(this.img);
		c1K0.appendChild(this.r99);
		this.bU_46["mousedown"]=MEvent.bindDom(this.KNl_0,"mousedown",this,this.tY2_);
		this.bU_46["mousemove"]=MEvent.bindDom(this.KNl_0,"mousemove",this,this.F371);
		this.bU_46["mouseup"]=MEvent.bindDom(this.KNl_0,"mouseup",this,this.PjD9A)
	
	};
	this.paint=function()
	{
		if(!this.Gt71)return;
		this.width=oww-10;
		this.height=owh-10;
		this.D081=this.maplet.D081;
		this.JAf5K=this.maplet.JAf5K;
		this.p83=Math.max(Math.max(0,N29B8-2),Ix2V[this.maplet.p83]);
		this.FW53=this.maplet.FW53;
		this._628n=this.maplet._628n;
		this.$19b4=this.maplet.$19b4;
		if(this.l_F!=this.maplet.l_F)
		{
			this.l_F=this.maplet.l_F;
			for(var i in this.L28)
			{
				try
				{
					if(this.L28[i]!=null)
					{
						if(this.L28[i].parentNode!=null)
						{
							this.L28[i].parentNode.removeChild(this.L28[i])
						}
						this.L28[i].onmousedown=null;
						this.L28[i].onerror=null;
						this.L28[i].onload=null;
						this.L28[i]=null
					}
				}
				catch(hXA)
				{
				}
			}
		}
		var F5x=this.l_F;
		this.TR45=Math.ceil((this.width)/(this.FW53)/2);
		this.U06=Math.ceil((this.height)/(this._628n)/2);
		this.yKj=x7exB[this.p83];
		this.$lR=m7Q5i[this.p83];
		this.I32C6=E8j[this.p83]+"/";
		this.AKC2=Math.floor((this.maplet.JAf5K)/this.yKj);
		this.T5X=Math.floor((this.maplet.D081)/this.$lR);
		if(this.AKC2<0)this.AKC2+=1;
		this.q70=this.width/2-Math.round(((this.JAf5K*tann4)%(this.yKj*tann4))*this.FW53/(this.yKj*tann4));
		if(this.D081>=0)
		{
			this.Fa_=this.height/2-this._628n+Math.round(((this.D081*tann4)%(this.$lR*tann4))*this._628n/(this.$lR*tann4))
		}
		else
		{
			this.Fa_=this.height/2+Math.round(((this.D081*tann4)%(this.$lR*tann4))*this._628n/(this.$lR*tann4))
		}
		var tk5d=nh4[this.p83];
		this.UI8Y=0;
		this.p897=0;
		this.mB36=this.width;
		this.s17=this.height;
		this.y81Fs=parseInt(this.AKC2);
		this.B0Rq=parseInt(this.T5X);
		this.Tt02H=parseInt(this.AKC2);
		this.FKmB6=parseInt(this.T5X);
		var rFv=(360/x7exB[this.p83]);
		this.oc59=1.0;
		this.sd142=0.0;
		for(var i in this.L28)
		{
			if(this.L28[i]!=null)
			{
				this.L28[i].B75=false
			}
		}
		for(Ar1j=-this.TR45-1;Ar1j<=this.TR45;Ar1j++ )
		{
			for(_8U_6=-this.U06-1;_8U_6<=this.U06;_8U_6++ )
			{
				try
				{
					var Ve2=this.maplet.P4OM1+"mapbank/"+F5x+"/"+this.I32C6;
					var Gska=parseInt(this.AKC2+Ar1j);
					var o4U=parseInt(this.T5X+_8U_6);
					Gska=(Gska)%rFv;
					if(Gska>=(rFv/2))Gska-=rFv;
					if(Gska<(-rFv/2))Gska+=rFv;
					var _e5=parseInt(Math.floor((Gska)/tk5d));
					var S3n=parseInt(Math.floor((o4U)/tk5d));
					{
						if(_e5<0)_e5+=1;
						if(S3n<0)S3n+=1
					}
					var Q4T=(Gska)-_e5*tk5d;
					var yOb7=(o4U)-S3n*tk5d;
					Ve2+=_e5+"_"+S3n+"/";
					Ve2+=Q4T+"_"+yOb7+"."+this.$19b4;
					var y26=(Ar1j*this.FW53)+parseInt(this.q70);
					var TN_=(-(_8U_6*this._628n)+parseInt(this.Fa_));
					var nrg0=TN_;
					if(this.l_F!="aerial"&&this.l_F.indexOf("aerial")<0)
					{
						TN_=TN_+c$$[this.p83]
					}
					if(y26<-this.FW53||y26>this.width||TN_>this.height||TN_<-this._628n)continue;
					if(this.UI8Y<(y26+this.FW53))
					{
						this.UI8Y=(y26+this.FW53);
						this.y81Fs=parseInt(this.AKC2)+parseInt(Ar1j)
					}
					if(this.p897<(TN_+this._628n))
					{
						this.p897=(TN_+this._628n);
						this.FKmB6=parseInt(this.T5X)+parseInt(_8U_6)
					}
					if(this.mB36>y26)
					{
						this.mB36=y26;
						this.Tt02H=parseInt(this.AKC2)+parseInt(Ar1j)
					}
					if(this.s17>TN_)
					{
						this.s17=TN_;
						this.B0Rq=parseInt(this.T5X)+parseInt(_8U_6)
					}
					var f3R4="__ov_"+((this.p83).toString(16)+(this.AKC2+Ar1j).toString(16)+'l'+(this.T5X+_8U_6).toString(16)).toLowerCase();
					if(Ve2&&Ve2.indexOf("NaN")<0)
					{
						if(this.L28[f3R4]==null)
						{
							this.L28[f3R4]=new Image();
							this.L28[f3R4].id=f3R4;
							this.L28[f3R4].name=f3R4;
							this.L28[f3R4].ntry="0";
							this.L28[f3R4].unselectable="on";
							this.L28[f3R4].style.position="absolute";
							this.L28[f3R4].onmousedown=function()
							{
								return false
							};
							this.L28[f3R4].src=Ve2
						}
						var J43us=(y26+this.FW53/2-this.width/2)*this.oc59-(TN_+this._628n/2-this.height/2)*this.sd142+this.width/2;
						var A_51=(y26+this.FW53/2-this.width/2)*this.sd142+(TN_+this._628n/2-this.height/2)*this.oc59+this.height/2;
						this.L28[f3R4].style.top=parseInt(A_51-this._628n/2)+"px";
						this.L28[f3R4].style.left=parseInt(J43us-this.FW53/2)+"px";
						this.L28[f3R4].B75=true
					}
					Ve2=null;
					f3R4=null
				}
				catch(hXA)
				{
				}
			}
		}
		for(var i in this.L28)
		{
			try
			{
				if(this.L28[i]!=null)
				{
					if(this.L28[i].B75==true)
					{
						if(this.L28[i].parentNode!=this.KNl_0)
						{
							this.KNl_0.appendChild(this.L28[i])
						}
					}
					else
					{
						if(this.L28[i].parentNode!=null)
						{
							this.L28[i].parentNode.removeChild(this.L28[i])
						}
						this.L28[i].onmousedown=null;
						this.L28[i].onerror=null;
						this.L28[i].onload=null;
						this.L28[i]=null
					}
				}
			}
			catch(hXA)
			{
			}
		}
		var pNg8=parseInt(this.maplet.width*this.maplet.yKj/this.yKj);
		var N70G6=parseInt(this.maplet.height*this.maplet.$lR/this.$lR);
		if(pNg8>this.width&&N70G6>this.height)
		{
			this.V68.style.visibility="hidden";
			this.w467.style.visibility="hidden";
			this.ei7.style.visibility="hidden"
		}
		else
		{
			this.V68.style.left=parseInt(this.width-pNg8)/2+"px";
			this.V68.style.top=parseInt(this.height-N70G6)/2+"px";
			this.V68.style.width=(pNg8)+"px";
			this.V68.style.height=(N70G6)+"px";
			this.V68.style.visibility="visible";
			this.w467.style.left=parseInt(this.width-pNg8)/2+"px";
			this.w467.style.top=parseInt(this.height-N70G6)/2+"px";
			this.w467.style.width=(pNg8)+"px";
			this.w467.style.height=(N70G6)+"px";
			this.w467.style.visibility="visible";
			this.ei7.style.left=parseInt(this.width-pNg8)/2+"px";
			this.ei7.style.top=parseInt(this.height-N70G6)/2+"px";
			this.ei7.style.width=(pNg8)+"px";
			this.ei7.style.height=(N70G6)+"px";
			this.ei7.style.visibility="visible"
		}
	}
};
var bpp=new Array("http://image.mapbar.com/maplite/mapbank/base/",12,13);
function Maplet(D081,JAf5K,kWT_,M029,W8GNB,PU1,$tbR4,A23,g66)
{
	this.H3O42=0;
	this._94=0;
	this.kmGE=0;
	this.CR3k=0;
	this.E1JF=0;
	this.r8t=0;
	this.offsetX=0;
	this.offsetY=0;
	this.FW53=300;
	this._628n=300;
	this.dCq=eY1L.qUW5;
	this.id="mapbar";
	this.H5K80=((new Date().getTime())%86400000).toString(36)+(parseInt(Math.random()*1000)).toString(36);
	if(typeof strRemoteIP!="undefined"&&strRemoteIP)
	{
		this.H5K80+="*"+strRemoteIP
	}
	document["mapbar-maplet"]=this;
	this.left=(typeof PU1=="undefined")?0:parseInt(PU1);
	this.top=(typeof $tbR4=="undefined")?0:parseInt($tbR4);
	this.width=(typeof M029=="undefined")?600:parseInt(M029);
	this.height=(typeof W8GNB=="undefined")?400:parseInt(W8GNB);
	if(isNaN(parseFloat(D081)))
	{
		this.id=D081;
		var J$w=D081;
		this.r99=(typeof J$w=="object")?J$w:document.getElementById(J$w);
		if(JAf5K!=null&&JAf5K!="undefined")
		{
			var mj24=E97.tnt2(JAf5K);
			this.D081=Math.min(v3r[1],Math.max(v3r[0],parseFloat(mj24[1])));
			this.JAf5K=Math.min(Oj14[1],Math.max(Oj14[0],parseFloat(mj24[0])%360));
			mj24=null
		}
		if(typeof this.r99!="undefined"&&this.r99!=null)
		{
			this.left=0;
			this.top=0;
			if(this.r99.style.left)this.left=parseInt(this.r99.style.left);
			if(this.r99.style.top)this.top=parseInt(this.r99.style.top);
			if(this.r99.style.width)this.width=parseInt(this.r99.style.width);
			if(this.r99.style.height)this.height=parseInt(this.r99.style.height)
		}
	}
	else
	{
		this.JAf5K=JAf5K;
		this.D081=D081
	}
	this.P4OM1=strImgsvrUrl;
	this.p83=(typeof kWT_=="undefined")?0:parseInt(kWT_);
	this.x5592=0;
	this.sRn7=0;
	this.rotation=0;
	this.oc59=Math.cos(this.rotation/180*Math.PI);
	this.sd142=Math.sin(this.rotation/180*Math.PI);
	this.A23=(A23=="undefined")?"":A23;
	this.L28=new Array();
	this.a2129=new Array();
	this.l_F=(typeof g66=="undefined"||g66==null)?ds:g66;
	this.o4mMG=null;
	this.Ffr8='';
	this.$19b4="png";
	this.Q68Vj=this.l_F;
	this.L89="";
	this.j$46=this.l_F;
	this.U6nD=null;
	this.$yT_4=null;
	this.uX9=this.l_F;
	this.m7v20=null;
	this.bp=true;
	this.R7C50=false;
	this.I1b=true;
	this.u4$=true;
	this.k3n=null;
	this.OXs53=(typeof bDefaultControlOn=="undefined")?true:bDefaultControlOn;
	this.mNh=false;
	this.TR45=Math.ceil((this.width)/(this.FW53)/2);
	this.U06=Math.ceil((this.height)/(this._628n)/2);
	this.rM_=new Array();
	this.a2xn2=new Array();
	this.V312=new Array();
	this.c2csd=null;
	this.L28=new Array();
	this.Br097=new Array();
	this.Y5M=null;
	this.RLHlk=null;
	this.Rv44=null;
	this._Y8=null;
	this.g4dw=null;
	this.brush=new MBrush("#FF0000",2);
	this.G6S8W=0;
	this.mjN5=false;
	this.t756=null;
	this.X1RVx=new Image();
	this.yk61=new MBound(0,0,0,0);
	this.N7324=false;
	this.t5005=false;
	this.Ia01=new Array();
	this.k9qp=true;
	this.a83=false;
	this.a2d6B=new Array();
	this.U67=new Array();
	this.s8i=this.dCq;
	this.P1j=false;
	this.wu2=false;
	this.fM1_8==null;
	this.c7j5T=0;
	this.AM31c=1.0;
	this.Vn81=null;
	this.wmpq=null;
	if(this.width>480)
	{
		oww=210;
		owh=140
	}
	this.ovw=new _36o9(this);
	this.V76yb=new C$$F(this);
	if(hbo)this.V76yb.start();
	this.UuU=new Array();
	if(typeof this.r99=="undefined"||this.r99==null)
	{
		document.writeln('<div unselectable="on" id="'+this.id+'" style="position:absolute;overflow:hidden; width:'+this.width+'px; height:'+this.height+'px; left:'+this.left+'px; top:'+this.top+'px;"></div>');
		this.r99=d03(this.id)
	}
	else
	{
		this.r99.style.overflow="hidden"
	}
	this.map=this.r99;
	if(this.map)
	{
		this.map.innerHTML=ah8;
		this.map.style.backgroundImage="url("+I66+")";
		this.map.setAttribute("align","left");
		if(this.map.style.position!="absolute")
		{
			this.map.style.position="relative"
		}
	}
	iq1m3(this);
	this.toString=function()
	{
		return "com.maplet.Maplet"
	};
	this.H62=function(w38s1)
	{
		this.mjN5=(w38s1)?true:false
	};
	this.moveTo=function(left,top)
	{
		this.top=parseInt(top);
		this.left=parseInt(left);
		this.r99.style.top=parseInt(top)+"px";
		this.r99.style.left=parseInt(left)+"px"
	};
	this.resize=function(M029,W8GNB)
	{
		M029=parseInt(M029);
		W8GNB=parseInt(W8GNB);
		this.hideBubble();
		this.width=M029;
		this.height=W8GNB;
		iq1m3(this);
		this.TR45=Math.ceil((this.width)/(this.FW53)/2);
		this.U06=Math.ceil((this.height)/(this._628n)/2);
		this.r99.style.width=M029+"px";
		this.r99.style.height=W8GNB+"px";
		this.r99.style.clip='rect(0 '+this.width+' '+this.height+' 0)';
		this.s0579.resize(M029,W8GNB);
		this.k9ah.resize(M029,W8GNB);
		this.D7C3.resize(M029,W8GNB);
		if(this.R7C50)
		{
			this.gYn6().resize(W8GNB);
			this.gYn6().moveTo(this.width-16,0)
		}
		if(this.u4$)this.t4nI.moveTo(0,this.height-24);
		if(this.I1b)
		{
			var Wu_2Q=0;
			this.$eJ4L=55;
			if((this.ovw.cJ95()+this.ovw.mM3Q())>(this.height-18))
			{
				Wu_2Q+=Math.max(0,this.ovw.x56()-(this.$eJ4L-6))
			}
			this.a7W4.resize(this.$eJ4L,this.a7W4.mM3Q());
			this.a7W4.moveTo(this.width-this.$eJ4L-6-Wu_2Q,this.height-18)
		}
		var S0_=(go2Or)?0:2;
		this.hKd.resize(M029-S0_,W8GNB-S0_);
		this.Cr0B.resize(this.width,0);
		this.h1C33.resize(this.width,0);
		this._2551.resize(0,this.height);
		this.CVXF8.resize(0,this.height);
		this.CVXF8.moveTo(this.width-1,0);
		this.h1C33.moveTo(0,this.height-3+S0_);
		this.S94T.resize(M029,W8GNB);
		this.setZoomLevel(this.p83);
		for(var rC437 in this.a2d6B)
		{
			if(this.a2d6B[rC437]&&this.a2d6B[rC437].onresize)
			{
				this.a2d6B[rC437].onresize(this)
			}
		}
		this.ovw.onresize()
	};
	this.onresize=function()
	{
		if(this.I1b)
		{
			var Wu_2Q=0;
			this.$eJ4L=55;
			if((this.ovw.cJ95()+this.ovw.mM3Q())>(this.height-18))
			{
				Wu_2Q+=Math.max(0,this.ovw.x56()-(this.$eJ4L-6))
			}
			this.a7W4.resize(this.$eJ4L,this.a7W4.mM3Q());
			this.a7W4.moveTo(this.width-this.$eJ4L-6-Wu_2Q,this.height-18)
		}
	};
	this.gYn6=function()
	{
		if(!this.R7C50)return null;
		if(this.yPv==null)
		{
			this.yPv=new $gJL(this,-1,this.width-16,0,16,this.height,this.R7C50,this.r99)
		}
		return this.yPv
	};
	this.centerAndZoom=function(pt,kWT_)
	{
		this.setCenter(pt,"",false);
		if(typeof this.s0579=="undefined")
		{
			this.p83=this.setZoomLevel(kWT_,false);
			this.showMap()
		}
		else
		{
			this.setZoomLevel(kWT_)
		}
	};
	this.M$163=function(hXA)
	{ 
		MEvent.WB6(this,'contextmenu');
		var uVV=document["mapbar-maplet"];
		//if(Map1)uVV=Map1;
		var GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		var target=(go2Or)?event.srcElement:hXA.target;
		var target=(go2Or)?event.srcElement:hXA.target;
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-uVV.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-uVV.offsetY;
		uVV.GRPE=GRPE;
		uVV.vaiO=GRPE;
		uVV.E1JF=mJ3H-uVV.left;
		uVV.r8t=T8FG5-uVV.top;
		uVV.MCDq2=uVV.i3k(uVV.E1JF,uVV.r8t);
		uVV.nii7=uVV.ALe0(uVV.E1JF,uVV.r8t);
		E97.km9V_=uVV.nii7;
		E97.t18=uVV.MCDq2;
		uVV.NP3w8=E97.$447();
		if(typeof target.contextmenu!="undefined"&&target.contextmenu!=null)
		{
			if(uVV.Vn81==null)
			{
				uVV.setContextMenu(target.contextmenu);
				uVV.setStandardContextMenu(null)
			}
			else
			{
				uVV.setContextMenu(target.contextmenu)
			}
			if(uVV.wmpq!=null)
			{
				uVV.getContextMenu().show(uVV.E1JF,uVV.r8t)
			}
		}
		else
		{
				
			if(uVV.wmpq!=uVV.Vn81)
			{
				uVV.setContextMenu(uVV.Vn81)
			}
			if(uVV.wmpq!=null)
			{
				uVV.wmpq.show(uVV.E1JF,uVV.r8t)
			}

		}
		return false
	};
	this.getContextMenu=function()
	{
		return this.wmpq
	};
	this.setContextMenu=function(T5d)
	{
		if(this.wmpq!=T5d)
		{
			this.removeContextMenu()
		}
		this.wmpq=T5d;
		if(typeof this.Vn81=="undefined"||this.Vn81==null)
		{
			this.Vn81=this.wmpq
		}
		if(this.wmpq!=null)
		{
			this.wmpq.E_431(this)
		}
	};
	this.setStandardContextMenu=function(T5d)
	{
		this.Vn81=T5d
	};
	this.removeContextMenu=function()
	{
		if(this.wmpq!=null)
		{
			this.s0579.i8W96.removeChild(this.wmpq.eKj18);
			this.wmpq.maplet=null;
			this.wmpq=null
		}
	};
	
	this.inDiv=function(a,b,c,d,e,f,g){
		return new e5J(a,this.width-b,c,d,e,true,f,g,this.r99);
	};
	this.showMap=function()
	{
		if(MapBackgroundColor)this.r99.style.backgroundColor=MapBackgroundColor;
		this.r99.oncontextmenu=this.M$163;		
		this.Q7Qie=new e5J("MapContainerBg",0,0,this.width,this.height,true,0,'',this.r99);
		this.s0579=new e5J("MapContainer",0,0,this.width,this.height,true,2,'',this.r99);
		this.Om91w=new e5J("ToolTip",0,0,0,0,false,24,'',this.s0579);
		this.k9ah=new e5J("LayerMap",0,0,this.width,this.height,true,2,'',this.s0579);
		this.D7C3=new e5J("LayerPoiMap",0,0,this.width,this.height,true,3,'',this.s0579);
		this.gYn6();
		if(this.OXs53)
		{
			var _7l52=new MStandardControl();
			this.addControl(_7l52);
			this.C796w=_7l52.$75
		}
		{
			this.t4nI=new e5J("LayerScale",1,this.height-24,100,24,this.u4$,3,'',this.r99)
		}
		var content='<table bordercolor="#4444EE" border="2" width="100%" height="100%"><tr><td></td></tr></table>';
		this._W_2=new e5J("LayerBorder",1,1,1,1,true,6,content,this.r99);
		var S0_=(go2Or)?0:2;
		this.hKd=new e5J("LayerMask",0,0,this.width-S0_,this.height-S0_,true,2,'',this.s0579);
		this.hKd.style.backgroundImage="url("+strImgsvrUrl+"images/mask.gif)";
		this.Cr0B=new e5J("mapbar-bordertop",0,0,this.width,0,false,6,'',this.r99);
		this._2551=new e5J("mapbar-borderlft",0,0,0,this.height,false,6,'',this.r99);
		this.h1C33=new e5J("mapbar-borderbtm",0,this.height-3+S0_,this.width,0,false,6,'',this.r99);
		this.CVXF8=new e5J("mapbar-borderrgt",this.width-1,0,0,this.height,false,6,'',this.r99);
		this.S94T=new e5J("LayerDrawMap",0,0,this.width,this.height,false,4,'',this.s0579);
		this.S94T.style.backgroundImage="url("+strImgsvrUrl+"images/mask.gif)";
		this.ovw.e0j70(this.r99);
		{
			var rightMargin=15;
			var Wu_2Q=0;
			this.$eJ4L=55;
			if((this.ovw.cJ95()+this.ovw.mM3Q())>(this.height-18))
			{
				Wu_2Q+=Math.max(0,this.ovw.x56()-(this.$eJ4L-6))
			}
			this.a7W4=new e5J("LayerLogo",this.width-55-rightMargin,this.height-18,55,18,this.I1b,3,'',this.r99);
			this.a7W4.style.cursor=(go2Or)?'hand':'pointer'
			}
		{
			MEvent.bindDom(this.map,"mousemove",this,this.l6p);
			MEvent.bindDom(this.map,"mousedown",this,this.YF6);
			MEvent.bindDom(this.map,"mouseup",this,this.EQsCv);
			MEvent.bindDom(this.map,"click",this,this.V21);
			MEvent.bindDom(this.map,"dblclick",this,this._2_);
			MEvent.bindDom(this.map,"mouseout",this,this.lwm);
			MEvent.bindDom(this.map,"drag",this,this.l6p);
			MEvent.bindDom(this.map,"dragstart",this,this.l6p);
			MEvent.bindDom(this.map,"dragend",this,this.l6p);
			MEvent.bindDom(this.map,"mouseover",this,this.VtGr6);
			if(mw)MEvent.bindDom(this.map,"mousewheel",this,this.a36);
			if(kp)MEvent.bindDom(document,"keydown",this,this.onkeydown);
		}
		this.R283();
		this.setZoomLevel(this.p83);
		this.setMode(this.dCq);
		if(this.fM1_8==null)
		{
			this.fM1_8=setInterval("document['mapbar-maplet'].m1N$()",100)
		}
	};
	this.R283=function()
	{
		this._W_2.hide();
		this._W_2.resize(1,1);
		this._W_2.moveTo(-10,-10);
		if(document.all)
		{
			this.k9ah.moveTo(0,0);
			this.k9ah.show();
			this.D7C3.moveTo(0,0);
			this.D7C3.show();
			this.S94T.moveTo(0,0);
			this.S94T.show();
			this.hKd.moveTo(0,0);
			this.hKd.show()
		}
	};
	this.setStyle=function(v1A,Sj2E)
	{
		if(this.l_F!=v1A)
		{
			this.l_F=v1A;
			if("aerial"==this.l_F||this.l_F.indexOf("aerial")>=0)
			{
				this.$19b4="jpg"
			}
			else
			{
				this.$19b4="png"
			}
			if(typeof Sj2E!="undefined")
			{
				this.$19b4=Sj2E
			}
			if(typeof this.s0579!="undefined")
			{
				for(var i in this.L28)
				{
					try
					{
						if(this.L28[i]!=null&&typeof this.L28[i]=="object")
						{
							if(this.L28[i].parentNode!=null)
							{
								this.L28[i].parentNode.removeChild(this.L28[i])
							}
							this.L28[i]=null
						}
					}
					catch(hXA)
					{
					}
				}
				if(!go2Or)
				{
					this.k9ah.graphics.clear();
					this.D7C3.graphics.clear();
					this.S94T.graphics.clear();
					this.hKd.graphics.clear()
				}
				this.refresh();
				MEvent.WB6(this,"style",v1A)
			}
		}
	};
	this.setRotation=function(g0Oxl)
	{
		if(go2Or&&rs)
		{
			this.rotation=g0Oxl;
			this.oc59=Math.cos(this.rotation/180*Math.PI);
			this.sd142=Math.sin(this.rotation/180*Math.PI)
		}
	};
	this.setHeadMode=function(J8_X)
	{
		this.x5592=J8_X
	};
	this.setOverlay=function(j_990,$3Id)
	{
		if(typeof $3Id=="string")
		{
			this.Ffr8=$3Id
		}
		if(this.o4mMG!=j_990)
		{
			this.o4mMG=j_990
		}
		if(typeof this.s0579!="undefined")
		{
			this.refresh()
		}
	};
	if(bp==true)
	{
		this.setOverlay('base')
	}
	this.getZoomLevel=function()
	{
		return this.p83
	};
	this.setZoomLevel=function(kWT_,bJ1n)
	{
		this.Qp_9(kWT_);
		kWT_=parseInt(kWT_);
		if(kWT_<N29B8)
		{
			kWT_=N29B8
		}
		if(kWT_>K0133)
		{
			kWT_=K0133
		}
		if(bJ1n==false)return kWT_;
		MEvent.WB6(this,"zoom","&act=zoom&zm="+kWT_);
		if(this.p83!=kWT_&&kWT_>3)
		{
			if(iToolTipStyle==0)hideToolTipMenu();
			this.hideBubble();
			if(!go2Or)
			{
				this.k9ah.graphics.clear();
				this.D7C3.graphics.clear();
				this.S94T.graphics.clear();
				this.hKd.graphics.clear()
			}
			else
			{
				this.Q7Qie.i8W96.style.zoom=this.s0579.i8W96.style.zoom;
				this.Q7Qie.i8W96.style.left=this.s0579.i8W96.style.left;
				this.Q7Qie.i8W96.style.top=this.s0579.i8W96.style.top;
				this.Q7Qie.i8W96.style.visibility="visible";
				for(var i in this.L28)
				{
					if(this.L28[i]!=null&&typeof this.L28[i]=="object")
					{
						if(this.L28[i].parentNode!=null)
						{
							this.L28[i].parentNode.removeChild(this.L28[i]);
							this.Q7Qie.i8W96.appendChild(this.L28[i])
						}
					}
				}
			}
		}
		else
		{
			if(!go2Or)
			{
				this.k9ah.graphics.clear();
				this.D7C3.graphics.clear();
				this.S94T.graphics.clear();
				this.hKd.graphics.clear()
			}
			this.jm55()
		}
		if(this.C796w!=null)
		{
			this.C796w.Q44(kWT_)
		}
		if(this.a2d6B!=null)
		{
			for(var OOm in this.a2d6B)
			{
				if(this.a2d6B[OOm].$75)this.a2d6B[OOm].$75.C796w.i8W96.Q44(kWT_)
			}
		}
		if(this.R7C50)this.gYn6().setZoomLevel(kWT_);
		this.p83=kWT_;
		this.yKj=x7exB[this.p83];
		this.$lR=m7Q5i[this.p83];
		this.I32C6=E8j[this.p83]+"/";
		{
			this.AKC2=Math.floor((this.JAf5K)/this.yKj);
			this.T5X=Math.floor((this.D081)/this.$lR);
			if(this.AKC2<0)this.AKC2+=1;
			this.q70=this.width/2-Math.round(((this.JAf5K*tann4)%(this.yKj*tann4))*this.FW53/(this.yKj*tann4));
			if(this.D081>=0)
			{
				this.Fa_=this.height/2-this._628n+Math.round(((this.D081*tann4)%(this.$lR*tann4))*this._628n/(this.$lR*tann4))
			}
			else
			{
				this.Fa_=this.height/2+Math.round(((this.D081*tann4)%(this.$lR*tann4))*this._628n/(this.$lR*tann4))
			}
		}
		this.a4s11();
		this.refresh()
	};
	this.a4s11=function()
	{
		var $mN84=x7exB[this.p83]*this.width/this.FW53;
		this.yk61.l1IHs=(this.JAf5K-$mN84/2);
		this.yk61.qb21=(this.JAf5K+$mN84/2);
		var M18=m7Q5i[this.p83]*this.height/this._628n;
		this.yk61.lJ5l=(this.D081-M18/2);
		this.yk61.D8FN4=(this.D081+M18/2)
	};
	this.Qp_9=function(kWT_)
	{
		if(this.Ia01!=null&&this.Ia01.length>0)
		{
			K0133=this.yk61.QP6;
			N29B8=this.yk61.v9C7;
			var $mN84=x7exB[kWT_]*this.width/this.FW53;
			var l1IHs=(this.JAf5K-$mN84/2);
			var qb21=(this.JAf5K+$mN84/2);
			var M18=m7Q5i[kWT_]*this.height/this._628n;
			var lJ5l=(this.D081-M18/2);
			var D8FN4=(this.D081+M18/2);
			for(var i=0;i<this.Ia01.length;i++)
			{
				if(this.Ia01[i].P30(lJ5l,l1IHs)&&this.Ia01[i].P30(D8FN4,qb21))
				{
					K0133=this.Ia01[i].QP6;
					N29B8=this.Ia01[i].v9C7;
					break
				}
			}
		}
	};
	this.setBound=function(jST26)
	{
		this.yk61=jST26
	};
	this.refresh=function()
	{
		this.OEKh();
		this.Rsq3P()
	};
	this.OEKh=function()
	{
		if(this.t5005==true)
		{
			return
		}
		if(this.P1j==true)
		{
			return
		}
		this.t5005=true;
		this.P1j=true;
		Jd5=0;
		var wE9f1=new Date().getTime();
		if(this.bp==false||this.bp=="false")
		{
			if(!go2Or)this.D7C3.graphics.clear()
		}
		this.s0579.moveTo(0,0);
		this.D7C3.moveTo(0,0);
		this.S94T.moveTo(0,0);
		this.hKd.moveTo(0,0);
		if(go2Or)
		{
			this.S94T.clear();
			this.D7C3.clean()
		}
		else
		{
			this.S94T.graphics.clear();
			this.k9ah.graphics.clear();
			this.hKd.graphics.clear()
		}
		this.s0579.i8W96.style.zoom=1;
		var A0q$='';
		var $m40='';
		for(var i in this.L28)
		{
			if(this.L28[i]!=null)
			{
				this.L28[i].B75=false
			}
		}
		var m0N9=0;
		var F5x=this.l_F;
		var OP1=(this.o4mMG=="undefined"||this.o4mMG==null)?"poi":this.o4mMG;
		var tk5d=nh4[this.p83];
		this.UI8Y=0;
		this.p897=0;
		this.mB36=this.width;
		this.s17=this.height;
		this.y81Fs=parseInt(this.AKC2);
		this.B0Rq=parseInt(this.T5X);
		this.Tt02H=parseInt(this.AKC2);
		this.FKmB6=parseInt(this.T5X);
		var VpF6$=new Array();
		var CL797=new Array();
		var fn_=parseInt(new Date().getTime()/60000);
		var rFv=(360/x7exB[this.p83]);
		for(Ar1j=-this.TR45-1;Ar1j<=this.TR45;Ar1j++ )
		{
			for(_8U_6=-this.U06-1;_8U_6<=this.U06;_8U_6++ )
			{
				try
				{
					var Ve2=this.P4OM1+"mapbank/"+F5x+"/"+this.I32C6;
					var X3m4=this.P4OM1+"mapbank/"+OP1+"/"+this.I32C6;
					var o25G=this.P4OM1+"mapbank/base/"+this.I32C6;
					var Gska=parseInt(this.AKC2+Ar1j);
					var o4U=parseInt(this.T5X+_8U_6);
					Gska=(Gska)%rFv;
					if(Gska>=(rFv/2))Gska-=rFv;
					if(Gska<(-rFv/2))Gska+=rFv;
					var _e5=parseInt(Math.floor((Gska)/tk5d));
					var S3n=parseInt(Math.floor((o4U)/tk5d));
					{
						if(_e5<0)_e5+=1;
						if(S3n<0)S3n+=1
					}
					var Q4T=(Gska)-_e5*tk5d;
					var yOb7=(o4U)-S3n*tk5d;
					X3m4+=_e5+"_"+S3n+"/";
					o25G+=_e5+"_"+S3n+"/";
					Ve2+=_e5+"_"+S3n+"/";
					X3m4+=Q4T+"_"+yOb7+".png";
					o25G+=Q4T+"_"+yOb7+".js";
					Ve2+=Q4T+"_"+yOb7+"."+this.$19b4;
					var y26=(Ar1j*this.FW53)+parseInt(this.q70);
					var TN_=(-(_8U_6*this._628n)+parseInt(this.Fa_));
					var nrg0=TN_;
					if(this.l_F!="aerial"&&this.l_F.indexOf("aerial")<0)
					{
						TN_=TN_+c$$[this.p83]
					}
					if(y26<-this.FW53||y26>this.width||TN_>this.height||TN_<-this._628n)continue;
					if(this.UI8Y<(y26+this.FW53))
					{
						this.UI8Y=(y26+this.FW53);
						this.y81Fs=parseInt(this.AKC2)+parseInt(Ar1j)
					}
					if(this.p897<(TN_+this._628n))
					{
						this.p897=(TN_+this._628n);
						this.FKmB6=parseInt(this.T5X)+parseInt(_8U_6)
					}
					if(this.mB36>y26)
					{
						this.mB36=y26;
						this.Tt02H=parseInt(this.AKC2)+parseInt(Ar1j)
					}
					if(this.s17>TN_)
					{
						this.s17=TN_;
						this.B0Rq=parseInt(this.T5X)+parseInt(_8U_6)
					}
					var f3R4=((this.p83).toString(16)+(this.AKC2+Ar1j).toString(16)+'l'+(this.T5X+_8U_6).toString(16)).toLowerCase();
					if(m0N9==0)
					{
						m0N9=1
					}
					if(Ve2&&Ve2.indexOf("NaN")<0)
					{
						if(this.L28[f3R4]==null)
						{
							if(!rs||!go2Or)
							{
								this.L28[f3R4]=new Image();
								this.L28[f3R4].id=f3R4;
								this.L28[f3R4].name=f3R4;
								this.L28[f3R4].ntry="0";
								this.L28[f3R4].unselectable="on";
								this.L28[f3R4].style.position="absolute";
								_TP.gTq2(this.L28[f3R4],Ve2)
							}
							else
							{
								this.L28[f3R4]=document.createElement("v:Image");
								this.L28[f3R4].id=f3R4;
								this.L28[f3R4].name=f3R4;
								this.L28[f3R4].ntry="0";
								this.L28[f3R4].unselectable="on";
								this.L28[f3R4].style.position="absolute";
								this.L28[f3R4].gV_0="f";
								this.L28[f3R4].style.rotation=this.rotation;
								this.L28[f3R4].style.width=this.FW53;
								this.L28[f3R4].style.height=this._628n;
								_TP.gTq2(this.L28[f3R4],Ve2)
							}
						}
						else
						{
							if(go2Or&&rs)
							{
								this.L28[f3R4].style.rotation=this.rotation
							}
						}
						var J43us=(y26+this.FW53/2-this.width/2)*this.oc59-(TN_+this._628n/2-this.height/2)*this.sd142+this.width/2;
						var A_51=(y26+this.FW53/2-this.width/2)*this.sd142+(TN_+this._628n/2-this.height/2)*this.oc59+this.height/2;
						this.L28[f3R4].style.top=parseInt(A_51-this._628n/2)+"px";
						this.L28[f3R4].style.left=parseInt(J43us-this.FW53/2)+"px";
						this.L28[f3R4].B75=true
					}
					if(this.o4mMG!=null&&this.o4mMG=="traffic")
					{
						var U_2Jc=bpp[0]+"traffic_png?oid=o"+f3R4+"\&now="+fn_;
						if(go2Or)
						{
							$m40+="<div unselectable=on id=\"o"+f3R4+"\" name=\""+f3R4+"\" STYLE=\"position:absolute;width:300px;height:300px;top:"+nrg0+"px;left:"+y26+"px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (src='"+U_2Jc+"', sizingMethod='scale');\" ></div>"
						}
						else
						{
							$m40+='<img id=o'+f3R4+' name='+f3R4+' src="'+U_2Jc+'" ntry="0" unselectable=on onerror="javascript:imageTileError(this);" onload="javascript:imageTileOk(this);" style="position:absolute;top:'+TN_+'px;left:'+y26+'px;">'
						}
						VpF6$[VpF6$.length]='o'+f3R4;
						CL797[CL797.length]=_e5+"_"+S3n+"/";
					}
					else if(this.o4mMG!=null&&this.o4mMG!="undefined"&&X3m4&&X3m4.indexOf("NaN")<0)
					{
						if(true||go2Or)
						{
							$m40+='<div unselectable="on" id=o'+f3R4+' name='+f3R4+' STYLE="position:absolute;width:0px;height:0px;top:'+nrg0+'px;left:'+y26+'px;" ></div>'
						}
						else
						{
							$m40+='<img id=o'+f3R4+' name='+f3R4+' src="'+X3m4+'" ntry="0" unselectable=on onerror="javascript:imageTileError(this);" onload="javascript:imageTileOk(this);" style="position:absolute;top:'+TN_+'px;left:'+y26+'px;">'
						}
						VpF6$[VpF6$.length]='o'+f3R4;
						CL797[CL797.length]=_e5+"_"+S3n+"/";
					}
					if(bp==true)
					{
					}
					Ve2=null;
					X3m4=null
				}
				catch(hXA)
				{
				}
			}
		}
		for(var i in this.L28)
		{
			try
			{
				if(this.L28[i]!=null&&typeof this.L28[i]=="object")
				{
					if(this.L28[i].B75==true||this.L28[i].B75=="true")
					{
						if(this.L28[i].parentNode!=this.k9ah.i8W96)
						{
							if(this.L28[i].parentNode!=null)
							{
								this.L28[i].parentNode.removeChild(this.L28[i])
							}
							this.k9ah.i8W96.appendChild(this.L28[i])
						}
					}
					else
					{
					}
				}
			}
			catch(hXA)
			{
			}
		}
		this.S94T.i8W96.innerHTML=$m40;
		A0q$=null;
		$m40=null;
		if(this.k9ah.i8W96.parentNode!=this.s0579.i8W96)
		{
			this.s0579.i8W96.appendChild(this.k9ah.i8W96)
		}
		if(this.D7C3.i8W96.parentNode!=this.s0579.i8W96)
		{
			this.s0579.i8W96.appendChild(this.D7C3.i8W96)
		}
		if(this.mjN5==true&&document.getElementById("LayerMap")&&document.getElementById("LayerMap").filters&&document.getElementById("LayerMap").filters.length>0)
		{
			document.getElementById("LayerMap").filters[0].apply();
			document.getElementById("LayerMap").filters[0].qLa9()
		}
		if(this.a2xn2.length>0)
		{
			for(ke850=0;ke850<this.a2xn2.length;ke850++)
			{
				if(go2Or)
				{
					this.a2xn2[ke850].paint(this.S94T.i8W96)
				}
				else
				{
					this.a2xn2[ke850].Jg2(this.S94T.graphics)
				}
			}
		}
		if(this._Y8!=null)
		{
			if(go2Or)
			{
				this._Y8.paint(this.S94T.i8W96);
				this.g4dw.paint(this.S94T.i8W96)
			}
			else
			{
				this._Y8.Jg2(this.S94T.graphics);
				this.g4dw.Jg2(this.S94T.graphics)
			}
		}
		var c1n=new Date().getTime();
		{
			if(this.rM_.length>0)
			{
				for(ke850=0;ke850<this.rM_.length;ke850++)
				{
					this.rM_[ke850].dys4(this.D7C3.i8W96);
					this.rM_[ke850].paint(this.S94T.i8W96)
				}
			}
		}
		var $w1J=new Date().getTime();
		if(this.V312.length>0)
		{
			if(!go2Or)this.V312[this.V312.length-1].label(this.S94T.graphics)
		}
		else
		{
			if(iToolTipStyle==0)hideToolTipMenu()
		}
		if(this.S94T.i8W96.parentNode!=this.s0579.i8W96)
		{
			this.s0579.i8W96.appendChild(this.S94T.i8W96)
		}
		if(!go2Or)
		{
			this.k9ah.graphics.paint();
			this.D7C3.graphics.paint();
			this.hKd.graphics.paint();
			this.S94T.graphics.paint()
		}
		var D1Fpy=new Date().getTime();
		if(this.Br097.length>0)
		{
			this.RLHlk=null;
			this.Rv44=null;
			this.Y5M=null;
			for(ke850=0;ke850<this.Br097.length;ke850++)
			{
				if(this.p83>=this.Br097[ke850].L2C7L&&this.p83<=this.Br097[ke850].WYd)
				{
					var HpiT=this.tC3A(this.Br097[ke850].t18,this.Br097[ke850].km9V_);
					var l40=this.Y86Yr(this.Br097[ke850].km9V_,this.Br097[ke850].t18);
					if(HpiT>=0&&HpiT<=this.width&&l40>=0&&l40<=this.height)
					{
						if(this.RLHlk==null)
						{
							this.RLHlk=new Array();
							this.Rv44=new Array();
							this.Y5M=new Array()
						}
						this.RLHlk[this.RLHlk.length]=HpiT;
						this.Rv44[this.Rv44.length]=l40;
						this.Y5M[this.Y5M.length]=ke850
					}
				}
			}
		}
		if(!this.N7324)
		{
			this.N7324=true
		}
		for(var S_7=0;S_7<this.a2129.length;S_7++)
		{
			try
			{
				this.a2129[S_7].wEE4h();
				this.a2129[S_7]=null
			}
			catch(pU5)
			{
			}
		}
		this.a2129.length=0;
		if(this.o4mMG!=null&&this.o4mMG!="undefined")
		{
			if(this.o4mMG=="base")
			{
				if(this.p83>=parseInt(bpp[1])&&this.p83<=parseInt(bpp[2]))
				{
					var i=0;
					for(var fI60 in VpF6$)
					{
						try
						{
							if(typeof VpF6$[fI60]=="string")
							{
								var CN1uP=new J227u(bpp[0]+E8j[this.p83]+"/"+CL797[fI60]+VpF6$[fI60]+".png");
								CN1uP.O73D4();
								CN1uP.ss8();
								this.a2129[this.a2129.length]=CN1uP;
								CN1uP=null;
								i++
							}
						}
						catch(pU5)
						{
							alert(pU5)
						}
						VpF6$[fI60]=null;
						CL797[fI60]=null
					}
				}
				else
				{
					for(var fI60 in VpF6$)
					{
						try
						{
							if(typeof VpF6$[fI60]=="string")
							{
								document.getElementById(VpF6$[fI60]).parentNode.removeChild(document.getElementById(VpF6$[fI60]))
							}
						}
						catch(pU5)
						{
						}
						VpF6$[fI60]=null;
						CL797[fI60]=null
					}
				}
			}
			else
			{
				var fn_=parseInt(new Date().getTime()/60000);
				for(var fI60 in VpF6$)
				{
					try
					{ 	alert(6396);
						if((this.o4mMG!="traffic")&&typeof VpF6$[fI60]=="string")
						{
							XMLHttp.sendReq('GET','maplite/'+this.o4mMG+'.jsp?'+this.Ffr8+'&oid='+VpF6$[fI60]+'&epoch='+fn_,'',s2q9W,VpF6$[fI60])
						}
					}
					catch(pU5)
					{
					}
					VpF6$[fI60]=null;
					CL797[fI60]=null
				}
			}
			VpF6$.length=0;
			VpF6$=null;
			CL797.length=0;
			CL797=null
		}
		this.t5005=false;
		this.P1j=false;
		for(var n53 in this.U67)
		{
			if(this.U67[n53]&&this.U67[n53].paint)
			{
				this.U67[n53].paint()
			}
		}
		if(this.ovw)this.ovw.paint();
		E97.km9V_=this.D081;
		E97.t18=this.JAf5K;
		var P6374=E97.$447();
		this.O5P$=P6374+"@"+this.p83;
		this.f505e();
		try
		{
			var eqo="@mapbar"+(new Date().getTime()%86400).toString(36);
			$Y4.src="http://localhost/a?"+this.O5P$+"@"+this.H5K80+"@"+this.width.toString(36).toUpperCase()+"@"+this.height.toString(36).toUpperCase()+"@"+this.dCq.toString(36).toUpperCase()+"@"+c75+"@"+strLicenseKey.toString(36).toUpperCase()+"@"+this.l_F+"@"+((bp)?1:0)+"@"+((this.o4mMG)?this.o4mMG:"")+eqo
		}
		catch(_D2)
		{
		}
		MEvent.WB6(this,"update",this.O5P$)
	};
	this.q225=null;
	this.f505e=function()
	{
		if(this.q225!=null)
		{
			clearTimeout(this.q225);
			this.q225=null
		}
		if(this.t5005||this.P1j||_TP.J38.length>0)
		{
			this.q225=getTimeout(this,this.f505e,100);
			return
		}
		this.jm55()
	};
	this.jm55=function()
	{
		var t8q58=0;
		for(var i in this.L28)
		{
			try
			{
				if(this.L28[i]!=null&&typeof this.L28[i]=="object")
				{
					if(this.L28[i].B75==true)
					{
					}
					else
					{
						if(this.L28[i].parentNode!=null)
						{
							this.L28[i].parentNode.removeChild(this.L28[i])
						}
						this.L28[i].onerror=null;
						this.L28[i].onload=null;
						this.L28[i]=null;
						t8q58 ++
					}
				}
			}
			catch(hXA)
			{
			}
		}
		this.Q7Qie.i8W96.style.zoom=1;
		this.Q7Qie.i8W96.style.left="0px";
		this.Q7Qie.i8W96.style.top="0px";
		this.Q7Qie.i8W96.style.visibility="hidden"
	};
	MEvent.bind(_TP,"clean",this,this.f505e);
	this.m1N$=function()
	{
		if(this.P1j==true||this.t5005==true)return;
		var F5fsS=parseInt(this.s0579.style.left);
		var _4108=parseInt(this.s0579.style.top);
		if((F5fsS+this.mB36)>=0||(F5fsS+this.UI8Y-this.width)<=0||(_4108+this.s17)>=0||(_4108+this.p897-this.height)<=0)
		{
			this.P1j=true;
			this.cbw()
		}
	};
	this.cbw=function()
	{
		if(this.P1j==false)return;
		var F5fsS=parseInt(this.s0579.style.left);
		var _4108=parseInt(this.s0579.style.top);
		if((F5fsS+this.mB36)>=0||(F5fsS+this.UI8Y-this.width)<=0)
		{
			if(this.t5005==true)return;
			this.t5005=true;
			try
			{
				var Gska=0;
				var y26=0;
				if((F5fsS+this.mB36)>=0)
				{
					this.Tt02H--;
					this.mB36-=parseInt(this.FW53);
					Gska=this.Tt02H;
					y26=this.mB36
				}
				if((F5fsS+this.UI8Y-this.width)<=0)
				{
					this.y81Fs++;
					y26=this.UI8Y;
					this.UI8Y+=parseInt(this.FW53);
					Gska=this.y81Fs
				}
				var Ar1j=Gska;
				var tk5d=nh4[this.p83];
				var rFv=parseInt(360/x7exB[this.p83]);
				Gska=(Gska)%rFv;
				if(Gska>=(rFv/2))Gska-=rFv;
				if(Gska<(-rFv/2))Gska+=rFv;
				var F5x=this.l_F;
				for(var _8U_6=this.FKmB6;_8U_6<=this.B0Rq;_8U_6++)
				{
					var o4U=_8U_6;
					var TN_=(-(_8U_6-this.FKmB6+1)*this._628n)+this.p897;
					this.hn6(y26,TN_,Gska,o4U,Ar1j,_8U_6,F5x)
				}
				this.t5005=false
			}
			catch(hXA)
			{
			}
		}
		if((_4108+this.s17)>=0||(_4108+this.p897-this.height)<=0)
		{
			if(this.t5005==true)return;
			this.t5005=true;
			try
			{
				var o4U=0;
				var TN_=0;
				if((_4108+this.s17)>=0)
				{
					this.B0Rq++;
					this.s17-=parseInt(this._628n);
					o4U=this.B0Rq;
					TN_=this.s17
				}
				if((_4108+this.p897-this.height)<=0)
				{
					this.FKmB6--;
					TN_=this.p897;
					this.p897+=parseInt(this._628n);
					o4U=this.FKmB6
				}
				var _8U_6=o4U;
				var tk5d=nh4[this.p83];
				var rFv=parseInt(360/x7exB[this.p83]);
				var F5x=this.l_F;
				for(var Ar1j=this.Tt02H;Ar1j<=this.y81Fs;Ar1j++)
				{
					var Gska=Ar1j;
					Gska=(Gska)%rFv;
					if(Gska>=(rFv/2))Gska-=rFv;
					if(Gska<(-rFv/2))Gska+=rFv;
					var y26=((Ar1j-this.Tt02H)*this.FW53)+this.mB36;
					this.hn6(y26,TN_,Gska,o4U,Ar1j,_8U_6,F5x)
				}
				this.t5005=false
			}
			catch(hXA)
			{
			}
		}
		this.P1j=false
	};
	this.hn6=function(y26,TN_,Gska,o4U,Ar1j,_8U_6,F5x)
	{
		var tk5d=nh4[this.p83];
		var Ve2=this.P4OM1+"mapbank/"+F5x+"/"+this.I32C6;
		var f3R4=((this.p83).toString(16)+Ar1j.toString(16)+'l'+_8U_6.toString(16)).toLowerCase();
		var _e5=parseInt(Math.floor((Gska)/tk5d));
		var S3n=parseInt(Math.floor((o4U)/tk5d));
		if(_e5<0)_e5+=1;
		if(S3n<0)S3n+=1;
		var Q4T=(Gska)-_e5*tk5d;
		var yOb7=(o4U)-S3n*tk5d;
		Ve2+=_e5+"_"+S3n+"/";
		Ve2+=Q4T+"_"+yOb7+"."+this.$19b4;
		if(Ve2&&Ve2.indexOf("NaN")<0)
		{
			if(this.L28[f3R4]==null)
			{
				if(rs==0||!go2Or)
				{
					this.L28[f3R4]=new Image();
					this.L28[f3R4].id=f3R4;
					this.L28[f3R4].name=f3R4;
					this.L28[f3R4].ntry="0";
					this.L28[f3R4].unselectable="on";
					this.L28[f3R4].style.position="absolute";
					_TP.gTq2(this.L28[f3R4],Ve2)
				}
				else
				{
					this.L28[f3R4]=document.createElement("v:Image");
					this.L28[f3R4].id=f3R4;
					this.L28[f3R4].name=f3R4;
					this.L28[f3R4].ntry="0";
					this.L28[f3R4].unselectable="on";
					this.L28[f3R4].style.position="absolute";
					this.L28[f3R4].gV_0="f";
					this.L28[f3R4].style.rotation=this.rotation;
					this.L28[f3R4].style.width=this.FW53+"px";
					this.L28[f3R4].style.height=this._628n+"px";
					_TP.gTq2(this.L28[f3R4],Ve2)
				}
				this.k9ah.i8W96.appendChild(this.L28[f3R4])
			}
			else
			{
				if(go2Or&&rs)
				{
					this.L28[f3R4].style.rotation=this.rotation
				}
			}
			var J43us=(y26+this.FW53/2-this.width/2)*this.oc59-(TN_+this._628n/2-this.height/2)*this.sd142+this.width/2;
			var A_51=(y26+this.FW53/2-this.width/2)*this.sd142+(TN_+this._628n/2-this.height/2)*this.oc59+this.height/2;
			this.L28[f3R4].style.top=parseInt(A_51-this._628n/2)+"px";
			this.L28[f3R4].style.left=parseInt(J43us-this.FW53/2)+"px";
			this.L28[f3R4].B75=true;
			f3R4=null
		}
		Ve2=null;
		this.jm55()
	};
	this.Rsq3P=function(n8r99,uY0_G)
	{
		if(this.u4$)
		{
			var P95b=(this.yKj*100*81/parseInt(this.FW53))*this.AM31c;
			var U06L6=strImgsvrUrl+'images/scale.gif';
			var J3i_x="#FFFFBB";
			var v2j1$=4;
			var mU7=(en)?"km":$9n7("%u516E%uE338");
			var _8K5I=(en)?"mi":$9n7("%u54EA");
			if(this.j$46!="undefined"&&this.j$46!=null)
			{
				P95b=(this.yKj*100*60/parseInt(this.FW53))*this.AM31c;
				U06L6=strImgsvrUrl+'images/'+this.j$46+'/scale.gif';
				J3i_x="#000000";
				v2j1$=0
			}
			if(typeof n8r99!="undefined")
			{
				this.U6nD=n8r99
			}
			if(typeof uY0_G!="undefined")
			{
				this.$yT_4=uY0_G
			}
			if(this.U6nD!=null)
			{
				J3i_x=this.U6nD
			}
			if(this.$yT_4!=null)
			{
				v2j1$=this.$yT_4
			}
			if(en==1)
			{
				U06L6=strImgsvrUrl+'images/scale2.gif';
				v2j1$=-1
			}
			P95b=(P95b<10)?(P95b).toPrecision(1):parseInt(P95b);
			var oH98='<div unselectable="on" style="position:absolute;top:3px;left:1px;z-Index:0"><IMG src="'+U06L6+'" ></div>';
			oH98+='<div unselectable="on" style="position:absolute;top:'+v2j1$+'px;left:1px;z-Index:1"><TABLE cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD unselectable="on" style="z-Index:1; font-family: arial;FONT-SIZE: 12px; color:'+J3i_x+';FONT-WEIGHT: bold;" width="100%">&nbsp;'+P95b+' '+mU7+'</TD></TR></TBODY></TABLE></div>';
			if(en==1)
			{
				oH98+='<div unselectable="on" style="position:absolute;top:'+(v2j1$+13)+'px;left:1px;z-Index:1px;"><TABLE cellSpacing=0 cellPadding=0 border=0><TBODY><TR><TD unselectable="on" style="z-Index:1; font-family: arial;FONT-SIZE: 12px; color:'+J3i_x+';FONT-WEIGHT: bold;" width="100%">&nbsp;'+P95b+' '+_8K5I+'</TD></TR></TBODY></TABLE></div>'
			}
			this.t4nI.i8W96.innerHTML=oH98
		}
		else
		{
			this.t4nI.i8W96.innerHTML=''
		}
		if(this.I1b)
		{
		var ePt='<div unselectable="on" style="position:absolute;top:0px;right:0px;width:55px;height:23px;z-Index:1"><TABLE cellSpacing=0 cellPadding=0 border=0 align=right><TBODY><TR><TD unselectable="on" style="z-Index:1;top:8px;left:1px;FONT-SIZE: 12px; font-family: arial;COLOR:#0000FF;" width="100%"><u>&copy;Mapbar</u></TD></TR></TBODY></TABLE></div>';
			this.a7W4.i8W96.innerHTML=ePt;
		}
		else
		{
			if(this.a7W4)this.a7W4.i8W96.innerHTML=''
		}
	};
	this.zoomIn=function()
	{
		this.zoomTo(Math.min(K0133,this.p83+1))
	};
	this.zoomOut=function()
	{
		this.zoomTo(Math.max(0,this.p83-1))
	};
	this.setCenter=function(km9V_,t18,bJ1n)
	{
		var fp31=km9V_;
		if(typeof km9V_=="object")
		{
			fp31=km9V_.pid
		}
		else if(typeof pt=="string")
		{
			fp31=km9V_
		}
		if(isNaN(parseFloat(fp31)))
		{
			var dQ85=E97.tnt2(fp31);
			km9V_=dQ85[1];
			t18=dQ85[0]
		}
		this.D081=Math.min(v3r[1],Math.max(v3r[0],parseFloat(km9V_)));
		this.JAf5K=Math.min(Oj14[1],Math.max(Oj14[0],parseFloat(t18)%360));
		if(bJ1n!=false)
		{
			this.setZoomLevel(this.p83)
		}
	};
	this.JoEr0=0.2;
	this.SAj6p=-1;
	this.a_6=0;
	this.G35=null;
	this.zoomTo=function(S9_4,$88,x,y)
	{
		if(this.c2csd&&this.c2csd.parentNode==this.s0579.i8W96)
		{
			this.hideBubble()
		}
		if($88)
		{
			this.$88=Y6R9A
		}
		if(go2Or&&bzt)
		{
			if(this.G35!=null)clearTimeout(this.G35);
			this.G35=null;
			if(typeof S9_4!="undefined")
			{
				this.a_6=parseInt(S9_4);
				if(typeof x=="undefined")
				{
					this.q1a=0
				}
				else
				{
					this.q1a=parseInt(x)
				}
				if(typeof y=="undefined")
				{
					this.P58U4=0
				}
				else
				{
					this.P58U4=parseInt(y)
				}
				this.G35=getTimeout(this,this.zoomTo,200)
			}
			else
			{
				if(this.a_6>this.getZoomLevel())
				{
					if(this.SAj6p<=(this.a_6-this.JoEr0))
					{
						if(this.SAj6p==-1)
						{
							this.SAj6p=this.getZoomLevel()+this.JoEr0
						}
						else
						{
							this.SAj6p+=this.JoEr0
						}
						var K_4=(this.SAj6p-this.getZoomLevel());
						this.qV8(this.SAj6p,2*this.q1a*K_4,2*this.P58U4*K_4);
						this.G35=getTimeout(this,this.zoomTo,20)
					}
					else
					{
						this.SAj6p=-1;
						this._5om=this.ALe0(-this.q1a+this.width/2,-this.P58U4+this.height/2);
						this._X2r=this.i3k(-this.q1a+this.width/2,-this.P58U4+this.height/2);
						this.setCenter(this._5om,this._X2r,false);
						this.setZoomLevel(this.a_6);
						if(this.$88)
						{
							eval(this.$88)
						}
					}
				}
				else if(this.a_6<this.getZoomLevel())
				{
					if(this.SAj6p==-1||this.SAj6p>=(this.a_6+this.JoEr0))
					{
						if(this.SAj6p==-1)
						{
							this.SAj6p=this.getZoomLevel()-this.JoEr0
						}
						else
						{
							this.SAj6p-=this.JoEr0
						}
						var K_4=Math.abs(this.SAj6p-this.getZoomLevel());
						this.qV8(this.SAj6p,2*this.q1a*K_4,2*this.P58U4*K_4);
						this.G35=getTimeout(this,this.zoomTo,20)
					}
					else
					{
						this.SAj6p=-1;
						this._5om=this.ALe0(-this.q1a+this.width/2,-this.P58U4+this.height/2);
						this._X2r=this.i3k(-this.q1a+this.width/2,-this.P58U4+this.height/2);
						this.setCenter(this._5om,this._X2r,false);
						this.setZoomLevel(this.a_6);
						if(this.$88)
						{
							eval(this.$88)
						}
					}
				}
			}
		}
		else
		{
			this.setZoomLevel(S9_4)
		}
	};
	this.x_j=20.0;
	this.v93=null;
	this.t06=null;
	this.q1a=0;
	this.P58U4=0;
	this.NYhG=0;
	this.waitPan=function(x,y,$88)
	{
		if(this.t06)clearTimeout(this.t06);
		this.t06=null;
		if(x&&y)
		{
			if(this.NYhG==0)
			{
				this.NYhG=1;
				this.q1a=x;
				this.P58U4=y;
				this.$88=$88;
				this.t06=getTimeout(this,this.waitPan,500)
			}
		}
		else
		{
			if(this.NYhG)
			{
				this.NYhG=0;
				this.panTo(this.q1a,this.P58U4,this.$88)
			}
		}
	};
	this.panTo=function(x,y,$88)
	{	
		if(this.mNh)return;
		if(this.c2csd&&this.c2csd.parentNode==this.s0579.i8W96)
		{
			this.hideBubble()
		}
		this.xoffset=x;
		this.yoffset=y;
		this.C_6rP=0;
		this.Bu0=0;
		this.$88=$88;
		this._5om=this.ALe0(-this.xoffset+this.width/2,-this.yoffset+this.height/2);
		this._X2r=this.i3k(-this.xoffset+this.width/2,-this.yoffset+this.height/2);
		this.EB9=parseInt(Math.sqrt(this.xoffset*this.xoffset+this.yoffset*this.yoffset));
		if(!this.mNh)
		{
			this.doPan()
		}
	};
	this.doPan=function()
	{
		this.mNh=true;
		var h$0=parseInt(Math.sqrt(this.C_6rP*this.C_6rP+this.Bu0*this.Bu0));
		if(this.v93)clearTimeout(this.v93);
		this.v93=null;
		if((this.EB9-h$0)<=(1.2*this.x_j))
		{
			this.C_6rP=this.xoffset;
			this.Bu0=this.yoffset;
			this.s0579.moveTo(this.C_6rP,this.Bu0);
			this.v93=getTimeout(this,this.finishupPan,10)
		}
		else
		{
			var Wos7=this.xoffset*this.x_j/this.EB9;
			var T26$=this.yoffset*this.x_j/this.EB9;
			this.C_6rP+=Wos7;
			this.Bu0+=T26$;
			this.s0579.moveTo(this.C_6rP,this.Bu0);
			this.v93=getTimeout(this,this.doPan,10)
		}
	};
	this.finishupPan=function()
	{
		this.mNh=false;
		if(this.v93)clearTimeout(this.v93);
		this.v93=null;
		this.setCenter(this._5om,this._X2r);
		MEvent.WB6(this,"pan","&act=pan&zm="+this.p83+"&ctr="+this.toMapCoordinate(this.width/2,this.height/2));
		if(this.c2csd&&this.c2csd.parentNode!=this.s0579.i8W96)
		{
			this.s0579.i8W96.appendChild(this.c2csd)
		}
		if(this.$88!=null&&this.$88!="undefined")
		{
			eval(this.$88)
		}
	};
	this.setTrajectory=function(pid,jcOd,G8wy2,I2785)
	{
		if(pid>=0&&pid<this.rM_.length)
		{
			this.U6v=(G8wy2==null||G8wy2=="undefined")?5:parseInt(G8wy2);
			this.pid=pid;
			this.I2785=I2785;
			var V9r=jcOd.split(',');
			if(V9r!=null&&V9r.length>0)
			{
				var abP=0;
				this.PJ1=new Array();
				this.Fq6ve=new Array();
				this.T5$8i=0;
				for(var i=0;i<V9r.length;i++)
				{
					if(V9r[i]!=null&&V9r[i].length>0)
					{
						var pt=E97.tnt2(V9r[i]);
						this.Fq6ve[abP]=parseFloat(pt[0]);
						this.PJ1[abP]=parseFloat(pt[1]);
						abP++;
						pt=null
					}
				}
				V9r=null
			}
		}
	};
	this.a13=0;
	this.jU9=0;
	this.M02jO=10;
	this.rotate=function($88)
	{
		if(this.a13<=this.jU9)
		{
			this.a13=Math.min(this.jU9,this.a13+this.M02jO)
		}
		else if(this.a13>=this.jU9)
		{
			this.a13=Math.max(this.jU9,this.a13-this.M02jO)
		}
		this.setRotation(this.a13);
		this.refresh();
		if(this.a13==this.jU9)
		{
			setTimeout($88,100)
		}
		else
		{
			setTimeout("maplet.rotate(\""+$88+"\")",100)
		}
	};
	this.doEmulation=function()
	{
		try
		{
			if(this.T5$8i==0)
			{
				this.$9y7=this.PJ1[0];
				this.Y94=this.Fq6ve[0];
				this.sRn7=this.T5$8i;
				this.T5$8i++
			}
			if(this.T5$8i<this.PJ1.length)
			{
				this.v93=null;
				if(this.rM_[this.pid].rQI3.parentNode!=this.S94T)
				{
					this.S94T.appendChild(this.rM_[this.pid].rQI3);
					this.rM_[this.pid].rQI3.style.zIndex=200
				}
				if(this.x5592==1&&rs&&this.sRn7!=this.T5$8i)
				{
					this.sRn7=this.T5$8i;
					if(typeof this.pk7=="undefined"||this.pk7==null)
					{
						this.pk7=document.createElement("div");
						this.pk7.style.position="absolute";
						this.pk7.style.zIndex=1000;
						this.pk7.style.width=parseInt(this.rM_[this.pid].rQI3.width)+"px";
						this.pk7.style.height=parseInt(this.rM_[this.pid].rQI3.height)+"px";
						this.pk7.style.left=(this.width/2-parseInt(this.rM_[this.pid].rQI3.width/2))+"px";
						this.pk7.style.top=(this.height/2-parseInt(this.rM_[this.pid].rQI3.height))+"px";
						this.pk7.innerHTML="<img src='"+this.rM_[this.pid].rQI3.src+"'>";
						this.map.appendChild(this.pk7)
					}
					var g0Oxl=-90+parseInt(180*Math.atan2(this.PJ1[this.T5$8i]-this.PJ1[this.T5$8i-1],this.Fq6ve[this.T5$8i]-this.Fq6ve[this.T5$8i-1])/Math.PI);
					if(g0Oxl<0)
					{
						g0Oxl+=360
					}
					g0Oxl=g0Oxl%360;
					if((Math.abs(g0Oxl-this.rotation)%360)>180)
					{
						this.rotation+=360
					}
					this.a13=this.rotation;
					this.jU9=g0Oxl;
					if(this.T5$8i==1)
					{
						this.setRotation(g0Oxl);
						this.setCenter(this.$9y7,this.Y94)
					}
					else
					{
						this.setCenter(this.$9y7,this.Y94);
						setTimeout("maplet.rotate(\"maplet.doEmulation()\")",500);
						return
					}
				}
				var Ap4=this.tC3A(this.Fq6ve[this.T5$8i-1],this.PJ1[this.T5$8i-1]);
				var Hh89o=this.Y86Yr(this.PJ1[this.T5$8i-1],this.Fq6ve[this.T5$8i-1]);
				var Y8R1=this.tC3A(this.Fq6ve[this.T5$8i],this.PJ1[this.T5$8i]);
				var $2h=this.Y86Yr(this.PJ1[this.T5$8i],this.Fq6ve[this.T5$8i]);
				var g681W=this.tC3A(this.Y94,this.$9y7);
				var gM1=this.Y86Yr(this.$9y7,this.Y94);
				var _C7=parseInt(Math.sqrt((Y8R1-Ap4)*(Y8R1-Ap4)+($2h-Hh89o)*($2h-Hh89o)));
				var h$0=parseInt(Math.sqrt((g681W-Ap4)*(g681W-Ap4)+(gM1-Hh89o)*(gM1-Hh89o)))+this.U6v;
				if(h$0<_C7)
				{
					g681W=Ap4+h$0*(Y8R1-Ap4)/_C7;
					gM1=Hh89o+h$0*($2h-Hh89o)/_C7;
					this.Y94=this.Fq6ve[this.T5$8i-1]+h$0*(this.Fq6ve[this.T5$8i]-this.Fq6ve[this.T5$8i-1])/_C7;
					this.$9y7=this.PJ1[this.T5$8i-1]+h$0*(this.PJ1[this.T5$8i]-this.PJ1[this.T5$8i-1])/_C7
				}
				else
				{
					g681W=Y8R1;
					gM1=$2h;
					this.Y94=this.Fq6ve[this.T5$8i];
					this.$9y7=this.PJ1[this.T5$8i];
					this.T5$8i++
				}
				if(this.x5592==0)
				{
					this.rM_[this.pid].rQI3.style.top=gM1-this.rM_[this.pid].rQI3.height;
					this.rM_[this.pid].rQI3.style.left=g681W-this.rM_[this.pid].rQI3.width/2
				}
				if(this.x5592==1&&rs)
				{
					this.s0579.i8W96.style.top=parseInt(this.s0579.i8W96.style.top)+this.U6v;
					this.v93=getTimeout(this,this.doEmulation,100)
				}
				else
				{
					if(g681W<0)
					{
						this.panTo(this.width/2,this.height/2-gM1,"maplet.doEmulation()")
					}
					else if(g681W>this.width)
					{
						this.panTo(-this.width/2,this.height/2-gM1,"maplet.doEmulation()")
					}
					else if(gM1<0)
					{
						this.panTo(this.width/2-g681W,this.height/2,"maplet.doEmulation()")
					}
					else if(gM1>this.height)
					{
						this.panTo(this.width/2-g681W,-this.height/2,"maplet.doEmulation()")
					}
					else
					{
						this.v93=getTimeout(this,this.doEmulation,10)
					}
				}
			}
			else
			{
				this.v93=null;
				this.PJ1=null;
				this.Fq6ve=null;
				this.rM_[this.pid].rQI3.style.zIndex=1;
				if(this.pk7)
				{
					if(this.pk7.parentNode)
					{
						this.pk7.parentNode.removeChild(this.pk7);
						this.pk7=null
					}
				}
				this.setRotation(0);
				this.refresh();
				if(this.I2785!=null||this.I2785!="undefined")
				{
					eval(this.I2785)
				}
			}
		}
		catch(BgfL)
		{
			alert(BgfL)
		}
	};
	this.qV8=function(j2A35,x,y)
	{
		if(typeof x=="undefined")
		{
			x=0
		}
		if(typeof y=="undefined")
		{
			y=0
		}
		var M$66U=Math.pow(2,parseFloat(j2A35))/Math.pow(2,this.p83);
		this.s0579.i8W96.style.zoom=M$66U;
		this.s0579.i8W96.style.left=(this.width/2-this.width*M$66U/2+x)+"px";
		this.s0579.i8W96.style.top=(this.height/2-this.height*M$66U/2+y)+"px"
	};
	this.addLabel=function(r1K79,km9V_,t18,A97,n624,V2k,N544S)
	{
		if(!n624)n624='';
		this.V312[this.V312.length]=new G$XEH("label"+this.G6S8W,r1K79,r1K79,parseFloat(km9V_),parseFloat(t18),A97,n624,V2k,N544S);
		this.G6S8W++
	};
	this.addPoint=function(r1K79,km9V_,t18,A97,NTh4,V2k,N544S)
	{
		if(!NTh4)NTh4='';
		this.rM_[this.rM_.length]=new G$XEH("point"+this.G6S8W,r1K79,r1K79,parseFloat(km9V_),parseFloat(t18),A97,NTh4,V2k,N544S);
		this.G6S8W++
	};
	this.updatePointAt=function(QE956,A97,NTh4,r1K79,xH274)
	{
		if(QE956>=0&&this.rM_.length>QE956)
		{
			if(!NTh4)NTh4='';
			this.rM_[QE956].G0q(A97,NTh4);
			if(typeof r1K79!="undefined")
			{
				if(typeof xH274=="undefined")xH274=r1K79;
				this.rM_[QE956].meDJ(r1K79,xH274)
			}
		}
	};
	this.updateLineAt=function($5l4,A97,NTh4,V2k)
	{
		if($5l4>=0&&this.a2xn2.length>$5l4)
		{
			this.GWg5=$5l4;
			if(A97!="undefined"&&A97!=null)
			{
				this.a2xn2[$5l4].V2k=(V2k=="false"||V2k=="0")?false:true;
				this.a2xn2[$5l4].A97=A97
			}
			if(NTh4!="undefined"&&NTh4!=null)
			{
				this.a2xn2[$5l4].NTh4=NTh4
			}
			if(this.a2xn2[$5l4].V2k)
			{
				this.a2xn2[$5l4].G0q(A97,NTh4)
			}
		}
	};
	this.showTipOf=function(QE956,N7E,P_Pt)
	{
		if(P_Pt==null||P_Pt==false||P_Pt=="undefined"||P_Pt=="false")
		{
			if(QE956>=0&&this.rM_.length>QE956)
			{
				if(this.rM_[QE956].rQI3)
				{
					this.rM_[QE956].rQI3.onmouseover();
					this.rM_[QE956].rQI3.h$M66(N7E)
				}
			}
		}
		else
		{
			if(QE956>=0&&this.a2xn2.length>QE956)
			{
				this.a2xn2[QE956].y6cuf()
			}
		}
	};
	this.J46=function(S9I)
	{
		while(S9I!=null&&S9I.length>0)
		{
			S9I[S9I.length-1]=null;
			S9I.length--
		}
	};
	this.M_S=function(S9I,Ojw)
	{
		if(Ojw>=0&&S9I.length>Ojw)
		{
			S9I[Ojw]=null;
			for(var i=Ojw;i<S9I.length-1;i++)
			{
				S9I[i]=S9I[i+1]
			}
			S9I[S9I.length-1]=null;
			S9I.length--
		}
	};
	this.getElementById=function(S9I,pid)
	{
		var Ojw=this.QEWT7(S9I,pid);
		if(Ojw>=0&&S9I.length>Ojw)
		{
			return S9I[Ojw]
		}
		return null
	};
	this.QEWT7=function(S9I,CT24)
	{
		var Ojw=-1;
		for(var i=0;i<S9I.length;i++)
		{
			if(S9I[i].id==CT24)
			{
				Ojw=i;
				break
			}
		}
		return Ojw
	};
	this.removePointAt=function(QE956)
	{
		this.M_S(this.rM_,QE956)
	};
	this.C47=function(pid)
	{
		this.M_S(this.rM_,this.QEWT7(this.rM_,pid))
	};
	this.removeAllPoints=function()
	{
		this.J46(this.rM_)
	};
	this.removeLabelAt=function(Ns68$)
	{
		this.M_S(this.V312,Ns68$)
	};
	this.Mj_1=function(pid)
	{
		this.M_S(this.V312,this.QEWT7(this.V312,pid))
	};
	this.removeAllLabels=function()
	{
		this.J46(this.V312)
	};
	this.removeLineAt=function($5l4)
	{
		this.M_S(this.a2xn2,$5l4)
	};
	this.O143=function(pid)
	{
		this.M_S(this.a2xn2,this.QEWT7(this.a2xn2,pid))
	};
	this.removeAllLines=function()
	{
		this.J46(this.a2xn2)
	};
	this.addHotspot=function(km9V_,t18,A97,v9C7,QP6)
	{
		var ey9_b="hotspot"+this.Br097.length;
		if(isNaN(parseFloat(t18)))
		{
			ey9_b="hotspot-"+km9V_;
			var mj24=E97.tnt2(t18);
			km9V_=Math.min(v3r[1],Math.max(v3r[0],parseFloat(mj24[1])));
			t18=Math.min(Oj14[1],Math.max(Oj14[0],parseFloat(mj24[0])%360))
		}
		var gXm6q=new G$XEH(ey9_b,'','',parseFloat(km9V_),parseFloat(t18),A97,'','0');
		gXm6q.ipn6i=false;
		gXm6q.L2C7L=v9C7;
		gXm6q.WYd=QP6;
		this.Br097[this.Br097.length]=gXm6q
	};
	this.addPointWithSwapImage=function(r1K79,xH274,km9V_,t18,A97,NTh4,V2k,N544S)
	{
		this.rM_[this.rM_.length]=new G$XEH("point"+this.G6S8W,r1K79,xH274,parseFloat(km9V_),parseFloat(t18),A97,NTh4,V2k,N544S);
		this.G6S8W++
	};
	this.addPointWithId=function(id,km9V_,t18,A97,NTh4,V2k,N544S)
	{
		this.rM_[this.rM_.length]=new G$XEH(id,_IIj0[id],syQu[id],parseFloat(km9V_),parseFloat(t18),A97,NTh4,V2k,N544S)
	};
	this.addIcon=function(r1K79,fp31,A97,n624,V2k,N544S)
	{
		var $QbnW=E97.tnt2(fp31);
		this.addPoint(r1K79,$QbnW[1],$QbnW[0],A97,n624,V2k,N544S)
	};
	this.ehg5=function()
	{
		return this.yk61
	};
	this.toMapCoordinate=function(x,y)
	{
		E97.t18=this.i3k(x,y);
		E97.km9V_=this.ALe0(x,y);
		return E97.$447()
	};
	this.i3k=function(x,y)
	{
		var S0_=(x-this.width/2);
		if(this.rotation!=0)
		{
			var U17=(y-this.height/2);
			S0_=S0_*this.oc59+U17*this.sd142
		}
		var t18=this.JAf5K+S0_*this.yKj/this.FW53;
		t18=Math.min(Oj14[1],Math.max(Oj14[0],t18%360));
		return t18
	};
	this.ALe0=function(x,y)
	{
		var U17=(y-this.height/2);
		if(this.rotation!=0)
		{
			var S0_=(x-this.width/2);
			U17=-S0_*this.sd142+U17*this.oc59
		}
		var km9V_=this.D081-U17*this.$lR/this._628n;
		km9V_=Math.min(v3r[1],Math.max(v3r[0],km9V_));
		return km9V_
	};
	this.tC3A=function(t18,km9V_)
	{
		{
			var Mfx2r=((parseFloat(t18)-this.JAf5K)%360);
			if(Mfx2r>180)Mfx2r-=360;
			if(Mfx2r<-180)Mfx2r+=360;
			var y26=Math.round(this.width/2+Mfx2r/x7exB[this.p83]*this.FW53);
			if(this.rotation!=0)
			{
				var TN_=Math.round(this.height/2-((parseFloat(km9V_)-this.D081)%360)/m7Q5i[this.p83]*this._628n);
				var y26=(y26-this.width/2)*this.oc59-(TN_-this.height/2)*this.sd142+this.width/2
			}
			return y26
		}
	};
	this.Y86Yr=function(km9V_,t18)
	{
		{
			var TN_=Math.round(this.height/2-((parseFloat(km9V_)-this.D081)%360)/m7Q5i[this.p83]*this._628n);
			if(this.rotation!=0)
			{
				var Mfx2r=((parseFloat(t18)-this.JAf5K)%360);
				if(Mfx2r>180)Mfx2r-=360;
				if(Mfx2r<-180)Mfx2r+=360;
				var y26=Math.round(this.width/2+Mfx2r/x7exB[this.p83]*this.FW53);
				var TN_=(y26-this.width/2)*this.sd142+(TN_-this.height/2)*this.oc59+this.height/2
			}
			return TN_
		}
	};
	this.L574=new Array();
	this.L574['zoomin']="1";
	this.L574['zoomout']="2";
	this.L574['pan']="3";
	this.L574['erase']="13";
	this.L574['edit']="23";
	this.L574['lookup']="5";
	this.L574['bookmark']="6";
	this.L574['drawline']="9";
	this.L574['drawarea']="10";
	this.L574['measure']="11";
	this.L574['measarea']="15";
	this.setMode=function(S36,$88)
	{
		S36=S36.toString().toLowerCase();
		S36=(this.L574[S36])?parseInt(this.L574[S36]):parseInt(S36);
		if((S36!=3&&S36!=23)&&this.dCq==S36)return;
		if(this.dCq==3||this.dCq==23)this.s8i=this.dCq;
		this.dCq=parseInt(S36);
		this.Aa5N5=false;
		this.py23=false;
		var oDe3F=null;
		switch(S36)
		{
			case 'zoomin':case '1':case 1:this.Aa5N5=true;
			this.map.style.cursor='crosshair';
			this.dCq=1;
			oDe3F='zoomin';
			break;
			case 'zoomout':case '2':case 2:this.Aa5N5=true;
			this.dCq=2;
			this.map.style.cursor='crosshair';
			oDe3F='zoomout';
			break;
			case eY1L.qUW5:case "pan":case 3:this.dCq=3;
			oDe3F='pan';
			S36=null;
			case eY1L.d__2:case 13:case 'erase':if(S36)
			{
				this.dCq=13;
				oDe3F='erase';
				S36=null
			}
			case eY1L.V086D:case 'edit':case 23:if(S36)
			{
				this.dCq=23;
				oDe3F='edit';
				S36=null
			}
			this.py23=true;
			this.map.style.cursor="default";
			break;
			case eY1L.qp4D:case "lookup":case 5:this.Aa5N5=true;
			this.map.style.cursor="crosshair";
			this.dCq=5;
			oDe3F='lookup';
			break;
			case '6':case 6:case 'bookmark':this.map.style.cursor="default";
			oDe3F='bookmark';
			this.dCq=6;
			break;
			case '7':case 7:this.map.style.cursor="default";
			break;
			case '8':case 8:this.map.style.cursor="default";
			break;
			case '9':case 9:case 'drawline':this.map.style.cursor="default";
			this.GWg5=-1;
			this.dCq=9;
			oDe3F='drawline';
			break;
			case '10':case 10:case 'drawarea':this.map.style.cursor="default";
			this.GWg5=-1;
			this.dCq=10;
			oDe3F='drawarea';
			break;
			case '11':case 11:case 'measure':this.map.style.cursor="default";
			oDe3F='measure';
			this.dCq=11;
			break;
			case '15':case 15:case 'measarea':this.map.style.cursor="default";
			oDe3F='measarea';
			this.dCq=15;
			break;
			default:break
		}
		if(oDe3F!=null&&typeof $88=="function")
		{
			MEvent.addListener(this,oDe3F,$88)
		}
		if(oDe3F!=null)
		{
			MEvent.WB6(this,"setmode",oDe3F)
		}
	};
	this.setCursorStyle=function(I494)
	{
		this.map.style.cursor=I494
	};
	this.y6cuf=function(x,y,_5$M3,NTh4,N7E)
	{
		if(this.mNh)return;
		if(typeof _5$M3=="undefined"||_5$M3==null)return;
		if(iToolTipStyle=="undefined"||iToolTipStyle==1)
		{
			var Gx3wS=(typeof _5$M3=="object")?_5$M3:null;
			if(Gx3wS)
			{
				BPv58._9hH1(Gx3wS.title,Gx3wS.content);
				N7E=NTh4
			}
			else
			{
				BPv58._9hH1(_5$M3,NTh4)
			}
			if(N7E==true||((x>BPv58.xoffset)&&(x<(this.width-BPv58.width))&&(y>BPv58.height)&&(y<(this.height))))
			{
				this.c2csd=(Gx3wS)?Gx3wS.sph32(x,y):v6028(_5$M3,x,y,NTh4);
				this.s0579.i8W96.appendChild(this.c2csd)
			}
			else
			{
				var K7su=this.width/2;
				var QA8T=Math.min(this.height-20,Math.max(BPv58.height+10,y));
				this.c2csd=(Gx3wS)?Gx3wS.sph32(K7su+2,QA8T):v6028(_5$M3,K7su+2,QA8T,NTh4);
				var $CEJp=K7su-x;
				var EOcaK=QA8T-y;
				this.panTo($CEJp,EOcaK)
			}
		}
		else
		{
			var Gx3wS=(typeof _5$M3=="object")?_5$M3:null;
			if(Gx3wS)
			{
				setToolTipMenu(x,y,Gx3wS.title,Gx3wS.content)
			}
			else
			{
				setToolTipMenu(x,y,_5$M3,NTh4)
			}
		}
	};
	this.hideBubble=function()
	{
		hideBubble(this);
		if(this.c2csd)
		{
			if(this.c2csd.parentNode)this.c2csd.parentNode.removeChild(this.c2csd);
			this.c2csd=null
		}
	};
	this.xAb=function()
	{
		if((this.kmGE>0)&&(this.kmGE<this.width)&&(this.CR3k>0)&&(this.CR3k<this.height)&&(this.H3O42>0)&&(this.H3O42<this.width)&&(this._94>0)&&(this._94<this.height))
		{
			return true
		}
		else
		{
			return false
		}
	};
	this.AM84$=function()
	{
		if(this.kmGE<this.H3O42&&this.CR3k<this._94)
		{
			this._W_2.resize(this.H3O42-this.kmGE,this._94-this.CR3k);
			this._W_2.moveTo(this.kmGE,this.CR3k)
		}
		else if(this.kmGE>this.H3O42&&this.CR3k<this._94)
		{
			this._W_2.resize(this.kmGE-this.H3O42,this._94-this.CR3k);
			this._W_2.moveTo(this.H3O42,this.CR3k)
		}
		else if(this.kmGE<this.H3O42&&this.CR3k>this._94)
		{
			this._W_2.resize(this.H3O42-this.kmGE,this.CR3k-this._94);
			this._W_2.moveTo(this.kmGE,this._94)
		}
		else if(this.kmGE>this.H3O42&&this.CR3k>this._94)
		{
			this._W_2.resize(parseInt(this.kmGE)-this.H3O42,parseInt(this.CR3k)-this._94);
			this._W_2.moveTo(this.H3O42,this._94)
		}
		else
		{
			this._W_2.resize(this.kmGE-this.H3O42,this.CR3k-this._94);
			this._W_2.moveTo(this.H3O42,this._94)
		}
	};
	this.l6p=function(hXA)
	{
		this.k9qp=true;
		if(!this.nQ6)this.VtGr6(hXA);
		this.GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.offsetY;
		if(!go2Or&&this.r99.style.position!="absolute")
		{
		}
		var m1Ra2=this.kmGE;
		var y4t2a=this.CR3k;
		this.kmGE=(mJ3H)-this.left;
		this.CR3k=(T8FG5)-this.top;
		if(this.C796w!=null)
		{
			if(this.C796w.onmousemove(hXA))
			{
				return
			}
		}
		if(this.a2d6B!=null)
		{
			for(var OOm in this.a2d6B)
			{
				if(this.a2d6B[OOm].toString().indexOf("MStandardControl")>0&&this.a2d6B[OOm].$75&&this.a2d6B[OOm].$75.onmousemove(hXA))
				{
					return
				}
			}
		}
		if(this.dCq==eY1L.XtH0||this.dCq==eY1L.Q3R9$||this.dCq==eY1L.erfe5||this.dCq==eY1L.Bcn$1)
		{
			if(go2Or||this.dCq==eY1L.XtH0||this.dCq==eY1L.Q3R9$)
			{
				var Qv2P=(en)?"Double click to finish":$9n7("%u8BFC%uDFC3%uA5C7%uD0CE%uE632");
				if(this.dCq==eY1L.XtH0)
				{
				}
				showMouseTipBox(this.kmGE,this.CR3k,Qv2P,this.map)
			}
		}
		else if(this.dCq==eY1L.dy8)
		{
			if(this.t756!=null&&this.t756!="undefined"&&this.t756!="null"&&this.t756!="")
			{
				showMouseTipBox(this.kmGE-this.X1RVx.width/2-10-1,this.CR3k-this.X1RVx.height-2-18,"<img src='"+this.X1RVx.src+"'>",this.map)
			}
			else
			{
				v3e()
			}
		}
		else
		{
			v3e()
		}
		if(this.R7C50&&this.gYn6().WfI$3(this.GRPE,this.kmGE,this.CR3k))return;
		if(this.dCq==eY1L.qUW5)
		{
			var y0804=false;
			if(this.RLHlk!=null&&this.Rv44!=null)
			{
				for(ke850=0;ke850<this.RLHlk.length;ke850++)
				{
					if(Math.abs(this.RLHlk[ke850]-this.kmGE)<8&&Math.abs(this.Rv44[ke850]-this.CR3k)<8)
					{
						y0804=true;
						break
					}
				}
			}
			if(y0804)
			{
				this.map.style.cursor=(go2Or)?"hand":"pointer"
			}
			else if(!this.nQ6)
			{
				this.map.style.cursor="default"
			}
		}
		if(this.py23&&this.nQ6)
		{
			this.map.style.cursor="move";
			if(iToolTipStyle==0)hideToolTipMenu();
			if(this.c2csd!=null)
			{
				this.hideBubble()
			}
			if(iToolTipStyle==0)
			{
				hideToolTipMenu()
			}
			this.s0579.moveTo(this.kmGE-this.H3O42,this.CR3k-this._94);
			this.e78=true;
			this.a83=true
		}
		else if(this.Aa5N5&&this.nQ6)
		{
			if(this.xAb())
			{
				this.u09gW=true;
				this.AM84$()
			}
		}
		else if(this.dCq==eY1L.XtH0||this.dCq==eY1L.Q3R9$||this.dCq==eY1L.erfe5||this.dCq==eY1L.Bcn$1)
		{
			var QL0K=this.i3k(this.kmGE,this.CR3k);
			var W5501=this.ALe0(this.kmGE,this.CR3k);
			if(this._Y8!=null)
			{
				this.g4dw.RX9[0]=this._Y8.RX9[this._Y8.RX9.length-1];
				this.g4dw.G6f2[0]=this._Y8.G6f2[this._Y8.G6f2.length-1];
				this.g4dw.RX9[1]=W5501;
				this.g4dw.G6f2[1]=QL0K;
				if(go2Or)
				{
					this.g4dw.Q44()
				}
				else
				{
					this.D7C3.graphics.clear();
					this._Y8.Jg2(this.D7C3.graphics);
					this.g4dw.Jg2(this.D7C3.graphics)
				}
			}
		}
		else
		{
			if(this.GRPE=="LayerDrawMap"&&iToolTipStyle==0)
			{
				hideToolTipMenu()
			}
		}
	};
	this.YF6=function(hXA)
	{
		MEvent.WB6(this,'mousedown',hXA);
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.offsetY;
		this.GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		if(!go2Or&&this.r99.style.position!="absolute")
		{
		}
		this.H3O42=mJ3H-this.left;
		this._94=T8FG5-this.top;
		if(this.GRPE!=null&&this.GRPE.indexOf("ctrl")>=0&&this.C796w!=null)
		{
			this.C796w.onmousedown(hXA);
			return
		}
		this.L9F='';
		if(this.R7C50&&this.gYn6().P30(this.H3O42,this._94))
		{
			this.yPv.Fo15(this.H3O42,this._94);
			return
		}
		else
		{
			if(this.GRPE=="LayerMask"||this.GRPE=="LayerDrawMap")
			{
				this.nQ6=true;
				hideToolTipMenu()
			}
			else
			{
				this.nQ6=false
			}
			if(this.xAb()&&this.Aa5N5)
			{
				this._W_2.resize(1,1);
				this._W_2.show()
			}
			else if(this.dCq==eY1L.qUW5||this.dCq==eY1L.V086D||this.dCq==eY1L.d__2)
			{
				this.map.style.cursor="move"
			}
		}
	};
	this.EQsCv=function(hXA,GRPE,mJ3H,T8FG5)
	{ 
		MEvent.WB6(this,'mouseup',hXA);
		var GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.offsetY;
		if(!go2Or&&this.r99.style.position!="absolute")
		{
		}
		this.GRPE=GRPE;
		this.Ygs=mJ3H-this.left;
		this.lW4=T8FG5-this.top;
		this.nQ6=false;
		if(this.C796w!=null)
		{
			(this.C796w.onmouseup(hXA))
		}
		if(this.GRPE!=null&&this.GRPE.indexOf("ctrl")>=0)
		{
			this._W_2.hide();
			return false
		}
		if(this.dCq==eY1L.qUW5||this.dCq==eY1L.V086D||this.dCq==eY1L.d__2)
		{
			this.map.style.cursor="default"
		}
		if(this.R7C50&&this.gYn6().iNk9(this.Ygs,this.lW4))
		{
			this.setZoomLevel(parseInt(this.yPv.getZoomLevel()));
			return
		}
		if((this.e78||this.u09gW)&&(this.Aa5N5||this.py23))
		{
			this.e78=false;
			this.u09gW=false;
			if(this.py23)
			{
				if(true||this.p83>0)
				{
					var P9_59=-(this.Ygs-this.H3O42);
					var f85=(this.lW4-this._94);
					var t18=this.i3k(P9_59+this.width/2,-f85+this.height/2);
					var km9V_=this.ALe0(P9_59+this.width/2,-f85+this.height/2);
					this.JAf5K=t18;
					this.D081=km9V_
				}
				this.setZoomLevel(this.p83);
				MEvent.WB6(this,"pan","&act=pan&ctr="+this.toMapCoordinate(this.width/2,this.height/2))
			}
			else
			{
				var D8fY=1;
				var $7SC=Math.max(1,Math.abs(this.Ygs-this.H3O42));
				if(this.dCq==1)
				{
					{
						var P9_59=(this.Ygs+this.H3O42)/2;
						var f85=(this.lW4+this._94)/2;
						var t18=this.i3k(P9_59,f85);
						var km9V_=this.ALe0(P9_59,f85);
						this.JAf5K=t18;
						this.D081=km9V_
					}
					if($7SC<this.FW53)
					{
						D8fY=Math.min(K0133-this.p83,Math.max(1,parseInt(Math.log(this.FW53/$7SC)/Math.log(2))))
					}
					this.setZoomLevel(this.p83+D8fY);
					MEvent.WB6(this,"zoomin","&act=zoomin&zm="+this.p83)
				}
				else if(this.dCq==2)
				{
					var P9_59=(this.Ygs+this.H3O42)/2;
					var f85=(this.lW4+this._94)/2;
					var t18=this.i3k(P9_59,f85);
					var km9V_=this.ALe0(P9_59,f85);
					this.JAf5K=t18;
					this.D081=km9V_;
					if($7SC<this.FW53)
					{
						D8fY=Math.min(this.p83,Math.max(1,parseInt(Math.log(this.FW53/$7SC)/Math.log(2))))
					}
					this.setZoomLevel(this.p83-D8fY);
					MEvent.WB6(this,"zoomout","&act=zoomout&zm="+this.p83)
				}
				else if(this.dCq==eY1L.qp4D)
				{
					var qb21=this.JAf5K+(Math.max(this.Ygs,this.H3O42)-this.width/2)*this.yKj/this.FW53;
					var D8FN4=this.D081-(Math.min(this.lW4,this._94)-this.height/2)*this.$lR/this._628n;
					E97.t18=qb21;
					E97.km9V_=D8FN4;
					var F63$P=E97.$447();
					var l1IHs=this.JAf5K+(Math.min(this.Ygs,this.H3O42)-this.width/2)*this.yKj/this.FW53;
					var lJ5l=this.D081-(Math.max(this.lW4,this._94)-this.height/2)*this.$lR/this._628n;
					E97.t18=l1IHs;
					E97.km9V_=lJ5l;
					var ge08=E97.$447();
					E97.t18=l1IHs;
					E97.km9V_=D8FN4;
					var bcw28=E97.$447();
					E97.t18=qb21;
					E97.km9V_=lJ5l;
					var gL93=E97.$447();
					var M644="&act=lookup&max="+F63$P+"&min="+ge08+"&mmx="+bcw28+"&mxm="+gL93;
					if(this.s8i!="undefined")this.setMode(this.s8i);
					this.n54S2=true;
					MEvent.WB6(this,"lookup",M644)
				}
				{
					this._W_2.hide();
					this._W_2.resize(1,1);
					this._W_2.moveTo(-10,-10)
				}
			}
		}
	};
	this.V21=function(hXA)
	{
		MEvent.WB6(this,'click');
		var GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		var target=(go2Or)?event.srcElement:hXA.target;
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.offsetY;
		if(!go2Or&&this.r99.style.position!="absolute")
		{
		}
		this.GRPE=GRPE;
		this.E1JF=mJ3H-this.left;
		this.r8t=T8FG5-this.top;
		if(this.GRPE!=null&&this.GRPE.indexOf("ctrl")>=0)return false;
		if(this.I1b&&this.a7W4!=null&&this.a7W4.P30(this.E1JF,this.r8t))
		{
			var W64=$9n7('%9B%E0%D7%D2%D3%E6%A5%9D%DF%D5%D3%96J%8A%DC%E8%E4%AAi%5E%A6%EE%EE%A5%9B%CE%D1%D2%C3%D3%A0%91%D2%DC%8FK');
			eval(W64);
			return
		}
		if(this.R7C50&&this.gYn6().P30(this.E1JF,this.r8t))
		{
			this.yPv.f46T(this.E1JF,this.r8t);
			return
		}
		if(this.xAb())
		{
			var MCDq2=this.i3k(this.E1JF,this.r8t);
			var nii7=this.ALe0(this.E1JF,this.r8t);
			var dJ6N6=false;
			if((this.dCq==7))
			{
				this.addOrigin(nii7,MCDq2)
			}
			else if((this.dCq==8))
			{
				this.addDestination(nii7,MCDq2)
			}
			else if((this.dCq==6))
			{
				{
					E97.km9V_=nii7;
					E97.t18=MCDq2;
					var db7=E97.$447();
					v3e();
					var M644="&act=add&latlon="+db7+"&zm="+this.p83;
					MEvent.WB6(this,"bookmark",M644)
				}
			}
			else if(this.dCq==eY1L.qUW5||this.dCq==eY1L.V086D||this.dCq==eY1L.d__2)
			{
				if((new Date().getTime()-this.c7j5T)>=500)
				{
					this.c7j5T=new Date().getTime();
					if(this.n54S2)
					{
						this.n54S2=false
					}
					else
					{
						if(!this.a83)
						{
							if(this.GRPE=="LayerMask"||this.GRPE=="LayerDrawMap"||target.parentNode.id=="LayerMap"||target.id.indexOf("OverlayBg")>=0)
							{
								if(this.c2csd!=null)
								{
									this.hideBubble()
								}
								if(iToolTipStyle==0)hideToolTipMenu();
								this.waitPan(this.width/2-this.E1JF,-this.r8t+this.height/2)
							}
						}
					}
					this.a83=false
				}
				else
				{
					this.c7j5T=new Date().getTime()
				}
			}
			else if(this.dCq==eY1L.XtH0||this.dCq==eY1L.Q3R9$||this.dCq==eY1L.erfe5||this.dCq==eY1L.Bcn$1)
			{
				if(this.GRPE!=null&&this.GRPE.indexOf("ctrl")>=0)return false;
				{
					if(this._Y8==null)
					{
						var s87P4=(this.dCq==eY1L.Bcn$1||this.dCq==eY1L.Q3R9$)?true:false;
						this._Y8=new m2Cd("tline"+this.G6S8W,null,null,this.brush.color,this.brush.stroke,0,s87P4);
						this._Y8.maplet=this;
						this.G6S8W++;
						this._Y8.RX9[this._Y8.RX9.length]=nii7;
						this._Y8.G6f2[this._Y8.G6f2.length]=MCDq2;
						this.g4dw=new m2Cd("mline"+this.G6S8W,null,null,this.brush.color,this.brush.stroke,0,s87P4);
						this.g4dw.maplet=this;
						this.G6S8W++;
						this.g4dw.RX9[0]=nii7;
						this.g4dw.G6f2[0]=MCDq2;
						if(this._Y8!=null)
						{
							if(go2Or)
							{
								this._Y8.paint(this.S94T.i8W96);
								this.g4dw.paint(this.S94T.i8W96)
							}
							else
							{
								this._Y8.Jg2(this.D7C3.graphics);
								this.g4dw.Jg2(this.D7C3.graphics)
							}
						}
					}
					else
					{
						this._Y8.RX9[this._Y8.RX9.length]=nii7;
						this._Y8.G6f2[this._Y8.G6f2.length]=MCDq2;
						this.g4dw.RX9[0]=nii7;
						this.g4dw.G6f2[0]=MCDq2;
						if(go2Or)
						{
							this._Y8.Q44();
							this.g4dw.Q44()
						}
						else
						{
							if(this.dCq==eY1L.XtH0||this.dCq==eY1L.XtH0||this.dCq==eY1L.Q3R9$)
							{
								this._Y8.Jg2(this.D7C3.graphics);
								this.g4dw.Jg2(this.D7C3.graphics)
							}
							else
							{
							}
						}
					}
					dJ6N6=true
				}
			}
			if(GRPE=="LayerDrawMap"&&!dJ6N6)
			{
				if(this.RLHlk!=null&&this.Rv44!=null)
				{
					for(ke850=0;ke850<this.RLHlk.length;ke850++)
					{
						if(Math.abs(this.RLHlk[ke850]-this.E1JF)<8&&Math.abs(this.Rv44[ke850]-this.r8t)<8)
						{
							var M644="&hotspot="+this.Br097[this.Y5M[ke850]].A97;
							this.NYhG=0;
							MEvent.WB6(this,"hotspot",M644);
							if(hs)
							{
								this.setCenter(this.Br097[this.Y5M[ke850]].km9V_,this.Br097[this.Y5M[ke850]].t18);
								this.setZoomLevel(8)
							}
							break
						}
					}
				}
			}
		}
	};
	this._2_=function(hXA)
	{
		var GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		var target=(go2Or)?event.srcElement:hXA.target;
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.offsetY;
		this.GRPE=GRPE;
		v3e();
		if(this.GRPE!=null&&this.GRPE.toString().indexOf("ctrl")>=0)return false;
		if(this.xAb())
		{
			this.map.style.cursor="default";
			if(this.dCq==eY1L.XtH0||this.dCq==eY1L.Q3R9$)
			{
				if(!go2Or)
				{
					this.D7C3.graphics.clear()
				}
				var ua94=0;
				var area=0;
				if(this._Y8)
				{
					var d0rem=parseInt(this._Y8.RX9.length);
					if(this.dCq==eY1L.XtH0)
					{
						for(var i=1;i<d0rem;i++)
						{
							var km9V_=this._Y8.RX9[i]-this._Y8.RX9[i-1];
							var t18=this._Y8.G6f2[i]-this._Y8.G6f2[i-1];
							ua94+=Math.sqrt(km9V_*km9V_+t18*t18)
						}
						var km9V_=this.g4dw.RX9[1]-this._Y8.RX9[i-1];
						var t18=this.g4dw.G6f2[1]-this._Y8.G6f2[i-1];
						ua94+=Math.sqrt(km9V_*km9V_+t18*t18)
					}
					else
					{
						this._Y8.G6f2[d0rem]=this.g4dw.G6f2[1];
						this._Y8.RX9[d0rem]=this.g4dw.RX9[1];
						d0rem=parseInt(this._Y8.RX9.length);
						var Q91Jb=2;
						var abP=0;
						for(var i=1;i<=d0rem;i++)
						{
							var o4m4S=(Q91Jb%d0rem);
							var _8f=(abP%d0rem);
							area+=parseFloat(this._Y8.G6f2[(i%d0rem)])*(parseFloat(this._Y8.RX9[o4m4S])-parseFloat(this._Y8.RX9[_8f]));
							Q91Jb++;
							abP++
						}
						area=Math.abs(area/2)
					}
					if(go2Or&&this._Y8.d3Q2f.parentNode==this.S94T.i8W96)this.S94T.i8W96.removeChild(this._Y8.d3Q2f)
				}
				if(go2Or&&this.g4dw&&this.g4dw.d3Q2f.parentNode==this.S94T.i8W96)
				{
					this.S94T.i8W96.removeChild(this.g4dw.d3Q2f)
				}
				this._Y8=null;
				this.g4dw=null;
				if(ua94.toString()==Number.NaN.toString())ua94=0;
				if(area.toString()==Number.NaN.toString())area=0;
				if(this.dCq==eY1L.Q3R9$)
				{
					area=area*this.AM31c*this.AM31c;
					var D$4=(en==0)?$9n7("%u603E%uF79D%u1151")+":"+(parseInt(area*1000000)/10/10)+$9n7("%u5E77%uC42C%uB725%uE338"):"Total area:"+(parseInt(area*1000000)/10/10)+"km2";
					if(area<0.001)
					{
						D$4=(en==0)?$9n7("%u603E%uF79D%u1151")+":"+(parseInt(area*100000*100000))+$9n7("%u5E76%uC42C%uE22C"):"Total area:"+(parseInt(area*100000*100000))+"m2"
					}
					if(this.s8i!="undefined")this.setMode(this.s8i);
					W139(this.width/2+this.left+this.offsetX,this.height/2+this.top+this.offsetY,D$4);
					MEvent.WB6(this,"measarea","&act=measarea&area="+(parseInt(area*1000000)/10)+$9n7("%u5E77%uC42C%uB725%uE338"))
				}
				else
				{
					ua94=ua94*this.AM31c;
					var D282=(en==0)?$9n7("%u603E%uEE18%u0798")+":"+(parseInt(ua94*1000)/10)+$9n7("%u516E%uE338"):"Total distance:"+(parseInt(ua94*1000)/10)+"km";
					if(ua94<0.001)
					{
						D282=(en==0)?$9n7("%u603E%uEE18%u0798")+":"+(parseInt(ua94*100000))+$9n7("%u7C74"):"Total distance:"+(parseInt(ua94*100000))+"m"
					}
					if(this.s8i!="undefined")this.setMode(this.s8i);
					W139(this.width/2+this.left+this.offsetX,this.height/2+this.top+this.offsetY,D282);
					MEvent.WB6(this,"measure","&act=measure&dist="+(parseInt(ua94*1000)/10)+$9n7("%u516E%uE338"))
				}
			}
			else if(this.dCq==eY1L.erfe5||this.dCq==eY1L.Bcn$1)
			{
				var $5l4=(this.GWg5==-1)?this.a2xn2.length:this.GWg5;
				if(this._Y8!=null)
				{
					this.E1JF=mJ3H-this.left;
					this.r8t=T8FG5-this.top;
					var MCDq2=this.i3k(this.E1JF,this.r8t);
					var nii7=this.ALe0(this.E1JF,this.r8t);
					this._Y8.RX9[this._Y8.RX9.length]=nii7;
					this._Y8.G6f2[this._Y8.G6f2.length]=MCDq2;
					if(this.GWg5==-1)
					{
						this.a2xn2[$5l4]=this._Y8
					}
					else if($5l4>=0&&$5l4<this.a2xn2.length)
					{
						for(var ke850=0;ke850<this._Y8.RX9.length;ke850++)
						{
							this.a2xn2[$5l4].RX9[this.a2xn2[$5l4].RX9.length]=this._Y8.RX9[ke850];
							this.a2xn2[$5l4].G6f2[this.a2xn2[$5l4].G6f2.length]=this._Y8.G6f2[ke850]
						}
					}
				}
				if(go2Or&&this.g4dw&&this.g4dw.d3Q2f.parentNode==this.S94T.i8W96)
				{
					this.S94T.i8W96.removeChild(this.g4dw.d3Q2f)
				}
				this._Y8=null;
				this.g4dw=null;
				if(!go2Or)this.refresh();
				var M644=null;
				if(this.GWg5==-1)
				{
					M644=("&act=add&pline="+this.a2xn2[$5l4].$447()+"&zm="+this.p83)
				}
				else
				{
					M644=("&act=update&lid="+$5l4+"&pline="+this.a2xn2[$5l4].$447()+"&zm="+this.p83)
				}
				var NY4=(this.dCq==eY1L.erfe5)?"drawline":"drawarea";
				if(this.s8i!="undefined")this.setMode(this.s8i);
				MEvent.WB6(this,NY4,M644)
			}
			else if(this.dCq==eY1L.qUW5||this.dCq==eY1L.V086D||this.dCq==eY1L.d__2)
			{
				if(this.GRPE=="LayerMask"||this.GRPE=="LayerDrawMap"||target.parentNode.id=="LayerMap"||target.id.indexOf("OverlayBg")>=0)
				{
					if(go2Or)this.NYhG=0;
					if(this.getZoomLevel()<K0133)
					{
						this.zoomTo(this.getZoomLevel()+1,void(0),this.width/2-this.E1JF,-this.r8t+this.height/2)
					}
				}
				if(false)
				{
					this.E1JF=mJ3H-this.left;
					this.r8t=T8FG5-this.top;
					if(this.c2csd!=null)
					{
						this.hideBubble()
					}
					if(iToolTipStyle==0)hideToolTipMenu();
					this.panTo(this.width/2-this.E1JF,-this.r8t+this.height/2)
				}
			}
		}
	};
	this.lwm=function(hXA)
	{
		MEvent.WB6(this,'mouseout',hXA);
		var GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		var mJ3H=parseInt((go2Or)?event.clientX:hXA.clientX)-this.offsetX;
		var T8FG5=parseInt((go2Or)?event.clientY:hXA.clientY)-this.offsetY;
		this.GRPE=GRPE;
		this.kmGE=mJ3H-this.left;
		this.CR3k=T8FG5-this.top;
		this.k9qp=false;
		if(!this.xAb())
		{
			if(this.C796w!=null)
			{
				this.C796w.onmouseout(hXA)
			}
			this.EQsCv((go2Or)?event:hXA,GRPE,mJ3H,T8FG5)
		}
	};
	this.VtGr6=function(hXA)
	{
		var GRPE=(go2Or)?event.srcElement.id:hXA.target.id;
		if(GRPE=="LayerDrawMap")
		{
			if(go2Or)
			{
				this.offsetX=parseInt(event.clientX)-parseInt(event.offsetX)-this.left;
				this.offsetY=parseInt(event.clientY)-parseInt(event.offsetY)-this.top
			}
			else
			{
				this.offsetX=this.r99.offsetLeft-this.left-parseInt(document.body.scrollLeft);
				this.offsetY=this.r99.offsetTop-this.top-parseInt(document.body.scrollTop)
			}
		}
	};
	this.addPolyline=function(RX9,G6f2,D012E,p933,X5di,s87P4)
	{
		var ka4=new m2Cd("pline"+this.G6S8W,RX9,G6f2,D012E,p933,X5di,s87P4);
		ka4.maplet=this;
		this.a2xn2[this.a2xn2.length]=ka4;
		this.G6S8W++
	};
	this.addPolylineString=function(g66,b0mC,s87P4)
	{
		var nC9=g66.split(',');
		var L49=new m2Cd("pline"+this.G6S8W,null,null,(nC9.length>2)?nC9[2]:null,(nC9.length>0)?parseInt(nC9[0]):0,(nC9.length>1)?nC9[1]:1,s87P4);
		L49.maplet=this;
		this.G6S8W++;
		L49.tnt2(b0mC);
		this.a2xn2[this.a2xn2.length]=L49
	};
	this.addLabelString=function(type,W67c,ou4)
	{
		var mj24=E97.tnt2(W67c);
		this.addLabel((type==null)?"http://map.mapbar.com/maplite/images/marker.gif":type,mj24[1],mj24[0],ou4)
	};
	this.addOrigin=function(km9V_,t18)
	{
		CRr9.setOrigin(parseFloat(km9V_),parseFloat(t18))
	};
	this.addDestination=function(km9V_,t18)
	{
		CRr9.setDestination(parseFloat(km9V_,t18))
	};
	this.addOverlay=function(_Cy_)
	{
		if(typeof _Cy_=="object")
		{
			if(this.U67[_Cy_.id])
			{
				return
			}
			_Cy_.E_431(this);
			this.U67[_Cy_.id]=_Cy_
		}
	};
	this.removeOverlay=function(_Cy_)
	{
		if(typeof _Cy_=="object")
		{
			if(this.U67[_Cy_.id])
			{
				this.U67[_Cy_.id].remove();
				this.U67[_Cy_.id]=null
			}
		}
		else if(typeof _Cy_=="string")
		{
			if(this.U67[_Cy_])
			{
				this.U67[_Cy_].remove();
				this.U67[_Cy_]=null
			}
		}
	};
	this.clearOverlays=function()
	{
		for(var id in this.U67)
		{
			if(this.U67[id]&&this.U67[id].remove)
			{
				this.U67[id].remove();
				this.U67[id]=null
			}
		}
	};
	this.clean=function()
	{
		this.hideBubble();
		this.removeAllPoints();
		this.removeAllLabels();
		this.removeAllLines();
		h78=new Array();
		PVW=new Array();
		CRr9.clean();
		this.refresh()
	};
	this.showBasePois=function(B75)
	{
		this.bp=B75;
		this.refresh()
	};
	this.showZoomBar=function(B75,L89)
	{
		this.R7C50=B75;
		if(typeof L89!="undefined"&&L89!=null)
		{
			if(this.L89!=L89)
			{
				this.L89=L89;
				this.gYn6().setStyle(this.L89)
			}
		}
		if(this.R7C50)
		{
			this.ovw.hide();
			this.gYn6().show();
			this.yPv.setZoomLevel(this.getZoomLevel());
			if(this.I1b)this.a7W4.moveTo(parseInt(this.width)-97-20,parseInt(this.height)-23)
		}
		else if(this.yPv!=null)
		{
			this.yPv.hide();
			if(this.I1b)this.a7W4.moveTo(parseInt(this.width)-97,parseInt(this.height)-23)
		}
	};
	this.showLogo=function(B75,uX9)
	{
		this.I1b=B75;
		if(this.I1b)
		{
			if(this.a7W4!=null)this.a7W4.show()
		}
		else
		{
			if(this.a7W4!=null)this.a7W4.hide()
		}
	};
	this.showScale=function(B75,j$46,m39q,T3_0)
	{
		this.u4$=B75;
		if(this.u4$)
		{
			if(typeof j$46!="undefined"&&j$46!=null)
			{
				this.j$46=j$46;
				this.Rsq3P(m39q,T3_0);
				this.t4nI.show()
			}
		}
		else
		{
			if(this.t4nI!=null)this.t4nI.hide()
		}
	};
	this.showOverview=function(B75,Gt71)
	{
		if(B75)
		{
			if(Gt71)
			{
				this.ovw.open()
			}
			else
			{
				this.ovw.close()
			}
			this.ovw.show()
		}
		else
		{
			this.ovw.close();
			this.ovw.hide()
		}
	};
	this.showControl=function(B75,Q68Vj)
	{
		this.OXs53=B75;
		if(this.OXs53)
		{
			if(this.C796w)this.C796w.show()
		}
		else
		{
			if(this.C796w)this.C796w.hide()
		}
	};
	this.addControl=function(s7B5A,xMX0s,_hj70,N803)
	{
		if(typeof s7B5A=="string"||(typeof s7B5A=="object"&&s7B5A.toString().indexOf("MStandardControl")>0))
		{
			if(this.C796w)
			{
				this.C796w.XC33C();
				this.C796w=null
			}
			var jMbT1=null;
			if(typeof s7B5A=="string")
			{
				if(_hj70==null||_hj70=="undefined")
				{
					_hj70=0
				}
				if(N803==null||N803=="undefined")
				{
					N803=0
				}
				jMbT1=new MStandardControl(s7B5A,_hj70,N803,xMX0s)
			}
			else if(typeof s7B5A=="object")
			{
				jMbT1=s7B5A
			}
			if(jMbT1)
			{
				jMbT1.E_431(this)
			}
		}
		else if(typeof s7B5A=="object")
		{
			if(this.a2d6B[s7B5A.id])
			{
				return
			}
			s7B5A.E_431(this);
			this.a2d6B[s7B5A.id]=s7B5A;
			this.ovw.addListener(this.a2d6B[s7B5A.id])
		}
	};
	this.removeControl=function(thGf5)
	{
		if(typeof thGf5=="object"&&this.a2d6B[thGf5.id])
		{
			this.a2d6B[thGf5.id].remove();
			this.a2d6B[thGf5.id]=null
		}
	};
	this.addBound=function(jST26)
	{
		if(typeof jST26!="undefined")
		{
			this.Ia01[this.Ia01.length]=jST26
		}
	};
	this.clearAllBounds=function()
	{
		for(var i=0;i<this.Ia01.length;i++)
		{
			this.Ia01[i]=null
		}
		this.Ia01.length=0
	};
	this.setScaleBarValue=function(mP_)
	{
	};
	this.getCurrentMap=function()
	{
		var _84_=this.width*x7exB[this.p83]/this.FW53;
		E97.km9V_=this.D081;
		E97.t18=this.JAf5K;
		var P6374=E97.$447();
		var h1_1=(this.rM_.length>0)?"&pois="+this.rM_.length+",":"";
		for(var i=0;i<this.rM_.length;i++)
		{
			h1_1+=this.rM_[i].$447()+","+this.rM_[i].A97+","
		}
		var FwH=(this.a2xn2.length>0)?"&plines="+this.a2xn2.length+",":"";
		for(var i=0;i<this.a2xn2.length;i++)
		{
			FwH+=this.a2xn2[i].$447()+";"
		}
		var aN3i="";
		for(var i in this.U67)
		{
			if(typeof this.U67[i]=="object"&&this.U67[i]!=null&&this.U67[i].AdY)
			{
				if(aN3i.length==0)
				{
					aN3i="&overlays="
				}
				aN3i+=this.U67[i].AdY()+";"
			}
		}
		return "&map="+this.p83+","+P6374+","+this.width+","+this.height+"&zm="+(Math.round(parseFloat(_84_)*1000)/10.0)+"&width="+this.width+"&height="+this.height+"&ctr="+P6374+h1_1+FwH+"&client="+strLicenseKey+aN3i
	};
	this.getLastPoint=function()
	{
		var h1_1="&poi=";
		if(this.rM_.length>0)
		{
			h1_1+=this.rM_[this.rM_.length-1].$447()+","+this.rM_[this.rM_.length-1].A97
		}
		return h1_1
	};
	this.getLastLine=function()
	{
		var FwH="&pline=";
		if(this.a2xn2.length>0)
		{
			FwH+=this.a2xn2[this.a2xn2.length-1].$447()
		}
		return FwH
	};
	this.setCursorIcon=function(r1K79)
	{
		this.t756=r1K79;
		this.X1RVx.src=r1K79;
		v3e()
	};
	this.j06=function()
	{
		this.t756=null;
		this.X1RVx.src=null
	};
	this.setBgColor=function(D012E)
	{
		this.r99.style.backgroundColor=D012E
	};
	this.setTransparency=function(jL1)
	{
		this.k9ah.i8W96.style.filter="alpha(opacity="+jL1+");";
		this.k9ah.i8W96.style.MozOpacity=(jL1/100.0);
		this.k9ah.i8W96.style.opacity=(jL1/100.0);
		this.k9ah.i8W96.style.C30=(jL1/100)
	};
	this.setAutoZ=function(Pois){
		var ps=Pois.split(',');
		var xA=  new Array();
		var yA=  new Array();
		for(var i=0;i<ps.length-1;i++){
			var ar=E97.tnt2(ps[i]);xA.push(ar[0]);	yA.push(ar[1]);	
		}
		this.setAutoZoom(E97.$447(Math.min.apply(null,xA),Math.min.apply(null,yA)),E97.$447(Math.max.apply(null,xA),Math.max.apply(null,yA)));
	};
	this.setAutoZoom=function(lJ5l,l1IHs,D8FN4,qb21)
	{
		if(isNaN(parseFloat(lJ5l)))
		{
			var ay0=E97.tnt2(lJ5l);
			var cx7=E97.tnt2(l1IHs);
			lJ5l=ay0[1];
			l1IHs=ay0[0];
			D8FN4=cx7[1];
			qb21=cx7[0]
		}
		this.setCenter((D8FN4+lJ5l)/2,(qb21+l1IHs)/2);
		var IK00=1.1*(D8FN4-lJ5l)*this.FW53/this.height;
		var X24R$=1.1*(qb21-l1IHs)*this.FW53/this.width;
		var $h1$=this.getFitZoomLevel(IK00,m7Q5i);
		var y_2Hy=this.getFitZoomLevel(X24R$,x7exB);
		var u09T9=Math.min($h1$,y_2Hy);
		this.setZoomLevel(u09T9);
		if(this.C796w!=null)
		{
			this.C796w.C796w.i8W96.Q44(u09T9)
		}
		if(this.a2d6B!=null)
		{
			for(var OOm in this.a2d6B)
			{
				if(this.a2d6B[OOm].$75)this.a2d6B[OOm].$75.C796w.i8W96.Q44(u09T9)
			}
		}
	};
	this.getFitZoomLevel=function($o7,XD3vv)
	{
		var W710=1;
		while($o7<=XD3vv[W710]&&W710<(XD3vv.length))
		{
			W710++
		}
		return(W710-1)
	};
	this.setBrushStyle=function(YC7,Ta8e)
	{
		this.brush.color=YC7;
		this.brush.stroke=Ta8e
	};
	this.F8v=function()
	{
		return this.k9qp
	};
	this.setActive=function($jp)
	{
		this.k9qp=$jp
	};
	this.onkeydown=function(hXA)
	{
		var oDe3F=(hXA)?hXA:(window.event)?window.event:null;
		if(oDe3F)
		{
			var V939=(oDe3F.H1_5)?oDe3F.H1_5:((oDe3F.keyCode)?oDe3F.keyCode:((oDe3F.which)?oDe3F.which:0));
			if(V939=="37"||V939=="38"||V939=="39"||V939=="40")
			{
				if(this.F8v())
				{
					if(oDe3F.target&&((oDe3F.target.nodeName=="INPUT"&&oDe3F.target.getAttribute("type").toLowerCase()=="text")||oDe3F.target.nodeName=="TEXTAREA"))
					{
						return
					}
					if(oDe3F.srcElement&&((oDe3F.srcElement.tagName=="INPUT"&&oDe3F.srcElement.type=="text")||oDe3F.srcElement.tagName=="TEXTAREA"))
					{
						return
					}
					if(oDe3F.shiftKey||oDe3F.ctrlKey)
					{
						if(V939=="37")
						{
							this.setRotation(this.rotation-15);
							this.refresh()
						}
						if(V939=="39")
						{
							this.setRotation(this.rotation+15);
							this.refresh()
						}
					}
					else
					{
						if(V939=="37")this.panTo(this.width/2,0);
						if(V939=="38")this.panTo(0,this.height/2);
						if(V939=="39")this.panTo(-this.width/2,0);
						if(V939=="40")this.panTo(0,-this.height/2)
					}
				}
			}
		}
	};
	this.a36=function()
	{
		if(go2Or)
		{
			if(typeof this.x8x=="undefined")this.x8x=0;
			if(typeof this.V2jM=="undefined")this.V2jM=0;
			if(this.QfF)clearTimeout(this.QfF);
			this.QfF=null;
			if(event!=null&&!this.V2jM)
			{
				if(event.srcElement.id=="LayerMask"||event.srcElement.id=="LayerDrawMap")
				{
					this.x8x+=event.wheelDelta/120;
					this.qV8(this.getZoomLevel()+this.x8x);
					this.V2jM=parseInt(this.getZoomLevel()+this.x8x);
					this.QfF=getTimeout(this,this.a36,200)
				}
			}
			else
			{
				this.x8x=0;
				this.setZoomLevel(this.V2jM);
				this.V2jM=0
			}
		}
	};
	this.showDiy=function(p97)
	{
		var F8c=(typeof p97=="undefined")?new Array():sdc(p97).split(",");
		var B75=(F8c.length>0);
		var v4NI$=F8c[0];
		var g66=F8c[1];
		var Sj2E=F8c[2];
		var Nq1=F8c[3];
		var fp31=F8c[4];
		var C4B77=F8c[5];
		var CvRd=F8c[6];
		var U79=F8c[7];
		if(B75)
		{
			c$$=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0)
		}
		else
		{
			c$$=new Array(0,0,0,0,0,0,0,0,75,0,0,-150,0,0)
		}
		if(typeof v4NI$=="undefined")
		{
			N29B8=0
		}
		else
		{
			N29B8=parseInt(v4NI$)
		}
		if(typeof g66=="undefined")
		{
			this.setStyle("baidu")
		}
		else
		{
			this.setStyle(g66,Sj2E)
		}
		if(typeof Nq1=="undefined")
		{
			this.AM31c=1.0
		}
		else
		{
			this.AM31c=parseFloat(Nq1)
		}
		if(typeof U79=="undefined")
		{
			if(B75)
			{
				this.P4OM1="http://diyimg.mapbar.com/maplite/"
			}
			else
			{
				this.P4OM1=strImgsvrUrl
			}
		}
		else
		{
			this.P4OM1=U79
		}
		if(typeof CvRd=="undefined")
		{
			Oj14=new Array(-360,360);
			v3r=new Array(-90,90)
		}
		else
		{
			var mj24=E97.tnt2(fp31);
			Oj14=new Array(mj24[0]-parseFloat(C4B77)/2,mj24[0]+parseFloat(C4B77)/2);
			v3r=new Array(mj24[1]-parseFloat(CvRd)/2,mj24[1]+parseFloat(CvRd)/2)
		}
		if(typeof fp31!="undefined")
		{
			this.centerAndZoom(new MPoint(fp31),K0133-1)
		}
	}
};
AVMaplet=Maplet;
if(typeof window.attachEvent!='undefined')
{
	window.attachEvent('onunload',AJ06)
};
function AJ06()
{
	var maplet=document["mapbar-maplet"];
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null&&maplet.V76yb)
		{
			maplet.V76yb.XC33C();
			maplet.V76yb=null
		}
	}
	catch(hXA)
	{
	}
	if(typeof maplet!="undefined"&&maplet!=null)
	{
		MEvent.clearListeners(maplet,"pan");
		MEvent.clearListeners(maplet,"zoomin");
		MEvent.clearListeners(maplet,"zoomout");
		MEvent.clearListeners(maplet,"measure");
		MEvent.clearListeners(maplet,"bookmark");
		MEvent.clearListeners(maplet,"drawline");
		MEvent.clearListeners(maplet,"drawarea");
		MEvent.clearListeners(maplet,"hotspot");
		MEvent.clearListeners(maplet,"lookup")
	}
	if(document.all)
	{
		for(var i=0,nr7_X=document.all.length;i<nr7_X;i++)
		{
			document.all[i]['onmouseover']=null;
			document.all[i]['onmouseout']=null;
			document.all[i]['onmouseup']=null;
			document.all[i]['onmousedown']=null;
			document.all[i]['onclick']=null;
			document.all[i]['ondbclick']=null;
			document.all[i]['onmousemove']=null;
			document.all[i]['ondragstart']=null;
			document.all[i]['onfocus']=null;
			document.all[i]['onblur']=null;
			document.all[i]['onerror']=null
		}
	}
	document.onmouseover=null;
	document.onmouseout=null;
	document.onmouseup=null;
	document.onmousedown=null;
	document.onclick=null;
	document.LO7=null;
	document.onmousemove=null;
	document.ondragstart=null;
	document.onfocus=null;
	document.onblur=null;
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var i in maplet.L28)
			{
				if(maplet.L28[i].parentNode!=null)
				{
					maplet.L28[i].parentNode.removeChild(maplet.L28[i])
				}
				maplet.L28[i].onerror=null;
				maplet.L28[i].onload=null;
				maplet.L28[i]=null
			}
			maplet.L28=null
		}
	}
	catch(hXA)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var S_7=0;S_7<maplet.a2129.length;S_7++)
			{
				try
				{
					maplet.a2129[S_7].wEE4h();
					maplet.a2129[S_7]=null
				}
				catch(pU5)
				{
				}
			}
			maplet.a2129.length=0;
			maplet.a2129=null
		}
	}
	catch(hXA)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var i in maplet.rM_)
			{
				if(maplet.rM_[i]!=null)
				{
					maplet.rM_[i].rQI3=null;
					maplet.rM_[i]=null
				}
			}
			maplet.rM_=null
		}
	}
	catch(hXA)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			maplet.ovw.XC33C();
			for(var i in maplet.ovw)
			{
				maplet.ovw[i]=null
			}
			maplet.ovw=null
		}
	}
	catch(hXA)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var i in maplet)
			{
				maplet[i]=null
			}
			maplet=null
		}
	}
	catch(hXA)
	{
	}
	if(typeof req=="object")
	{
		req=null
	}
};
function HwEI()
{
	if(document.all)
	{
		for(var i=0,nr7_X=document.all.length;i<nr7_X;i++)
		{
			document.all[i]['onerror']=null
		}
	}
};
function s2q9W(J$w,T1803)
{
	try
	{
		if(document.getElementById(T1803)!=null&&J$w!=null)
		{
			document.getElementById(T1803).innerHTML=gc7(J$w.responseText)
		}
	}
	catch(hXA)
	{
	}
};
function gc7(IUu_5)
{
	return IUu_5
};
function Gl200(hXA,title,content)
{
	var maplet=document["mapbar-maplet"];
	var x=((go2Or)?event.clientX:hXA.clientX)-maplet.offsetX-maplet.left;
	var y=((go2Or)?event.clientY:hXA.clientY)-maplet.offsetY-maplet.top;
	maplet.y6cuf(x,y,title,content)
};
function lbp2(id,qdc)
{
	if(typeof id=="string"&&id!=null&&document.getElementById(id)!=null&&typeof qdc=="string"&&qdc!=null)
	{
		document.getElementById(id).innerHTML+=qdc
	}
};
var _1a5=null;
function waitHideTip()
{
	if(_1a5)clearTimeout(_1a5);
	_1a5=null;
	_1a5=setTimeout("hideToolTipMenu()",2000)
};
function lbp(id,x,y,M029,U26gq,ps19,UCngt)
{
	if(typeof id=="string"&&id!=null&&document.getElementById(id)!=null&&typeof U26gq=="string"&&U26gq!=null)
	{
		document.getElementById(id).innerHTML+="<div unselectable=\"on\" class=\"hotspotlabel\" onmouseout=\"javascript:waitHideTip();\" onmouseover=\"javascript:{var e = arguments[0];setToolTipMenu(e,e,'"+ps19+"','"+(UCngt)+"',e)};\" style=\"position:absolute;left:"+x+"px;top:"+y+"px;width:"+M029+"px;height:0px\">"+U26gq+"</div>"
	}
};
function J227u(B1$)
{
	this.B1$=(typeof B1$=="undefined")?"":B1$;
	this.l3j='';
	this.Lg6=document.getElementsByTagName("head").item(0);
	this.P935='__bp_'+J227u.A283b++;
	this.JMh=document.createElement("script");
	this.JMh.setAttribute("language","javascript");
	this.JMh.setAttribute("type","text/javascript");
	this.JMh.setAttribute("id",this.P935);
	this.readyState=0
};
J227u.A283b=1;
J227u.prototype.O73D4=function(B1$)
{
	this.B1$=(typeof B1$=="undefined")?this.B1$:B1$;
	this.JMh.setAttribute("src",this.B1$+this.l3j)
};
J227u.prototype.wEE4h=function()
{
	this.JMh.setAttribute("src","");
	this.Lg6.removeChild(this.JMh)
};
J227u.prototype.ss8=function()
{
	this.Lg6.appendChild(this.JMh)
};
var AjaxHttp={
	sendReq:function(qdc,callback,T1803)
	{	var _5e9=new J227u();
		with(_5e9)
		{
			try
			{
				_5e9.readyState=-1;
				if(typeof showLoading=="function")
				{
					showLoading()
				}
				_5e9.onreadystatechange=function()
				{
					_5e9.readyState=4;
					if(go2Or)
					{
						if(_5e9.JMh.readyState=="loaded"||_5e9.JMh.readyState=="complete")
						{
							callback(T1803);
							_5e9.wEE4h()
						}
					}
					else
					{
						callback(T1803);
						_5e9.wEE4h()
					}
					if(typeof hideLoading=="function")
					{
						hideLoading()
					}
				};
				if(document.all)
				{
					_5e9.JMh.attachEvent("onreadystatechange",_5e9.onreadystatechange)
				}
				else
				{
					_5e9.JMh.addEventListener("load",_5e9.onreadystatechange,false)
				}
				_5e9.O73D4(qdc);
				_5e9.ss8()
			}
			catch(hXA)
			{
				alert(hXA)
			}
		}
	}
};
var v261="http://api.mapbar.com/api/images/done.gif";
var Sm_="http://api.mapbar.com/api/images/edit.gif";
var Px8="http://api.mapbar.com/api/images/stretch.gif";
var lQT=0;
var B6r2f=1;
var t1hC7=2;
var sO0=0;
var fa_=2;
var _U87=1001;
function MEditControl()
{
	this.bU_46=new Array();
	this.img=new Image();
	this.img.r99=this;
	this.img.selected=false;
	this.img.unselectable="on";
	this.img.style.position="absolute";
	this.img.style.zIndex=1;
	this.img.style.cursor="default";
	this.img.src=v261;
	this.E_431=function(c1K0)
	{
		this.KNl_0=c1K0;
		this.Q44();
		this.KNl_0.appendChild(this.img);
		this.bU_46["canvas_update"]=MEvent.bind(this.KNl_0,"update",this,this.Q44)
	};
	this.$d_54=function(B75)
	{
		this.img.border=(B75)?"1":"0"
	};
	this.img.onmousedown=function()
	{
		return false
	};
	this.img.onmouseover=function(hXA)
	{
		this.r99.$d_54(true);
		MEvent.WB6(this.r99,"mouseover",true)
	};
	this.img.onmouseout=function(hXA)
	{
		this.r99.$d_54(false);
		MEvent.WB6(this.r99,"mouseout",false)
	};
	this.Q44=function()
	{
		if(this.KNl_0!=null)
		{
			if(this.KNl_0.usa())
			{
				this.img.src=v261
			}
			else
			{
				this.img.src=Sm_
			}
			if(this.img.parentNode!=null)
			{
				this.KNl_0.A70_(this.img,lQT,sO0)
			}
		}
	};
	this.img.onclick=function(hXA)
	{
		this.r99.KNl_0._YWd()
	};
	this.XC33C=function()
	{
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.removeListener(this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
		}
		this.bU_46=null;
		this.img.parentNode.removeChild(this.img);
		this.img.onmousedown=null;
		this.img.onmouseover=null;
		this.img.onmouseout=null;
		this.img.onclick=null;
		this.img.r99=null;
		this.img=null;
		this.KNl_0=null
	};
	this.toString=function()
	{
		return "com.mapbar.img.MEditControl"
	}
};
function MResizeControl(Vp61,width,height,Ae_)
{
	this.bU_46=new Array();
	this.img=new Image();
	this.img.r99=this;
	this.img.selected=false;
	this.img.unselectable="on";
	this.img.style.position="absolute";
	this.img.style.zIndex=(typeof Ae_=="undefined")?1:parseInt(Ae_);
	this.img.style.cursor="default";
	this.img.src=Px8;
	this.$d_54=function(B75)
	{
		this.img.border=(B75)?"1":"0"
	};
	this.img.onmousedown=function()
	{
		return false
	};
	this.img.onmouseover=function(hXA)
	{
		this.r99.$d_54(true);
		MEvent.WB6(this.r99,"mouseover",true)
	};
	this.img.onmouseout=function(hXA)
	{
		this.r99.$d_54(false);
		MEvent.WB6(this.r99,"mouseout",false)
	};
	this.E_431=function(c1K0)
	{
		this.KNl_0=c1K0;
		this.Q44();
		this.KNl_0.appendChild(this.img,t1hC7,fa_);
		this.bU_46["canvas_mousedown"]=MEvent.bind(this.KNl_0,"mousedown",this,this.tY2_);
		this.bU_46["canvas_mousemove"]=MEvent.bind(this.KNl_0,"mousemove",this,this.F371);
		this.bU_46["canvas_mouseup"]=MEvent.bind(this.KNl_0,"mouseup",this,this.PjD9A);
		this.bU_46["canvas_update"]=MEvent.bind(this.KNl_0,"update",this,this.Q44)
	};
	this.Q44=function()
	{
		if(this.KNl_0!=null)
		{
			if(this.KNl_0.usa())
			{
				this.img.style.visibility="visible"
			}
			else
			{
				this.img.style.visibility="hidden"
			}
			if(this.img.parentNode!=null)
			{
				this.KNl_0.A70_(this.img,t1hC7,fa_)
			}
		}
	};
	this.tY2_=function(hXA)
	{
		if(hXA.target==this.img)
		{
			if(!this.img.selected)
			{
				this.img.selected=true;
				this.img.offsetX=parseInt(this.img.parentNode.style.left)+parseInt(this.img.parentNode.style.width)-parseInt(hXA.clientX);
				this.img.offsetY=parseInt(this.img.parentNode.style.top)+parseInt(this.img.parentNode.style.height)-parseInt(hXA.clientY)
			}
		}
	};
	this.F371=function(hXA)
	{
		if(this.img.selected)
		{
			var N11Yw=parseInt(hXA.clientX)-parseInt(this.img.parentNode.style.left)+this.img.offsetX;
			var u01dg=parseInt(hXA.clientY)-parseInt(this.img.parentNode.style.top)+this.img.offsetY;
			if(N11Yw>0&&u01dg>0)
			{
				this.KNl_0.resize(N11Yw,u01dg);
				this.Q44()
			}
		}
	};
	this.PjD9A=function(hXA)
	{
		this.img.selected=false
	};
	this.XC33C=function()
	{
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.removeListener(this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
		}
		this.bU_46=null;
		this.img.parentNode.removeChild(this.img);
		this.img.onmousedown=null;
		this.img.onmouseover=null;
		this.img.onmouseout=null;
		this.img.onclick=null;
		this.img.r99=null;
		this.img=null;
		this.KNl_0=null
	};
	this.toString=function()
	{
		return "com.mapbar.img.MResizeControl"
	}
};
function MEditableImage(t2345,width,height)
{
	this.whL=t2345;
	this.Ul3=false;
	this.bU_46=new Array();
	this.a2d6B=new Array();
	this.I641f=new Array();
	this.selected=false;
	this.iCW73=false;
	this.KNl_0=document.createElement("div");
	this.KNl_0.className="editableimg";
	this.KNl_0.unselectable="on";
	this.KNl_0.style.width=((typeof width=="undefined")?0:parseInt(width))+"px";
	this.KNl_0.style.height=((typeof height=="undefined")?0:parseInt(height))+"px";
	this.KNl_0.style.visibility="hidden";
	this.usa=function()
	{
		return this.Ul3
	};
	this.width=function()
	{
		return parseInt(this.KNl_0.style.width)
	};
	this.height=function()
	{
		return parseInt(this.KNl_0.style.height)
	};
	this.B$y25=1.0;
	this.resize=function(width,height)
	{
		this.KNl_0.style.width=parseInt(width)+"px";
		this.KNl_0.style.height=parseInt(height)+"px";
		this.img.width=parseInt(width)+"px";
		this.img.height=parseInt(height)+"px"
	};
	this.E_431=function(c1K0,left,top)
	{
		this.c1K0=c1K0;
		if(typeof left!="undefined")
		{
			this.KNl_0.style.left=parseInt(left)+"px"
		}
		if(typeof top!="undefined")
		{
			this.KNl_0.style.top=parseInt(top)+"px"
		}
		this.K7su=0;
		this.QA8T=0;
		this.Q44();
		this.img=new Image();
		this.img.unselectable="on";
		this.img.r99=this;
		this.img.selected=false;
		this.img.style.position="absolute";
		this.img.style.zIndex=0;
		this.img.onload=function()
		{
			this.style.left="0px";
			this.style.top="0px";
			this.r99.c1K0.appendChild(this.r99.KNl_0);
			if(parseInt(this.r99.KNl_0.style.width)>0)
			{
				this.width=(parseInt(this.r99.KNl_0.style.width)-2)+"px"
			}
			if(parseInt(this.r99.KNl_0.style.height)>0)
			{
				this.height=(parseInt(this.r99.KNl_0.style.height)-2)+"px"
			}
			this.r99.KNl_0.style.width=(parseInt(this.width)+2)+"px";
			this.r99.KNl_0.style.height=(parseInt(this.height)+2)+"px";
			this.r99.Q44();
			this.r99.KNl_0.style.visibility="visible"
		};
		this.KNl_0.appendChild(this.img);
		this.img.onmousedown=function()
		{
			return false
		};
		this.img.onmouseover=function()
		{
			this.r99.KNl_0.style.borderColor="#00f";
			if(parseInt(this.r99.KNl_0.style.zIndex)<_U87)
			{
				_U87++;
				this.r99.KNl_0.style.zIndex=_U87
			}
		};
		this.img.onmouseout=function()
		{
			this.r99.KNl_0.style.borderColor="#fff"
		};
		this.img.src=this.whL;
		if(this.maplet)
		{
			this.i8W96=this.KNl_0;
			this.bU_46["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.F371);
			this.bU_46["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.tY2_);
			this.bU_46["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.PjD9A)
		}
		else
		{
			this.bU_46["mousemove"]=MEvent.bindDom(this.c1K0,"mousemove",this,this.F371);
			this.bU_46["mousedown"]=MEvent.bindDom(this.c1K0,"mousedown",this,this.tY2_);
			this.bU_46["mouseup"]=MEvent.bindDom(this.c1K0,"mouseup",this,this.PjD9A)
		}
	};
	this.Q44=function(maplet,left,top)
	{
		if(this.iCW73==false)
		{
			if(maplet)
			{
				this.maplet=maplet;
				this.E_431(maplet.s0579,left,top);
				this.iCW73=true;
				this.B$y25=this.maplet.getZoomLevel()
			}
		}
		else
		{
			if(typeof left!="undefined"&&typeof top!="undefined")
			{
				this.KNl_0.style.left=parseInt(left)+"px";
				this.KNl_0.style.top=parseInt(top)+"px";
				if(!this.Ul3)
				{
					if(this.B$y25!=this.maplet.getZoomLevel())
					{
						var X99=x7exB[this.B$y25]/x7exB[this.maplet.getZoomLevel()];
						this.resize(this.width()*X99,this.height()*X99)
					}
				}
				this.B$y25=this.maplet.getZoomLevel()
			}
		}
		MEvent.WB6(this,"update")
	};
	this.vi3=function()
	{
		return true
	};
	this.tY2_=function(hXA)
	{
		this.selected=true;
		MEvent.WB6(this,"mousedown",hXA);
		if(this.maplet==null&&hXA.target==this.img)
		{
			if(!this.img.selected)
			{
				this.img.selected=true;
				this.img.offsetX=parseInt(this.KNl_0.style.left)-parseInt(hXA.clientX);
				this.img.offsetY=parseInt(this.KNl_0.style.top)-parseInt(hXA.clientY)
			}
		}
	};
	this.F371=function(hXA)
	{
		if(this.selected)
		{
			MEvent.WB6(this,"mousemove",hXA);
			if(this.maplet==null&&this.img.selected)
			{
				this.KNl_0.style.left=(parseInt(hXA.clientX)+parseInt(this.img.offsetX))+"px";
				this.KNl_0.style.top=(parseInt(hXA.clientY)+parseInt(this.img.offsetY))+"px"
			}
		}
	};
	this.PjD9A=function(hXA)
	{
		this.img.selected=false;
		MEvent.WB6(this,"mouseup",hXA);
		if(this.selected)
		{
			this.Q44();
			this.selected=false
		}
	};
	this.addControl=function(Hy9)
	{
		var i=this.a2d6B.length;
		this.a2d6B[i]=Hy9;
		Hy9.E_431(this);
		this.bU_46["ctrl_"+i+"_mouseover"]=MEvent.bind(Hy9,"mouseover",this,this.$d_54);
		this.bU_46["ctrl_"+i+"_mouseout"]=MEvent.bind(Hy9,"mouseout",this,this.$d_54)
	};
	this.removeControl=function(Hy9)
	{
		for(var i=0;i<this.a2d6B.length;i++)
		{
			if(this.a2d6B[i]==Hy9)
			{
				this.a2d6B[i].XC33C();
				this.a2d6B[i]=null
			}
		}
	};
	this.A70_=function(awE,riv0,b9Y3)
	{
		if(riv0==lQT)
		{
			awE.style.left="0px"
		}
		else if(riv0==t1hC7)
		{
			awE.style.left=(parseInt(this.KNl_0.style.width)-parseInt(awE.width)-2)+"px"
		}
		if(b9Y3==sO0)
		{
			awE.style.top="0px"
		}
		else if(b9Y3==fa_)
		{
			awE.style.top=(parseInt(this.KNl_0.style.height)-parseInt(awE.height)-2)+"px"
		}
	};
	this.appendChild=function(awE,riv0,b9Y3)
	{
		this.A70_(awE,riv0,b9Y3);
		this.KNl_0.appendChild(awE)
	};
	this.$d_54=function(B75)
	{
		if(B75==false)
		{
			this.KNl_0.style.borderColor="#fff"
		}
		else
		{
			this.KNl_0.style.borderColor="#00f"
		}
	};
	this._YWd=function()
	{
		this.Ul3=!this.Ul3;
		this.Q44()
	};
	this.addHotspot=function(kY9,left,top,width,height,p17q)
	{
		var j6k9=new MHotspot(kY9,width,height,p17q);
		j6k9.E_431(this,left,top);
		var i=this.I641f.length;
		this.I641f[i]=j6k9;
		this.bU_46["hot_"+i+"_mouseover"]=MEvent.bind(j6k9,"mouseover",this,this.$d_54);
		this.bU_46["hot_"+i+"_mouseout"]=MEvent.bind(j6k9,"mouseout",this,this.$d_54)
	};
	this.AdY=function()
	{
		return this.img.src+","+this.width()+","+this.height()
	};
	this.RE5=function(gXm6q)
	{
		for(var i=0;i<this.I641f.length;i++)
		{
			if(this.I641f[i]==gXm6q)
			{
				this.I641f[i].XC33C();
				this.I641f[i]=null
			}
		}
	};
	this.XC33C=function()
	{
		this.KNl_0.removeChild(this.img);
		this.img.onload=null;
		this.img.onmousedown=null;
		this.img.onmouseover=null;
		this.img.onmouseout=null;
		this.img.r99=null;
		for(var i=0;i<this.a2d6B.length;i++)
		{
			if(this.a2d6B[i]!=null)
			{
				this.a2d6B[i].XC33C();
				this.a2d6B[i]=null
			}
		}
		this.a2d6B=null;
		for(var i=0;i<this.I641f.length;i++)
		{
			if(this.I641f[i]!=null)
			{
				this.I641f[i].XC33C();
				this.I641f[i]=null
			}
		}
		this.I641f=null;
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.b72(this.c1K0,oDe3F,this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
		}
		this.bU_46=null;
		this.c1K0.removeChild(this.KNl_0);
		this.c1K0=null
	};
	this.remove=this.XC33C;
	this.toString=function()
	{
		return "com.mapbar.img.MEditableImage"
	}
};
function MHotspot(kY9,KP_Fo,H7G5,p17q)
{
	this.Ul3=false;
	this.KP_Fo=parseFloat(KP_Fo);
	this.H7G5=parseFloat(H7G5);
	this.nTv=0;
	this.h$5=0;
	this.KNl_0=document.createElement("div");
	this.KNl_0.unselectable="on";
	this.KNl_0.style.position="absolute";
	this.KNl_0.style.zIndex=1;
	this.usa=function()
	{
		return this.Ul3
	};
	this.width=function()
	{
		return parseInt(this.KNl_0.style.width)
	};
	this.height=function()
	{
		return parseInt(this.KNl_0.style.height)
	};
	this.img=new Image();
	this.img.unselectable="on";
	this.img.style.position="absolute";
	this.img.r99=this;
	this.img.selected=false;
	this.img.alt=kY9;
	this.img.style.left="0px";
	this.img.style.top="0px";
	this.img.style.borderColor="#00f";
	this.img.border="0";
	this.KNl_0.appendChild(this.img);
	this.d7W=null;
	this.bU_46=new Array();
	this.a2d6B=new Array();
	this.p17q=p17q;
	this.resize=function(width,height)
	{
		this.KP_Fo=parseFloat(width)/this.c1K0.width();
		this.H7G5=parseFloat(height)/this.c1K0.height();
		this.KNl_0.style.width=parseInt(width)+"px";
		this.KNl_0.style.height=parseInt(height)+"px";
		this.img.width=parseInt(width)+"px";
		this.img.height=parseInt(height)+"px"
	};
	this.E_431=function(c1K0,nTv,h$5)
	{
		this.nTv=parseFloat(nTv);
		this.h$5=parseFloat(h$5);
		this.c1K0=c1K0;
		this.Q44();
		this.c1K0.appendChild(this.KNl_0);
		this.bU_46["mousedown"]=MEvent.bind(this.c1K0,"mousedown",this,this.tY2_);
		this.bU_46["mousemove"]=MEvent.bind(this.c1K0,"mousemove",this,this.F371);
		this.bU_46["mouseup"]=MEvent.bind(this.c1K0,"mouseup",this,this.PjD9A);
		this.bU_46["update"]=MEvent.bind(this.c1K0,"update",this,this.Q44);
		this.addControl(new MResizeControl())
	};
	this.Q44=function()
	{
		if(this.c1K0!=null)
		{
			this.Ul3=this.c1K0.usa();
			if(this.c1K0.usa())
			{
				this.img.style.cursor="move";
				this.img.border="2"
			}
			else
			{
				this.img.style.cursor=(go2Or)?"hand":"pointer";
				this.img.border="0"
			}
			if(this.c1K0.width()>0)
			{
				this.KNl_0.style.width=parseInt(this.c1K0.width()*this.KP_Fo)+"px";
				this.img.style.width=parseInt(this.KNl_0.style.width)+"px";
				this.img.width=parseInt(this.KNl_0.style.width)+"px";
				this.KNl_0.style.left=parseInt(this.c1K0.width()*this.nTv)+"px"
			}
			if(this.c1K0.height()>0)
			{
				this.KNl_0.style.height=parseInt(this.c1K0.height()*this.H7G5)+"px";
				this.img.style.height=parseInt(this.KNl_0.style.height)+"px";
				this.img.height=parseInt(this.KNl_0.style.height)+"px";
				this.KNl_0.style.top=parseInt(this.c1K0.height()*this.h$5)+"px"
			}
			MEvent.WB6(this,"update")
		}
		if(this.d7W!=null&&this.Ul3==false)
		{
			this.d7W.hide()
		}
	};
	this.tY2_=function(hXA)
	{
		if(this.c1K0.selected&&this.c1K0.usa())
		{
			MEvent.WB6(this,"mousedown",hXA);
			if(TDu1(hXA.target,this.img)&&!this.img.selected)
			{
				this.img.selected=true;
				this.KNl_0.offsetX=parseInt(this.KNl_0.style.left)-parseInt(hXA.clientX);
				this.KNl_0.offsetY=parseInt(this.KNl_0.style.top)-parseInt(hXA.clientY)
			}
		}
	};
	this.F371=function(hXA)
	{
		if(this.c1K0.selected)
		{
			if(this.c1K0.usa())
			{
				MEvent.WB6(this,"mousemove",hXA);
				if(this.img.selected)
				{
					this.KNl_0.style.left=(parseInt(hXA.clientX)+parseInt(this.KNl_0.offsetX))+"px";
					this.KNl_0.style.top=(parseInt(hXA.clientY)+parseInt(this.KNl_0.offsetY))+"px"
				}
				else
				{
					this.Q44()
				}
			}
			else
			{
				if(!(this.c1K0.usa()||TDu1(hXA.target,this.img)))
				{
					this.img.border="0"
				}
			}
		}
	};
	this.PjD9A=function(hXA)
	{
		MEvent.WB6(this,"mouseup",hXA);
		if(this.img.selected)
		{
			this.nTv=parseFloat(this.KNl_0.style.left)/parseFloat(this.c1K0.width());
			this.h$5=parseFloat(this.KNl_0.style.top)/parseFloat(this.c1K0.height())
		}
		this.img.selected=false
	};
	this.$d_54=function(B75)
	{
		this.img.border=(B75)?"2":"0"
	};
	this.A70_=function(awE,riv0,b9Y3)
	{
		if(riv0==lQT)
		{
			awE.style.left="0px"
		}
		else if(riv0==t1hC7)
		{
			awE.style.left=(parseInt(this.KNl_0.style.width)-parseInt(awE.width)+2)+"px"
		}
		if(b9Y3==sO0)
		{
			awE.style.top="0px"
		}
		else if(b9Y3==fa_)
		{
			awE.style.top=(parseInt(this.KNl_0.style.height)-parseInt(awE.height)+2)+"px"
		}
	};
	this.appendChild=function(awE,riv0,b9Y3)
	{
		this.A70_(awE,riv0,b9Y3);
		this.KNl_0.appendChild(awE)
	};
	this.img.onclick=function(hXA)
	{
		if(this.r99.Ul3)
		{
			if(this.d7W==null)
			{
				_U2X.show(CO4r(hXA).clientX,CO4r(hXA).clientY,this.r99)
			}
		}
		else
		{
			window.open(this.r99.p17q)
		}
		MEvent.WB6(this.r99,"click",CO4r(hXA))
	};
	this.img.onmouseover=function(hXA)
	{
		if(this.r99.Ul3)
		{
			this.style.cursor="move"
		}
		else
		{
			this.style.cursor=(go2Or)?"hand":"pointer"
		}
		this.r99.$d_54(true);
		MEvent.WB6(this.r99,"mouseover",true,CO4r(hXA))
	};
	this.img.onmouseout=function(hXA)
	{
		if(!this.r99.Ul3)
		{
			this.r99.$d_54(false)
		}
		MEvent.WB6(this.r99,"mouseout",false,CO4r(hXA))
	};
	this.img.onload=function()
	{
		this.width=this.style.width;
		this.height=this.style.height
	};
	this.img.src=TI76u;
	this.addControl=function(Hy9)
	{
		var i=this.a2d6B.length;
		this.a2d6B[i]=Hy9;
		Hy9.E_431(this);
		this.bU_46["ctrl_"+i+"_mouseover"]=MEvent.bind(Hy9,"mouseover",this,this.$d_54);
		this.bU_46["ctrl_"+i+"_mouseout"]=MEvent.bind(Hy9,"mouseout",this,this.$d_54)
	};
	this.removeControl=function(Hy9)
	{
		for(var i=0;i<this.a2d6B.length;i++)
		{
			if(this.a2d6B[i]==Hy9)
			{
				this.a2d6B[i].XC33C();
				this.a2d6B[i]=null
			}
		}
	};
	this.XC33C=function()
	{
		for(var i=0;i<this.a2d6B.length;i++)
		{
			if(this.a2d6B[i]!=null)
			{
				this.a2d6B[i].XC33C();
				this.a2d6B[i]=null
			}
		}
		this.a2d6B=null;
		for(var oDe3F in this.bU_46)
		{
			try
			{
				if(this.bU_46[oDe3F]!=null)
				{
					MEvent.removeListener(this.bU_46[oDe3F]);
					this.bU_46[oDe3F]=null
				}
			}
			catch(hXA)
			{
			}
		}
		this.bU_46=null;
		this.KNl_0.removeChild(this.img);
		this.img.parentNode.removeChild(this.img);
		this.img.onmousedown=null;
		this.img.onmouseover=null;
		this.img.onmouseout=null;
		this.img.onclick=null;
		this.img.r99=null;
		this.img=null;
		this.KNl_0=null;
		this.c1K0=null
	};
	this.toString=function()
	{
		return "com.mapbar.img.MHotspot"
	};
	this.n10$=function()
	{
		return this.p17q
	};
	this.c_X85=function(qdc)
	{
		this.p17q=qdc
	}
};
function u3I$G()
{
	this.KNl_0=document.createElement("div");
	this.KNl_0.style.position="absolute";
	this.KNl_0.style.width="0px";
	this.KNl_0.style.height="0px";
	this.table=document.createElement("table");
	this.table.border=0;
	this.table.cellPadding=0;
	this.table.cellSpacing=0;
	this.K6g=document.createElement("input");
	this.K6g.setAttribute("name","query");
	this.K6g.setAttribute("type","text");
	this.K6g.setAttribute("size","40");
	this.K6g.value=$9n7("%u8C15%u1B8A%uE0F8%uD0B6%uD691%u564C%u588E%u589C%uFF82%DC%E8%E4%AAi%5E%A6%EE%EE%A5%9B%CE%D1%D2%C3%D3%A0%91%D2%DC%9C");
	this.K6g.onfocus=function()
	{
		if(!this.u0v.n10$())
		{
			this.value=""
		}
	};
	this.CH3S9=document.createElement("input");
	this.CH3S9.setAttribute("name","query");
	this.CH3S9.setAttribute("type","button");
	this.CH3S9.value=$9n7("%u5B8E%uBD9C");
	this.CH3S9.d7W=this;
	this.CH3S9.onclick=function()
	{
		this.d7W.iVme()
	};
	this.q0_=document.createElement("input");
	this.q0_.setAttribute("name","query");
	this.q0_.setAttribute("type","button");
	this.q0_.value=$9n7("%u53D8%uC15E");
	this.q0_.d7W=this;
	this.q0_.onclick=function()
	{
		this.d7W.hide()
	};
	this.table.insertRow(0);
	this.table.rows[0].insertCell(0);
	this.table.insertRow(1);
	this.table.rows[1].insertCell(0);
	this.table.rows[0].cells[0].appendChild(this.K6g);
	this.table.rows[1].cells[0].appendChild(this.CH3S9);
	this.table.rows[1].cells[0].appendChild(this.q0_);
	this.KNl_0.appendChild(this.table);
	this.KNl_0.style.visibility="hidden";
	if(go2Or)
	{
		if(document.body)
		{
			document.body.appendChild(this.KNl_0)
		}
	}
	else
	{
		if(document.firstChild)
		{
			//document.firstChild.appendChild(this.KNl_0)
		}
	}
	this.show=function(x,y,u0v)
	{
		this.KNl_0.style.zIndex=1000;
		this.KNl_0.style.left=parseInt(x)+"px";
		this.KNl_0.style.top=(parseInt(y)-10)+"px";
		if(this.u0v!=null&&this.u0v.d7W!=null)
		{
			this.u0v.d7W=null
		}
		this.u0v=u0v;
		this.u0v.d7W=this;
		this.K6g.u0v=this.u0v;
		this.K6g.value=(this.u0v.n10$())?this.u0v.n10$():$9n7("%u8C15%u1B8A%uE0F8%uD0B6%uD691%u564C%u588E%u589C%uFF82%DC%E8%E4%AAi%5E%A6%EE%EE%A5%9B%CE%D1%D2%C3%D3%A0%91%D2%DC%9C");
		this.KNl_0.style.visibility="visible"
	};
	this.iVme=function()
	{
		if(this.u0v!=null&&this.u0v.Ul3)
		{
			this.u0v.c_X85(this.K6g.value);
			if(this.u0v!=null&&this.u0v.d7W!=null)
			{
				this.u0v.d7W=null;
				this.u0v=null
			}
		}
		this.KNl_0.style.visibility="hidden"
	};
	this.hide=function()
	{
		if(this.u0v!=null&&this.u0v.d7W!=null)
		{
			this.u0v.d7W=null;
			this.u0v=null
		}
		this.KNl_0.style.visibility="hidden"
	}
};
var _U2X=new u3I$G();
function $98()
{
	this.$k$sO=function(id,is2,Ku5V1,L9O,callback)
	{
		is2=parseInt(is2);
		Ku5V1=parseInt(Ku5V1);
		L9O=parseInt(L9O);
		if(is2==Ku5V1)
		{
			$9S.Xn8(is2,id,Ku5V1,callback);
			return
		}
		this.Xn8(is2,id);
		var H514=Math.max(100,Math.round(L9O/Math.abs(Ku5V1-is2)));
		var p00=Math.max(1,Math.abs((Ku5V1-is2)/(L9O/H514)));
		var tiD7=is2+p00;
		if(is2>Ku5V1)
		{
			tiD7=is2-p00
		}
		setTimeout("$9S.$k$sO('"+id+"',"+tiD7+","+Ku5V1+","+(L9O-H514)+",'"+callback+"')",(H514))
	};
	this.k48V=function(id,L9O)
	{
		if(typeof L9O=="undefined")
		{
			L9O=1000
		}
		this.$k$sO(id,0,100,L9O)
	};
	this.mdCN=function(id,L9O)
	{
		if(typeof L9O=="undefined")
		{
			L9O=1000
		}
		this.$k$sO(id,100,0,L9O)
	};
	this.Xn8=function(opacity,id,b01,callback)
	{
		var g4E5=document.getElementById(id).style;
		g4E5.opacity=(opacity/100);
		g4E5.MozOpacity=(opacity/100);
		g4E5.C30=(opacity/100);
		g4E5.filter="alpha(opacity="+opacity+")";
		if(opacity==b01&&callback!=null)
		{
			eval(callback)
		}
	};
	this.$9l8=function(id,U96,exY06)
	{
		document.getElementById(id).style.left=parseInt(U96)+"px";
		document.getElementById(id).style.top=parseInt(exY06)+"px"
	};
	this.move=function(id,R01,e1P,U96,exY06,L9O,callback)
	{
		this.$9l8(id,R01,e1P);
		this.panTo(id,U96,exY06,L9O,callback)
	};
	this.panTo=function(id,U96,exY06,L9O,callback)
	{
		U96=parseInt(U96);
		exY06=parseInt(exY06);
		var R01=parseInt(document.getElementById(id).style.left);
		var e1P=parseInt(document.getElementById(id).style.top);
		L9O=parseInt(L9O);
		var dQ90=U96-R01;
		var roa6p=exY06-e1P;
		if(dQ90==0&&roa6p==0)
		{
			if(callback!=null)
			{
				eval(callback)
			}
			return
		}
		var dTI84=Math.abs(dQ90)+Math.abs(roa6p);
		var SOD_=Math.max(5,dTI84/(L9O/100));
		var H514=Math.max(100,Math.round(L9O/(dTI84/SOD_)));
		var W63=dQ90*SOD_/dTI84;
		var w46_=roa6p*SOD_/dTI84;
		var Q7J=R01+W63;
		var H8B=e1P+w46_;
		if(dTI84<SOD_)
		{
			Q7J=U96;
			H8B=exY06
		}
		this.$9l8(id,Q7J,H8B);
		setTimeout("$9S.panTo('"+id+"',"+U96+","+exY06+","+(L9O-H514)+",'"+callback+"')",(H514))
	}
};
var $9S=new $98();
function C$$F(maplet)
{
	this.Ug$X=null;
	this.Q44=function()
	{
		if(this.Ug$X!=null)
		{
			this.Ug$X.wEE4h();
			this.Ug$X=null
		}
		if(hbo)
		{
			this.Ug$X=new J227u("http://localhost/a?"+this.maplet.O5P$+"@"+this.maplet.H5K80+"@"+((new Date().getTime())%86400000).toString(36))+"@update";
			this.Ug$X.O73D4();
			this.Ug$X.ss8()
		}
	};
	this.stop=function()
	{
		hbo=false;
		if(this.H514!=null)clearInterval(this.H514);
		this.H514=null
	};
	this.XC33C=function()
	{
		hbo=false;
		if(this.Ug$X!=null)
		{
			this.Ug$X.wEE4h();
			this.Ug$X=null
		}
		this.Ug$X=new J227u("http://localhost/a?"+this.maplet.H5K80+"@"+((new Date().getTime())%86400000).toString(36)+"@leave");
		this.Ug$X.O73D4();
		this.Ug$X.ss8();
		this.Ug$X=null;
		this.stop();
		MEvent.removeListener(this.nv48)
	};
	this.start=function()
	{
		this.stop();
		hbo=true;
		this.H514=_35(this,this.Q44,5000)
	};
	this.maplet=null;
	if(maplet)
	{
		this.maplet=maplet;
		this.nv48=MEvent.bind(maplet,"update",this,this.Q44)
	}
};
function usu(y_6N)
{
	if(hbo)
	{
		var maplet=document["mapbar-maplet"];
		if(maplet!=null)
		{
			if(maplet.UuU!=null&&maplet.UuU.length>0)
			{
				for(var i=0;i<maplet.UuU.length;i++)
				{
					maplet.removeOverlay(maplet.UuU[i]);
					maplet.UuU[i]=null
				}
				maplet.UuU=new Array()
			}
			if(y_6N!=null&&y_6N.length>0)
			{
				y_6N=sdc(y_6N);
				var U305=y_6N.split(";");
				var abP=0;
				for(var i=0;i<U305.length;i++)
				{
					if(U305[i]!=null&&U305[i].length>0&&U305[i].indexOf("@")>0)
					{
						var mj24=U305[i].split("@");
						var H5_=mj24[0].split("*");
						var _3_q=new MMarker(new MPoint(mj24[1]),new MIcon("<img src="+strImgsvrUrl+"images/share/stay.gif width=50 height=50>",50,50),new MInfoWindow(H5_[1],"content"));
						if(_3_q.q9A2F)
						{
							_3_q.q9A2F(mj24[0])
						}
						maplet.addOverlay(_3_q);
						maplet.U67[mj24[0]].pt.pid=mj24[1];
						maplet.U67[mj24[0]].paint();
						maplet.UuU[maplet.UuU.length]=maplet.U67[mj24[0]]
					}
				}
			}
		}
	}
};

function showMap(mapcode,title)
{
	var mw=false;
	var poi = mapcode;
	var oo = false;//屏蔽小地图！！
	var mw = 1;//防止滚屏！！
	var DEYIl=2;//地图显示的最少等级！！
	var bp = false;//黄金地标开关！！addControl
	var iToolTipStyle =2;
	maplet = new Maplet("mapbar");
	maplet.centerAndZoom(new MPoint(poi), 12);
	maplet.addControl(new MStandardControl());
	maplet.showOverview(0,0);
	maplet.addIcon('images/tool_icon02.gif',poi,title,title,1,'#ff0000');
	maplet.refresh();
}
-->
