<!--
document.write("<html xmlns:v='urn chemas-microsoft-com:vml'>");
document.write('<link rel="stylesheet" href="http://api.mapbar.com/api/css/mapbar20.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";
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;
var c75=0;
if(typeof bp=="undefined")var bp=false;
if(typeof oo=="undefined")var oo=true;
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 MAX_BUBBLE_HEIGHT=="undefined")var MAX_BUBBLE_HEIGHT=380;
if(typeof O09_=="undefined")O09_=0;
var _56='';
Array.prototype.clear=function()
{
	while(this.length>0)this.pop()
};
function getTimeout(d2B,BguJq,HL8P)
{
return window.setTimeout(function()
{
	BguJq.apply(d2B)
}
,HL8P)
};
function u$0(d2B,BguJq,HL8P)
{
return window.setInterval(function()
{
	BguJq.apply(d2B)
}
,HL8P)
};
function $337(d2B,F380,BguJq)
{
	this.s346=d2B;
	this.propertyName=F380;
	this.BguJq=BguJq
};
function XY6R$(r2Q1$)
{
	if(!r2Q1$)
	{
		r2Q1$=window.event
	}
	if(r2Q1$&&!r2Q1$.target)
	{
		r2Q1$.target=r2Q1$.srcElement
	}
	return r2Q1$
};
function Hc0E()
{
	this.jjART=function(Q91$)
	{
		return "_e__"+Q91$
	};
	this.addListener=function(d2B,Q91$,BguJq)
	{
		var gaNF=this.jjART(Q91$);
		if(d2B[gaNF])
		{
			var b4O=true;
			for(var i=0;i<d2B[gaNF].length;i++)
			{
				var yA0=d2B[gaNF][i];
				if(yA0==BguJq)
				{
					b4O=false;
					break
				}
			}
			if(b4O)d2B[gaNF].push(BguJq)
		}
		else
		{
			d2B[gaNF]=[BguJq]
		}
		return new $337(d2B,gaNF,BguJq)
	};
	this.removeListener=function(N4F)
	{
		var d2B=N4F.s346[N4F.propertyName];
		for(var SH06=0;SH06<d2B.length;SH06++)
		{
			if(N4F[SH06]==N4F.BguJq)
			{
				N4F.splice(SH06,1);
				return
			}
		}
	};
	this.clearListeners=function(d2B,Q91$)
	{
		var gaNF=this.jjART(Q91$);
		d2B[gaNF]=null
	};
	this.M7R6=function(d2B,gaNF)
	{
		var AhE7=this.jjART(gaNF);
		var d54=d2B[AhE7];
		if(d54&&d54.length>0)
		{
			var $96=[];
			for(var i=2;i<arguments.length;i++)
			{
				$96.push(arguments[i])
			}
			for(var i=0;i<d54.length;i++)
			{
				var yA0=d54[i];
				if(yA0)
				{
					try
					{
						yA0.apply(AhE7,$96)
					}
					catch(g)
					{
					}
				}
			}
		}
	};
	this.oOX=function(d2B,gaNF,BguJq)
	{
		if(d2B.addEventListener)
		{
			d2B.addEventListener(gaNF,BguJq,false)
		}
		else if(d2B.attachEvent)
		{
			d2B.attachEvent("on"+gaNF,BguJq)
		}
		else
		{
			d2B["on"+gaNF]=BguJq
		}
		return BguJq
	};
	this.M3E$=function(d2B,gaNF,BguJq)
	{
		if(d2B.removeEventListener)
		{
			d2B.removeEventListener(gaNF,BguJq,false)
		}
		else if(d2B.detachEvent)
		{
			d2B.detachEvent("on"+gaNF,BguJq)
		}
		else
		{
			d2B["on"+gaNF]=null
		}
	};
	this.bind=function(d2B,gaNF,QX45f,BguJq)
	{
		return this.addListener(d2B,gaNF,function()
		{
			BguJq.apply(QX45f,arguments)
		}
		)
	};
	this.bindDom=function(d2B,gaNF,QX45f,BguJq)
	{
		var jA2G=this.I2G(QX45f,BguJq);
		return this.oOX(d2B,gaNF,jA2G)
	};
	this.I2G=function(d2B,gaNF)
	{
return function(r2Q1$)
{
	r2Q1$=XY6R$(r2Q1$);
	gaNF.call(d2B,r2Q1$)
}
};
this.callback=function(BguJq,d2B)
{
return function()
{
	return d2B.apply(BguJq,arguments)
}
}
};
var MEvent=new Hc0E();
var $k4j=strImgsvrUrl+"images/wmk.gif";
function s8_Er()
{
	this.B6N92=new Array();
	this.L49$2=new Image();
	this.L49$2.src=PBt;
	this.f99ux=20;
	this.FA8=function(img,src,Yp3C7,yA0)
	{
		this.B6N92[this.B6N92.length]=new Image();
		var uiB96=this.B6N92.length-1;
		this.B6N92[uiB96].N4F=img;
		img.style.filter="alpha(opacity="+this.f99ux+");";
		img.style.MozOpacity=(this.f99ux/100.0);
		img.style.opacity=(this.f99ux/100.0);
		img.style.$0A08=(this.f99ux/100);
		img.src=PBt;
		if(typeof Yp3C7!="undefined")
		{
			img.width=Yp3C7;
			this.B6N92[uiB96].width=Yp3C7
		}
		if(typeof yA0!="undefined")
		{
			img.height=yA0;
			this.B6N92[uiB96].height=yA0
		}
		this.B6N92[uiB96].OA30M=this;
		this.B6N92[uiB96].uiB96=uiB96;
		this.B6N92[uiB96].AU9="0";
		this.B6N92[uiB96].onload=function()
		{
			if(typeof Yp3C7!="undefined")
			{
				this.width=Yp3C7
			}
			if(typeof yA0!="undefined")
			{
				this.height=yA0
			}
			this.N4F.src=this.src;
			this.N4F.style.filter=null;
			this.N4F.style.MozOpacity=1;
			this.N4F.style.opacity=1;
			this.N4F.style.$0A08=1;
			if(typeof Yp3C7!="undefined")
			{
				this.N4F.width=Yp3C7
			}
			if(typeof yA0!="undefined")
			{
				this.N4F.height=yA0
			}
			this.AU9="1";
			this.OA30M[this.uiB96]=null;
			this.OA30M.mW5();
			this.OA30M=null;
			this.N4F=null;
			this.onload=null;
			this.onerror=null
		};
		this.B6N92[uiB96].onerror=function()
		{
			if(typeof Yp3C7!="undefined")
			{
				this.width=Yp3C7
			}
			if(typeof yA0!="undefined")
			{
				this.height=yA0
			}
			this.N4F.style.filter=null;
			if(typeof Yp3C7!="undefined")
			{
				this.N4F.width=Yp3C7
			}
			if(typeof yA0!="undefined")
			{
				this.N4F.height=yA0
			}
			this.AU9="1";
			this.OA30M[this.uiB96]=null;
			this.OA30M.mW5();
			this.OA30M=null;
			this.N4F=null;
			this.onload=null;
			this.onerror=null
		};
		showLoading();
		this.B6N92[uiB96].src=src
	};
	this.mW5=function()
	{
		hideLoading();
		var J170w=1;
		for(var i=0;i<this.B6N92.length;i++)
		{
			if(this.B6N92[i]!=null&&this.B6N92[i].AU9=="0")
			{
				J170w=0
			}
			else if(this.B6N92[i]!=null)
			{
				this.B6N92[i].N4F=null;
				this.B6N92[i].OA30M=null;
				this.B6N92[i].onload=null;
				this.B6N92[i].onerror=null;
				delete(this.B6N92[i])
			}
		}
		if(J170w)
		{
			for(var i=0;i<this.B6N92.length;i++)
			{
				if(this.B6N92[i]!=null)
				{
					this.B6N92[i].N4F=null;
					this.B6N92[i].OA30M=null;
					this.B6N92[i].onload=null;
					this.B6N92[i].onerror=null;
					delete(this.B6N92[i])
				}
			}
			this.B6N92.length=0;
			MEvent.M7R6(this,"clean")
		}
	}
};
var P47=new s8_Er();
document.write('<script language="javascript" src="http://api.mapbar.com/api/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 k564K=0;
var X34_9='<div id="loading" unselectable = "on"><img src="http://img.mapbar.com/maplite/images/loading.gif"></div>';
function showLoading()
{
	k564K++;
	if(document.getElementById("loading"))
	{
		document.getElementById("loading").style.display="block";
		document.getElementById("loading").style.visibility="visible"
	}
};
function hideLoading()
{
	k564K--;
	if(k564K<=0)
	{
		if(document.getElementById("loading"))
		{
			document.getElementById("loading").style.display="none";
			document.getElementById("loading").style.visibility="hidden"
		}
	}
};
function CQ$(maplet)
{
	if(document.getElementById("loading"))
	{
		document.getElementById("loading").style.left=(maplet.width-document.getElementById("loading").clientWidth)/2;
		document.getElementById("loading").style.top=(maplet.height-document.getElementById("loading").clientHeight)/2
	}
};
function c57(x,y,UNT)
{
	document.getElementById("myalert").style.top=parseInt(y)-60+parseInt(document.body.scrollTop);
	document.getElementById("myalert").style.left=parseInt(x)-100+parseInt(document.body.scrollLeft);
	var Ly4=(en==1)?"Close":v4Wk("%u5175%uE760");
	document.getElementById("myalert").innerHTML='<table width="196" border="0" cellpadding="0" cellspacing="0" style="border:1px solid #CCCCCC;"><tr><td height="19" bgcolor="#8888FF"></td></tr><tr><td height="100" align="center" valign="middle" bgcolor="#FFFFFF"><table width="167" height="79" border="0" cellpadding="0" cellspacing="0"><tr><td height="55" align="center" valign="middle" style="font-size: 12px;color: #0065AD;">'+UNT+'</td></tr><tr><td height="24" align="center" valign="middle"><input type="button" value="'+Ly4+'" 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: 38; height:18; border: 1px solid #4A799C;background-color: #FDFAF3"></td></tr></table></td></tr></table>';
	document.getElementById("myalert").style.visibility="visible"
};
function M55h(UNT)
{
	if(O09_)c57(820,360,UNT)
};
function CV0(aDr79)
{
	var SH06='';
	for(var i=0;i<aDr79.length;i++)
	{
		var k39=aDr79.charCodeAt(i).toString(36).toUpperCase();
		if(k39.length<=1)
		{
			k39="0"+k39
		}
		SH06+=k39
	}
	return SH06
};
function sdc(aDr79)
{
	var SH06='';
	for(var i=0;i<aDr79.length;i+=2)
	{
		var k39=aDr79.substring(i,i+2);
		SH06+=String.fromCharCode(parseInt(k39,36))
	}
	return SH06
};
function v4Wk(aDr79)
{
	aDr79=unescape(aDr79);
	var SH06=String.fromCharCode(aDr79.charCodeAt(0)-aDr79.length);
	for(var i=1;i<aDr79.length;i++)
	{
		SH06+=String.fromCharCode(aDr79.charCodeAt(i)-SH06.charCodeAt(i-1))
	}
	return SH06
};
if(typeof bArrow=="undefined")
{
	var bArrow=0
}
var PBt=strImgsvrUrl+"images/mask.gif";
document.write('<iframe id="mapbar-preloader" src="'+PBt+'" width=0 height=0 style="border:0;"></iframe>');
var W$kh1=document.all?1:0;
var _cE=document.rc_$?1:0;
var h$7G=(W$kh1)?"document.all.":"document.";
var QB2E=(W$kh1)?".style":"";
var S8Q=0;
function CreateToolTip(X0J,M0l28,UNT)
{
	var Kch2='<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">'+M0l28+'</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">'+UNT+'</td></tr>'+'</table>'+'</td></tr>'+'</table>'+'</td></tr>'+'</table></td></tr></table>';
	document.getElementById(X0J).innerHTML=Kch2
};
function MoveToolTip(X0J,l5AD2,Yww,r2Q1$)
{
	if(W$kh1)
	{
		document.getElementById(X0J).style.top=(eval(l5AD2))
	}
	else
	{
		document.getElementById(X0J).style.top=eval(l5AD2)
	}
	document.getElementById(X0J).style.left=eval(Yww)
};
function UpdateContent(X0J,M0l28,UNT)
{
	if(S8Q==0)
	{
		CreateToolTip(X0J,M0l28,UNT);
		S8Q=1
	}
	else
	{
		if(document.getElementById("mytooltiptitle"))document.getElementById("mytooltiptitle").innerHTML=M0l28;
		if(document.getElementById("mytooltipcontent"))document.getElementById("mytooltipcontent").innerHTML=UNT
	}
};
function setToolTipMenu(x,y,M0l28,UNT,r2Q1$)
{
	var maplet=document["mapbar-maplet"];
	if(maplet!=null&&maplet.width&&maplet.height)
	{
		mapwidth=maplet.width;
		mapheight=maplet.height;
		if(typeof x=="undefined"||typeof r2Q1$=="object")
		{
			x=((W$kh1)?event.clientX:r2Q1$.clientX)-maplet.offsetX-maplet.left;
			y=((W$kh1)?event.clientY:r2Q1$.clientY)-maplet.offsetY-maplet.top
		}
	}
	UpdateContent("ToolTip",M0l28,UNT);
	var mL_6=document.getElementById("ToolTip").clientWidth;
	var jaD=document.getElementById("ToolTip").clientHeight;
	if(x>mapwidth-mL_6)
	{
		x=x-mL_6
	};
	if(y>mapheight-jaD)
	{
		y=y-jaD
	};
	MoveToolTip("ToolTip",y+yoffset,x+xoffset);
	document.getElementById("ToolTip").style.visibility='visible'
};
function hideToolTipMenu()
{
	document.getElementById("ToolTip").style.visibility="hidden";
	MoveToolTip("ToolTip",0,0)
};
function l77(name,left,top,width,height,HtN,m3227,content,OA30M)
{
	this.O8F=content;
	this.OA30M=OA30M;
	this.name=name;
	this.$Mkw=1;
	this.hide=function()
	{
		this.style.visibility="hidden"
	};
	this.show=function()
	{
		this.style.visibility="visible"
	};
	this.moveTo=function(x,y)
	{
		this.style.left=x;
		this.style.top=y
	};
	this.resize=function(Yp3C7,yA0)
	{
		if(parseInt(Yp3C7)>=0&&parseInt(yA0)>=0)
		{
			this.style.width=Yp3C7;
			this.style.height=yA0
		}
	};
	this.f$6=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(_tj)
	{
		try
		{
			this.S6Ys.appendChild(_tj)
		}
		catch(r2Q1$)
		{
		}
	};
	this.removeChild=function(_tj)
	{
		try
		{
			this.S6Ys.removeChild(_tj)
		}
		catch(r2Q1$)
		{
		}
	};
	this.clear=function()
	{
		while(this.S6Ys.hasChildNodes())
		{
			this.S6Ys.removeChild(this.S6Ys.lastChild)
		}
	};
	this.clean=this.clear;
	this.getName=function()
	{
		return this.name
	};
	try
	{
		this.S6Ys=T2i(this.name,left,top,width,height,HtN,m3227,content);
		this.S6Ys.unselectable="on";
		if(this.OA30M)this.OA30M.appendChild(this.S6Ys);
		this.style=this.S6Ys.style;
		this.graphics=(W$kh1)?new s61F9():new jsGraphics(this.name)
	}
	catch(r2Q1$)
	{
	}
};
function s61F9()
{
	this.clear=function()
	{
	};
	this.paint=function()
	{
	};
	this.BDb8V=function()
	{
	};
	this.pxl5=function()
	{
	};
	this.setColor=function()
	{
	}
};
function _8N0a(name)
{
	if(document.getElementById(name)!=null)
	{
		var d2B=document.getElementById(name);
		return d2B
	}
	return null
};
function N7v4(name)
{
	if(document.getElementById(name)!=null)
	{
		var $99=document.getElementById(name).style;
		return $99
	}
	return null
};
function p_H(name,left,top,width,height,HtN,m3227,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:'+(HtN?'visible;':'hidden;')+'zIndex='+m3227+';">');
	document.writeln(content);
	document.writeln('</div>')
};
function T2i(name,left,top,width,height,HtN,m3227,content)
{
	var yA0=document.createElement("div");
	yA0.unselectable="on";
	yA0.id=name;
	yA0.style.position="absolute";
	yA0.style.top=top;
	yA0.style.left=left;
	yA0.style.zIndex=m3227;
	yA0.style.width=width;
	yA0.style.height=height;
	yA0.style.visibility=(HtN)?'visible':'hidden';
	yA0.innerHTML=content;
	return yA0
};
function B78Yq(_5ek,left,top,width,height)
{
	var yA0=new Image();
	yA0.unselectable="on";
	yA0.style.position="absolute";
	yA0.style.top=top;
	yA0.style.left=left;
	yA0.style.width=width;
	yA0.style.height=height;
	if(_5ek!="undefined")yA0.src=_5ek;
	yA0.onerror=function()
	{
		this.onerror=null;
		if(this.parentNode)this.parentNode.removeChild(this)
	};
	return yA0
};
function w440_(_5ek,left,top,width,height,OA30M)
{
	this.VVP0$=B78Yq(_5ek,left,top,width,height);
	this.$9uA=0;
	this.$92v=0;
	this.name=name;
	OA30M.appendChild(this.VVP0$);
	this.hide=function()
	{
		this.VVP0$.style.visibility="hidden"
	};
	this.show=function()
	{
		this.VVP0$.style.visibility="visible"
	};
	this.moveTo=function(x,y)
	{
		this.VVP0$.style.left=x;
		this.VVP0$.style.top=y
	};
	this.resize=function(Yp3C7,yA0)
	{
		this.VVP0$.style.width=Yp3C7;
		this.VVP0$.style.height=yA0
	};
	this.getName=function()
	{
		return this.name
	};
	this.QQ9H=function(OA30M)
	{
		OA30M.appendChild(this.VVP0$)
	}
};
function Esx26(v6oaY,color)
{
	var yA0=document.createElement("div");
	yA0.style.position="absolute";
	yA0.unselectable="on";
	var W1191='<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+'">'+v6oaY+'</font>'+'</td></tr>'+'</table>'+'<\/div>';
	W1191+='<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="'+v6oaY+'">'+v6oaY+'</font>'+'</td></tr>'+'</table>'+'<\/div>';
	yA0.innerHTML=W1191;
	return yA0
};
function $8A(title,left,top,xHt6)
{
	hideBubble();
	var Kch2=H9g3.Ld_s(title,xHt6+DirectionInfo);
	var yA0=T2i("bubble",parseInt(left)-H9g3.xoffset,parseInt(top)-H9g3.height,0,0,1,100,Kch2);
	return yA0
};
function hideBubble(maplet)
{
	hideToolTipMenu();
	var yA0=document.getElementById("bubble");
	if(yA0)yA0.parentNode.removeChild(yA0);
	if(typeof maplet!="undefined"&&maplet.$0Sb)
	{
		maplet.$0Sb=null
	}
};
var H9g3=new cm60();
function cm60()
{
	this.height=230;
	this.xoffset=90;
	this.GPBsU=STD_TIP_HEIGHT;
	this.width=STD_BUBBLE_WIDTH;
	this.Ld_s=function(title,xHt6)
	{
		var oJ2=this.p3B11(title)+this.hm5(xHt6);
		document.getElementById("ToolTip").innerHTML=oJ2;
		var jaD=document.getElementById("mytooltipcontent").clientHeight;
		if(jaD>210)
		{
			this.height=MAX_BUBBLE_HEIGHT
		}
		else
		{
			this.height=parseInt(jaD)+MIN_BUBBLE_HEIGHT+STD_TIP_HEIGHT
		}
		document.getElementById("ToolTip").innerHTML='';
		return this.N23()+oJ2
	};
	this.p3B11=function(title)
	{
		return '<div class=tooltiptitle unselectable="on" style="position:absolute; left:10px; top:12px; width:'+this.width+'px; height:20px;z-index:10010">'+title+'</div>'
	};
	this.hm5=function(xHt6)
	{
		var oJ2='<div id="OverlayBg_BubbleBody" unselectable="on" style="position:absolute;overflow:auto;left:10px; top:32px; width:'+(this.width+40)+'px; height:220px;z-index:10010">'+'<table width="'+(this.width+20)+'" border="0" cellspacing="0" cellpadding="1"><tr><td width="100%" id="mytooltipcontent" ><font class=tooltipcontent>'+xHt6+'</font></td></tr></table></div>';
		return oJ2
	};
	this.N23=function()
	{
		var g8IlX=(W$kh1)?"<div id=\"OverlayBg_BubbleBg\" unselectable=\"on\" style='position:absolute; left:40px; top:"+parseInt(this.height-2*this.GPBsU)+"px; width:"+(this.width+150)+"; height:"+(2*this.GPBsU)+";filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\""+strImgsvrUrl+"images/b2shadow50.png\", sizingMethod=\"scale\");'></div>":'<div id="OverlayBg_BubbleBg" unselectable="on" style="position:absolute; left:40px; top:'+parseInt(this.height-2*this.GPBsU)+'px; width:'+(this.width+150)+'px; height:'+(2*this.GPBsU)+'px;">'+'<img src="'+strImgsvrUrl+'images/bshadow50.png" width="100%" height="100%"></div>';
		var c_23w=(W$kh1)?"<div id=\"OverlayBg_BubbleBg2\" unselectable=\"on\" style='position:absolute; left:89px; top:"+parseInt(this.height-this.GPBsU-2)+"px; width:79px; height:"+this.GPBsU+"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.GPBsU-2)+'px; width:'+(this.width-71)+'px; height:'+this.GPBsU+'px; z-index:10002">'+'<img src="'+strImgsvrUrl+'images/qqqq.png" width="79" height="'+this.GPBsU+'"></div>';
		var Qwrt3=g8IlX+c_23w+'<div id="OverlayBg_BubbleBg3" unselectable="on" style="position:absolute;z-index:10001" >'+'<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.GPBsU)+'" 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 Qwrt3
	}
};
var W50=(en==0)?new Array(v4Wk('%u5415%uDD90%uE7F2%uD86E'),v4Wk('%u5415%uA728%uB18A%uD86E'),v4Wk('%u5415%uA22D%uAC8F%uD86E'),v4Wk('%u5415%uA768%uB1CA%uD86E'),v4Wk('%u6D4F%uFF1A%u1FAC%u0798'),v4Wk('%u70BF%uC2B4%uE1D6%u1827%u0775%uE467'),v4Wk('%u6540%uBE65'),v4Wk('%u7F2B%uDB38'),v4Wk('%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');
function R6s2H(odmt,O32l,left,top,width,height,HtN,m3227,OA30M,N4F,sjSh)
{
	left=parseInt(left);
	top=parseInt(top);
	this.$v0=(odmt==null||odmt=="undefined")?'':odmt+'/';
	this.J754=(typeof sjSh=="undefined")?0:parseInt(sjSh);
	if(this.J754==2)
	{
		top=top-35;
		left=left-10
	}
	this.OtR=(this.J754)?100:254;
	this.OtR+=top;
	this.left=left;
	this.top=top;
	this.F8r='';
	if(this.J754!=2)
	{
		this.F8r+='<IMG unselectable="on" style="position:absolute;left:'+(left+10)+';top:'+(top+10)+';filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.$v0+'panshadow.png" >';
		this.F8r+='<IMG id="ctrlw" unselectable="on" title="'+W50[0]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,1);" style="position:absolute;left:'+(left+10)+';top:'+(top+30)+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'west.png" >';
		this.F8r+='<IMG id="ctrln" unselectable="on" title="'+W50[1]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,2);" style="position:absolute;left:'+(left+30)+';top:'+(top+10)+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'north.png" >';
		this.F8r+='<IMG id="ctrle" unselectable="on" title="'+W50[2]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,3);" style="position:absolute;left:'+(left+50)+';top:'+(top+30)+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'east.png" >';
		this.F8r+='<IMG id="ctrls" unselectable="on" title="'+W50[3]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,4);" style="position:absolute;left:'+(left+30)+';top:'+(top+50)+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'south.png" >';
		this.F8r+='<IMG id="ctrlmeas" unselectable="on" title="'+W50[4]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,7);" style="position:absolute;left:'+(left+30)+';top:'+(top+30)+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'measure.png" >'
	}
	this.F8r+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+';top:'+(top+81)+';filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.$v0+'gridshadow.png" >';
	this.F8r+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+';top:'+(this.OtR+1)+';filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.$v0+'gridshadow.png" >';
	if(this.J754==0)
	{
		this.F8r+='<IMG unselectable="on" style="position:absolute;left:'+(left+31)+';top:'+(top+86)+';filter=alpha(opacity=60);" src="'+strImgsvrUrl+'images/'+this.$v0+'zoom-bg2.png" >';
		this.F8r+='<IMG id="ctrlbg" unselectable="on" title="'+W50[5]+'" onmousemove=style.cursor="default" onclick="javascript:PerformControl(event, this, 8);" style="position:absolute;left:'+(left+30)+';top:'+(top+85)+';" src="'+strImgsvrUrl+'images/'+this.$v0+'zoom-bg.png" >'
	}
	this.F8r+='<IMG id="ctrlzmin" unselectable="on" title="'+W50[6]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,5);" style="position:absolute;left:'+(left+30)+';top:'+(top+80)+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'zoom-plus.png" >';
	this.F8r+='<IMG id="ctrlzmout" unselectable="on" title="'+W50[7]+'" onmousemove=style.cursor="hand";style.cursor="pointer" onclick="javascript:PerformControl(event, this,6);" style="position:absolute;left:'+(left+30)+';top:'+this.OtR+';width=17;height=17;" src="'+strImgsvrUrl+'images/'+this.$v0+'zoom-minus.png" >';
	this.D6e4=new l77("LayerControl",left,top,0,0,HtN,m3227,this.F8r,OA30M);
	this.D6e4.S6Ys.N4F=N4F;
	if(this.J754==0)
	{
		this.t46ta=document.createElement("div");
		this.t46ta.id="ctrlslider";
		this.t46ta.unselectable="on";
		this.t46ta.innerHTML='<IMG id="ctrlsliderimg" src='+strImgsvrUrl+'images/'+this.$v0+'slider.png>';
		this.t46ta.style.position="absolute";
		this.t46ta.style.top=this.top+165;
		this.t46ta.style.left=this.left+30;
		this.t46ta.style.width=17;
		this.t46ta.style.height=9;
		this.t46ta.SrP=0;
		this.D6e4.S6Ys.appendChild(this.t46ta);
		this.D6e4.S6Ys.t46ta=this.t46ta;
		this.t46ta.style.top=(LpD-O32l)*(132/(LpD-1))+100+this.top;
		this.t46ta.firstChild.onmousedown=function(r2Q1$)
		{
			return false
		};
		this.t46ta.D6e4=this;
		this.t46ta.onmousedown=function(r2Q1$)
		{
			if(this.SrP==0)
			{
				this.SrP=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.D6e4.top;
				if(this.setCapture)this.setCapture();
				this.style.cursor="move"
			}
			else
			{
				this.SrP=0
			}
			if(O09_)M55h(this.SrP);
			return true
		};
		this.t46ta.ondrag=function(r2Q1$)
		{
			if(this.SrP>0)
			{
				var maplet=this.parentNode.N4F;
				this.style.cursor="move";
				var RJL=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-5-maplet.offsetY-parseInt(maplet.top)-2*this.D6e4.top;
				if(RJL>=100&&RJL<244)
				{
					this.style.top=RJL+this.D6e4.top;
					var gM9=132;
					if(W$kh1)
					{
						var y=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-3-maplet.offsetY-parseInt(maplet.top)-2*this.D6e4.top;
						var O32l=LpD-Math.max(0,Math.min(LpD,parseInt(((parseInt(y)-100)/(LpD-1))*(gM9/(LpD-1)))/(gM9/(LpD))));
						if(O09_)M55h("ondrag: currTop="+RJL+","+this.D6e4.top+","+y+":"+O32l);
						maplet.o857(O32l);
						this.style.cursor="move";
						this.parentNode.style.cursor="move"
					}
				}
				return true
			}
			return false
		};
		this.t46ta.ondragend=function(r2Q1$)
		{
			if(this.SrP>0)
			{
				var maplet=this.parentNode.N4F;
				var y=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-maplet.offsetY-parseInt(maplet.top)-2*this.D6e4.top;
				var O32l=LpD-Math.max(0,Math.min(LpD,parseInt((parseInt(y)-100)/(132/(LpD-1)))));
				if(O09_)M55h("ondragend:"+this.D6e4.top+","+y+":"+O32l);
				this.parentNode.Q4Wq0(O32l);
				maplet.q80.S6Ys.style.zoom=1;
				maplet.setZoomLevel(parseInt(O32l));
				this.SrP=0;
				if(this.releaseCapture)this.releaseCapture()
			}
			this.SrP=0;
			this.style.cursor="default";
			return true
		}
	};
	this.onmousedown=function()
	{
		return false
	};
	this.onmousemove=function(r2Q1$)
	{
		if(this.t46ta)
		{
			return(W$kh1)?this.t46ta.ondrag():this.t46ta.ondrag(r2Q1$)
		}
		else
		{
			return false
		}
	};
	this.onmouseup=function(r2Q1$)
	{
		return(this.t46ta)?((W$kh1)?this.t46ta.ondragend():this.t46ta.ondragend(r2Q1$)):false
	};
	this.onmouseout=function()
	{
		return false
	};
	this.D6e4.S6Ys.Q4Wq0=function(O32l)
	{
		if(this.t46ta)
		{
			this.t46ta.style.top=(LpD-O32l)*(132/(LpD-1))+100+(parseInt(this.style.top));
			if(this.t46ta.parentNode==null||this.t46ta.parentNode!=this)
			{
				this.appendChild(this.t46ta)
			}
		}
	};
	this.Q4Wq0=function(O32l)
	{
		this.D6e4.S6Ys.Q4Wq0(O32l)
	};
	this.hide=function()
	{
		this.D6e4.hide()
	};
	this.show=function()
	{
		this.D6e4.show()
	};
	this.vh71=function()
	{
		this.D6e4.S6Ys.N4F=null;
		if(this.D6e4.S6Ys!=null&&this.D6e4.S6Ys.parentNode!=null)
		{
			this.D6e4.S6Ys.parentNode.removeChild(this.D6e4.S6Ys);
			this.D6e4.S6Ys=null
		}
	}
};
function PerformControl(r2Q1$,d2B,UL79e)
{
	var maplet=d2B.parentNode.N4F;
	switch(UL79e)
	{
		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(f$r7O.H7_50);
		break;
		case 8:hideBubble(maplet);
		var yoffset=parseInt(d2B.style.top)-85+parseInt(maplet.D6e4.top);
		var y=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-parseInt(maplet.offsetY)-parseInt(maplet.top);
		y-=yoffset;
		if(!W$kh1&&maplet.Q7K0Q.style.position!="absolute")
		{
			y-=12
		}
		var O32l=LpD-Math.max(0,Math.min(LpD,parseInt((parseInt(y)-100)/(132/(LpD-1)))));
		d2B.parentNode.Q4Wq0(O32l);
		maplet.setZoomLevel(O32l);
		break;
		default:break
	}
};
var edH=null;
function showMouseTipBox(x,y,MMGw,OA30M)
{
	try
	{
		if(edH==null||edH=="undefined")
		{
			var UNT='<table border="1" cellspacing="0" cellpadding="0" bordercolor=#FF0000>'+'<tr><td width="100%" bgcolor=#FFFFCC>'+'<font class="ptlabel" color="#000000" >'+MMGw+'</font>'+'</td></tr>'+'</table>';
			edH=T2i("mousetipbox",parseInt(x)+10,parseInt(y)+18,70,20,1,100,UNT);
			edH.unselectable="on";
			edH.style.o3_7e="none"
		}
		else
		{
			edH.style.left=parseInt(x)+10;
			edH.style.top=parseInt(y)+18;
			edH.visibility="visible"
		}
		if(edH!=null&&(edH.parentNode==null||edH.parentNode!=OA30M))
		{
			OA30M.appendChild(edH)
		}
	}
	catch(r2Q1$)
	{
	}
};
function $Py81()
{
	if(edH!=null)
	{
		if(edH.parentNode!=null)
		{
			edH.parentNode.removeChild(edH)
		}
		edH=null
	}
};
function B8nq4(r2Q1$)
{
	return(W$kh1)?event.srcElement.id:r2Q1$.target.id
};
function imageTileError(_LF4)
{
	if(_LF4.width==300&&_LF4.ntry=="0")
	{
		_LF4.ntry="1";
		var Sx6=_LF4.src+"?";
		_LF4.src=Sx6
	}
	else if(_LF4.width==300&&_LF4.ntry=="1")
	{
		_LF4.ntry="2";
		var Sx6=_LF4.src+"?";
		_LF4.src=Sx6
	}
	else
	{
		_LF4.ntry="3";
		_LF4.onerror=null;
		_LF4.src=strImgsvrUrl+"images/mask.gif";
		_LF4.style.width=300;
		_LF4.style.height=300
	}
};
function imageTileOk(_LF4)
{
	_LF4.onerror=null;
	_LF4.onload=null;
	_LF4.style.width=300;
	_LF4.style.height=300
};
function $77(maplet,O32l,left,top,Yp3C7,yA0,HtN,OA30M)
{
	this.maplet=maplet;
	this.left=left;
	this.top=top;
	this.width=Yp3C7;
	this.height=yA0;
	this.x541$=O32l;
	this.KY1=51;
	this._bp=18;
	this.$2PC=16;
	this.$U_c7=false;
	this.OA30M=OA30M;
	this.T$5f=0;
	this.bp4=0;
	this.V44=new l77("LayerZoomBar",this.left,this.top,this.width,this.height,HtN,2,'',this.OA30M);
	var n9988=(LpD/2)*(this.height-this._bp*2-this.KY1)/LpD+this._bp;
	this.E4j37=B78Yq(strImgsvrUrl+"images/zoombg.gif",0,0,this.$2PC,this.height);
	this.x3CY=B78Yq(strImgsvrUrl+"images/zoombg2.gif",0,0,this.$2PC,n9988);
	this.sL746=B78Yq(strImgsvrUrl+"images/zoomin.gif",0,0,this.$2PC,this._bp);
	this.VB7=B78Yq(strImgsvrUrl+"images/zoomout.gif",0,this.height-this._bp,this.$2PC,this._bp);
	this.APt2=B78Yq(strImgsvrUrl+"images/slider.gif",0,n9988,this.$2PC,this.KY1);
	this.APt2.id="zoombarSlider";
	this.V44.S6Ys.appendChild(this.E4j37);
	this.V44.S6Ys.appendChild(this.x3CY);
	this.V44.S6Ys.appendChild(this.sL746);
	this.V44.S6Ys.appendChild(this.VB7);
	this.V44.S6Ys.appendChild(this.APt2);
	this.setZoomLevel=function(O32l)
	{
		O32l=parseInt(O32l);
		if(O32l<0)O32l=0;
		if(O32l>LpD)O32l=LpD;
		if(this.x541$!=O32l)
		{
			this.x541$=O32l;
			this.refresh()
		}
	};
	this.getZoomLevel=function()
	{
		return this.x541$
	};
	this.show=function()
	{
		this.V44.show();
		this.APt2.style.visibility="visible"
	};
	this.hide=function()
	{
		this.V44.hide();
		this.APt2.style.visibility="hidden"
	};
	this.resize=function(yA0)
	{
		this.height=yA0;
		this.V44.resize(this.width,this.height)
	};
	this.moveTo=function(x,y)
	{
		this.left=x;
		this.top=y;
		this.V44.moveTo(this.left,this.top)
	};
	this.refresh=function()
	{
		this.paint()
	};
	this.paint=function()
	{
		var n9988=(LpD-this.x541$)*(this.height-this._bp*2-this.KY1)/LpD+this._bp;
		this.x3CY.style.height=n9988;
		if(this.APt2!=null)
		{
			this.APt2.style.top=n9988;
			if(this.APt2.parentNode==null)
			{
				this.V44.S6Ys.appendChild(this.APt2)
			}
		}
	};
	this.zoomIn=function()
	{
		this.setZoomLevel(this.x541$+1)
	};
	this.zoomOut=function()
	{
		this.setZoomLevel(this.x541$-1)
	};
	this.f$6=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.lF6bY=function(x,y)
	{
		if(this.M1l)
		{
			y=y-this.KY1/2;
			var O32l=LpD*(this.height-y-this._bp-this.KY1)/(this.height-this._bp*2-this.KY1);
			if(y>this._bp&&y<(this.height-this._bp-this.KY1))
			{
				this.APt2.style.top=y;
				this.x3CY.style.height=y;
				this.maplet.o857(O32l)
			}
			return true
		}
		if(this.f$6(x,y))
		{
			if(y<(this._bp)||y>(this.height-this._bp))
			{
				this.V44.style.cursor=(W$kh1)?'hand':'pointer'
			}
			else if(event.srcElement.id=="zoombarSlider")
			{
				this.V44.style.cursor=(W$kh1)?'hand':'pointer'
			}
			else
			{
				this.V44.style.cursor='default'
			}
			return true
		}
		return false
	};
	this.F55=function(x,y)
	{
		this.T$5f=x;
		this.bp4=y;
		this.lh6e=event.srcElement.id;
		if(this.f$6(x,y))
		{
			this.M1l=true
		}
		else
		{
			this.M1l=false
		}
		return this.M1l
	};
	this.d885_=function(x,y)
	{
		var YKW=false;
		this.maplet.q80.S6Ys.style.zoom=1;
		if(this.M1l)
		{
			if(y<this._bp)
			{
				this.zoomIn()
			}
			else if(y>(this.height-this._bp))
			{
				this.zoomOut()
			}
			else
			{
				y=y-this.KY1/2;
				y=(y>(this.height-this._bp-this.KY1))?(this.height-this._bp-this.KY1):((y<this._bp)?this._bp:y);
				var O32l=LpD*(this.height-y-this._bp-this.KY1)/(this.height-this._bp*2-this.KY1);
				this.setZoomLevel(parseInt(O32l+0.5))
			}
			YKW=true
		}
		this.M1l=false;
		return YKW
	};
	this.l3vRr=function(x,y)
	{
	}
};
if(!W$kh1)document.write('<script language="javascript" src="http://api.mapbar.com/api/js/avgraphics.js"></script>');
function y_1Ur()
{
	this.P73y1='1';
	this.A5OC='2';
	this.rR6w='3';
	this.n896a='5';
	this._V8='6';
	this.fTj09='7';
	this.iH7='8';
	this.KWmNg='9';
	this.i4l='10';
	this.H7_50='11';
	this.KxK='12';
	this.QWA34='13';
	this.X8cN2='14';
	this.$81='23';
	this.cho$5='15'
};
var f$r7O=new y_1Ur();
function I5ls(yA0,B55,zIndex)
{
	if(B55!="undefined"&&B55!="")yA0.src=B55;
	yA0.style.zIndex=zIndex
};
var p479=new Array();
p479["icon1"]=strImgsvrUrl+'images/'+"number1.gif";
p479["icon2"]=strImgsvrUrl+'images/'+"number2.gif",p479["icon3"]=strImgsvrUrl+'images/'+"number3.gif",p479["icon4"]=strImgsvrUrl+'images/'+"number4.gif",p479["icon5"]=strImgsvrUrl+'images/'+"number5.gif",p479["icon6"]=strImgsvrUrl+'images/'+"number6.gif",p479["icon7"]=strImgsvrUrl+'images/'+"number7.gif",p479["icon8"]=strImgsvrUrl+'images/'+"number8.gif",p479["icon9"]=strImgsvrUrl+'images/'+"number9.gif",p479["icon10"]=strImgsvrUrl+'images/'+"number10.gif";
var CqD=new Array();
CqD["icon1"]=strImgsvrUrl+'images/'+"number1-2.gif",CqD["icon2"]=strImgsvrUrl+'images/'+"number2-2.gif",CqD["icon3"]=strImgsvrUrl+'images/'+"number3-2.gif",CqD["icon4"]=strImgsvrUrl+'images/'+"number4-2.gif",CqD["icon5"]=strImgsvrUrl+'images/'+"number5-2.gif",CqD["icon6"]=strImgsvrUrl+'images/'+"number6-2.gif",CqD["icon7"]=strImgsvrUrl+'images/'+"number7-2.gif",CqD["icon8"]=strImgsvrUrl+'images/'+"number8-2.gif",CqD["icon9"]=strImgsvrUrl+'images/'+"number9-2.gif",CqD["icon10"]=strImgsvrUrl+'images/'+"number10-2.gif";
var $707=new Array();
var U9FY=new Array();
var a2Iv=new fY144("undefined");
var I36n5=2;
function fY144(id,xqi0I,JX2F$,r2u9,e84,kgr,UNT,pjFq0,x12F1)
{
	this.r2u9=r2u9;
	this.e84=e84;
	this.aq49=function(xqi0I,JX2F$)
	{
		if(xqi0I!="undefined"&&xqi0I!="")
		{
			this.xqi0I=xqi0I;
			this._c2.src=xqi0I;
			this._c2.sEkO=xqi0I
		}
		if(JX2F$!="undefined"&&JX2F$!="")
		{
			this.JX2F$=JX2F$;
			this._c2.njkqt=JX2F$
		}
	};
	this.vG3=function(title,content)
	{
		this.kgr=title;
		this.UNT=content;
		if(this.id!="undefined"&&this.kgr!="undefined")
		{
			$707[this.id]=this.kgr;
			U9FY[this.id]=(this.UNT==null||this.UNT=="undefined")?v4Wk('%u8BEA%u0AAC%uCEA7%uB050'):this.UNT
		}
		if(this.pjFq0)
		{
			if(typeof this.TICj!="undefined")
			{
				var OA30M=this.TICj.parentNode;
				if(OA30M!=null)
				{
					OA30M.removeChild(this.TICj)
				}
				var left=this.TICj.style.left;
				var top=this.TICj.style.top;
				this.TICj=Esx26(this.kgr,this.color);
				this.TICj.style.left=left;
				this.TICj.style.top=top;
				if(OA30M!=null)
				{
					OA30M.appendChild(this.TICj)
				}
			}
			else
			{
				this.TICj=Esx26(this.kgr,this.color)
			}
		}
	};
	if(id!="undefined"&&xqi0I!="undefined")
	{
		this.id=id;
		this.color=(x12F1==null||x12F1=="undefined")?"#FF0000":x12F1;
		this.pjFq0=(pjFq0=="1")?true:false;
		this.a0S=0;
		this.d2EcM=16;
		this.vG3(kgr,UNT);
		this._c2=new Image();
		this._c2.unselectable="on";
		this._c2.id=this.id;
		this._c2.Seb=true;
		this._c2.qx4UR=false;
		this._c2.x0=0;
		this._c2.H72S0=0;
		this._c2.ML03X=0;
		this._c2.wYw91=0;
		this._c2.style.position="absolute";
		this._c2.onerror=function()
		{
			this.src=strImgsvrUrl+'images/marker.gif';
			this.onerror=null
		};
		this._c2.onload=function()
		{
			this.onerror=null;
			this.onload=null
		};
		this.aq49(xqi0I,JX2F$);
		this._c2.onmouseover=function()
		{
			var maplet=document["mapbar-maplet"];
			if(maplet.F26==f$r7O.H7_50||maplet.F26==f$r7O.cho$5||maplet.F26==f$r7O._V8)
			{
				this.style.cursor="default";
				return
			}
			this.style.cursor=(W$kh1)?"hand":"pointer";
			if(this.style.zIndex<I36n5)
			{
				I36n5++
			}
			this.style.zIndex=I36n5;
			if(this.njkqt!="undefined"&&this.njkqt!="")this.src=this.njkqt;
			if(this.Seb&&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,$707[this.id],U9FY[this.id])
			}
		};
		this._c2.onmouseout=function()
		{
			if(this.sEkO!="undefined"&&this.sEkO!="")this.src=this.sEkO;
			if(document["mapbar-maplet"].F26==f$r7O.$81)this.fF7Bf()
		};
		this._c2.onclick=function()
		{
			if(this.Seb==false)return;
			var maplet=document["mapbar-maplet"];
			if(maplet.F26==f$r7O.H7_50||maplet.F26==f$r7O.cho$5||maplet.F26==f$r7O._V8||maplet.F26==f$r7O.i4l||maplet.F26==f$r7O.KWmNg||maplet.F26==f$r7O.KxK)return;
			if(maplet.F26==f$r7O.QWA34)
			{
				var uiB96=maplet.h62kR(maplet._J8,this.id);
				maplet.removePointAt(uiB96);
				maplet.refresh();
				if(callback)callback("&act=del&pid="+uiB96);
				return
			}
			if(this.ML03X==0&&this.wYw91==0)this.c2R9()
		};
		this._c2.onmousemove=function(r2Q1$)
		{
			if(document["mapbar-maplet"].F26==f$r7O.$81&&this.qx4UR)
			{
				var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX);
				var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY);
				this.wYw91+=(v026-this.H72S0);
				this.ML03X+=(WJ9-this.x0);
				this.style.top=parseInt(this.style.top)+(v026-this.H72S0);
				this.style.left=parseInt(this.style.left)+(WJ9-this.x0);
				this.x0=WJ9;
				this.H72S0=v026
			}
		};
		this._c2.onmousedown=function(r2Q1$)
		{
			var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX);
			var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY);
			this.qx4UR=true;
			this.x0=WJ9;
			this.H72S0=v026;
			this.ML03X=0;
			this.wYw91=0
		};
		this._c2.onmouseup=function(r2Q1$)
		{
			if(document["mapbar-maplet"].F26==f$r7O.$81)this.fF7Bf(r2Q1$)
		};
		this._c2.fF7Bf=function(r2Q1$)
		{
			if(this.qx4UR&&(this.ML03X!=0||this.wYw91!=0))
			{
				this.qx4UR=false;
				var maplet=document["mapbar-maplet"];
				var pt=maplet.getElementById(maplet._J8,this.id);
				if(pt!=null)
				{
					pt.r2u9+=(maplet._0K$1(this.ML03X+maplet.width/2,this.wYw91+maplet.height/2)-maplet.q2E);
					pt.e84+=(maplet.W4YJG(this.ML03X+maplet.width/2,this.wYw91+maplet.height/2)-maplet.rK815);
					a2Iv.r2u9=pt.r2u9;
					a2Iv.e84=pt.e84;
					var da9c4=a2Iv.O1a();
					var uiB96=maplet.h62kR(maplet._J8,this.id);
					maplet.refresh();
					if(callback)callback("&act=move&pid="+uiB96+"&latlon="+da9c4)
				}
				this.ML03X=0;
				this.wYw91=0
			}
			else
			{
				this.qx4UR=false
			}
		};
		this._c2.c2R9=function(g95Lj)
		{
			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)&&($707[this.id]!=null)&&($707[this.id].length>0))
			{
				H9g3.Ld_s($707[this.id],U9FY[this.id]);
				if(g95Lj==true||((x>H9g3.xoffset)&&(x<(maplet.width-H9g3.width))&&(y>H9g3.height)&&(y<(maplet.height))))
				{
					maplet.$0Sb=$8A($707[this.id],x,y,U9FY[this.id]);
					maplet.q80.S6Ys.appendChild(maplet.$0Sb)
				}
				else
				{
					maplet.$0Sb=$8A($707[this.id],maplet.width/2+2,H9g3.height+10,U9FY[this.id]);
					var $48Q9=maplet.width/2-x;
					var TP$g0=H9g3.height+10-y;
					maplet.panTo($48Q9,TP$g0)
				}
			}
			else if(iToolTipStyle==2)
			{
				var uiB96=maplet.h62kR(maplet._J8,this.id);
				if(callback)callback("&act=click&pid="+uiB96)
			}
		}
	}
	this.rW7=function(g)
	{
		var maplet=document["mapbar-maplet"];
		var width=(this._c2!=null)?parseInt(this._c2.width):16;
		var height=(this._c2!=null)?parseInt(this._c2.height):16;
		var left=maplet.K13Y7(this.e84,this.r2u9)-width/2;
		var top=maplet.Aa5jA(this.r2u9,this.e84)-height;
		if(this.kgr&&this.pjFq0)
		{
			g.setColor(this.color);
			g.tH5w7(this.kgr,maplet.K13Y7(this.e84,this.r2u9)+width/2,maplet.Aa5jA(this.r2u9,this.e84)-12)
		}
		if(this.xqi0I)
		{
			g.BDb8V(this.xqi0I,left,top,width,height)
		}
	};
	this.paint=function(OA30M)
	{
		if(this.xqi0I)
		{
			var maplet=document["mapbar-maplet"];
			{
				var width=(this._c2!=null)?parseInt(this._c2.width):16;
				var height=(this._c2!=null)?parseInt(this._c2.height):16;
				var left=maplet.K13Y7(this.e84,this.r2u9)-width/2;
				var top=maplet.Aa5jA(this.r2u9,this.e84)-height;
				if(left.toString()==Number.NaN.toString()||top.toString()==Number.NaN.toString())return;
				this._c2.style.top=top;
				this._c2.style.left=left;
				if(top>=0&&left>=0&&top<=maplet.height&&left<=maplet.width)
				{
					if(this._c2.parentNode!=OA30M)
					{
						OA30M.appendChild(this._c2)
					}
					this._c2.style.visibility="visible"
				}
				else
				{
					this._c2.style.visibility="hidden";
					if(this._c2.parentNode==OA30M)
					{
						OA30M.removeChild(this._c2)
					}
				}
			}
		}
	};
	this.LFn1=function(OA30M)
	{
		if(this.kgr&&this.pjFq0)
		{
			var maplet=document["mapbar-maplet"];
			var width=(this._c2!=null)?parseInt(this._c2.width):16;
			var height=(this._c2!=null)?parseInt(this._c2.height):16;
			var left=maplet.K13Y7(this.e84,this.r2u9)-width/2;
			var top=maplet.Aa5jA(this.r2u9,this.e84)-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.TICj.style.left=left+width;
				this.TICj.style.top=top;
				if(this.TICj.parentNode!=OA30M)
				{
					OA30M.appendChild(this.TICj)
				}
			}
		}
	};
	this.label=function()
	{
		if(this.UNT)
		{
		}
	};
	this.p5DG=function(t7J1d)
	{
		var Opdl$=-1;
		var _dJ=0;
		var jl3='';
		var unlW='';
		if(t7J1d!=null&&parseInt(t7J1d.charAt(0),36)>=33)
		{
			unlW=t7J1d.charAt(0);
			t7J1d=t7J1d.substring(1)
		}
		for(var i=0;i<(t7J1d.length-(c75?1:0));i++)
		{
			var mE8=parseInt(t7J1d.charAt(i),36)-10;
			if(mE8>=10)mE8=mE8-7;
			jl3+=(mE8).toString(36);
			if(mE8>_dJ)
			{
				Opdl$=i;
				_dJ=mE8
			}
		}
		var rWH2=parseInt(jl3.substring(0,Opdl$),16);
		var D6n1=parseInt(jl3.substring(Opdl$+1),16);
		if("X"==unlW)
		{
			rWH2=-rWH2
		}
		if("Y"==unlW)
		{
			D6n1=-D6n1
		}
		var VCs=new Array();
		VCs[0]=(rWH2+D6n1-parseInt(strLicenseKey))/2;
		VCs[1]=(D6n1-VCs[0])/100000.0;
		VCs[0]/=100000.0;
		if(VCs[0]>180)VCs[0]-=360;
		return VCs
	};
	this.O1a=function(e84,r2u9)
	{
		if(typeof e84!="undefined"&&typeof r2u9!="undefined")
		{
			this.r2u9=parseFloat(r2u9);
			this.e84=parseFloat(e84)
		}
		var VCs='';
		var $pt=parseInt(parseFloat(Math.max(-90,Math.min(90,this.r2u9)))*100000);
		var d5B5=parseInt(parseFloat((this.e84<0)?(this.e84+360):this.e84)*100000);
		var N6Ku9=d5B5-$pt+parseInt(strLicenseKey);
		var rfux=d5B5+$pt;
		if(N6Ku9<0)
		{
			VCs='X';
			N6Ku9=-N6Ku9
		}
		if(rfux<0)
		{
			VCs='Y';
			rfux=-rfux
		}
		var b17=(N6Ku9).toString(16);
		var O76=(rfux).toString(16);
		for(var i=0;i<b17.length;i++)
		{
			var h46=parseInt(b17.charAt(i),16);
			VCs+=(((h46>=10)?(h46+7):h46)+10).toString(36)
		}
		VCs+='z';
		for(var i=0;i<O76.length;i++)
		{
			var h46=parseInt(O76.charAt(i),16);
			VCs+=(((h46>=10)?(h46+7):h46)+10).toString(36)
		}
		if(c75)
		{
			VCs+=VCs.charAt(c75)
		}
		return VCs.toUpperCase()
	}
};
function A06V6(id,$40,y87i3,N00,x4DW,$0M,T1j)
{
	this.$40=($40==null)?new Array():$40;
	this.y87i3=(y87i3==null)?new Array():y87i3;
	this.color=(N00==null)?"#FF0000":N00;
	this.stroke=(x4DW==0)?1:x4DW;
	this.style=$0M;
	this.id=id;
	this.T1j=(T1j=="undefined"||T1j==null)?"false":T1j;
	this.kgr='';
	this.pjFq0=false;
	this.UNT='';
	this.maplet=null;
	this.p5DG=function(t7J1d)
	{
		var iL$3=t7J1d.split(',');
		var h3qw=0;
		for(var i=0;i<iL$3.length;i++)
		{
			if(iL$3[i]!=null&&iL$3[i].length>0)
			{
				var pt=a2Iv.p5DG(iL$3[i]);
				this.y87i3[h3qw]=parseFloat(pt[0]);
				this.$40[h3qw]=parseFloat(pt[1]);
				h3qw++
			}
		}
	};
	this.O1a=function()
	{
		var Fpuv=(this.T1j==true||this.T1j=="true")?"2":"0";
		var t7J1d=this.stroke+","+Fpuv+","+this.color+":";
		for(var i=0;i<this.$40.length;i++)
		{
			a2Iv.r2u9=parseFloat(this.$40[i]);
			a2Iv.e84=parseFloat(this.y87i3[i]);
			t7J1d+=a2Iv.O1a()+","
		}
		return t7J1d
	};
	this.vG3=function(title,content)
	{
		this.kgr=title;
		this.UNT=content;
		if(this.pjFq0)
		{
			if(typeof this.TICj!="undefined")
			{
				var OA30M=this.TICj.parentNode;
				if(OA30M!=null)
				{
					OA30M.removeChild(this.TICj)
				}
				var left=this.TICj.style.left;
				var top=this.TICj.style.top;
				this.TICj=Esx26(this.kgr,this.color);
				this.TICj.style.left=left;
				this.TICj.style.top=top;
				if(OA30M!=null)
				{
					OA30M.appendChild(this.TICj)
				}
			}
			else
			{
				this.TICj=Esx26(this.kgr,this.color)
			}
		}
	};
	this.rW7=function(g)
	{
		var L1ji0=new Array();
		var rf116=new Array();
		var A6C_=0;
		var Uf92=10;
		for(var i=0;i<this.$40.length;i++)
		{
			if(this.$40[i].toString()!=Number.NaN.toString())
			{
				rf116[A6C_]=this.maplet.Aa5jA(this.$40[i],this.y87i3[i]);
				if(this.y87i3[i].toString()!=Number.NaN.toString())
				{
					L1ji0[A6C_]=this.maplet.K13Y7(this.y87i3[i],this.$40[i]);
					if(A6C_>0&&(Math.abs(L1ji0[A6C_]-L1ji0[A6C_-1])+Math.abs(rf116[A6C_]-rf116[A6C_-1]))>Uf92)
					{
						A6C_ ++
					}
				}
			}
			if(A6C_==0)A6C_++
		}
		if(this.color)g.setColor(this.color);
		if(this.stroke)g.setStroke(this.stroke);
		g.drawPolyline(L1ji0,rf116,this.style);
		g.paint()
	};
	this.paint=function(OA30M)
	{
		this.$Kf5=document.createElement("div");
		this.$Kf5.maplet=this.maplet;
		this.$Kf5.id=this.id;
		this.$Kf5.unselectable="on";
		this.$Kf5.style.zIndex=10;
		this.iM2pt=document.createElement("v:polyline");
		this.iM2pt.unselectable="on";
		this.iM2pt.id=this.id;
		this.iM2pt.strokecolor=this.color;
		this.iM2pt.strokeweight=this.stroke+'pt';
		this.iM2pt.fill=false;
		this.iM2pt.filled=this.T1j;
		this.N04=document.createElement("v:stroke");
		this.N04.opacity=(transparencyLevel/100);
		this.N04.joinstyle="round";
		this.N04.endcap="round";
		this.N04.fill="false";
		if(bArrow)
		{
			this.N04.endarrow="classic"
		}
		this.ps67g=document.createElement("v:fill");
		this.ps67g.opacity=((transparencyLevel/2)/100);
		this.ps67g.color=this.color;
		this.iM2pt.appendChild(this.N04);
		this.iM2pt.appendChild(this.ps67g);
		this.$Kf5.appendChild(this.iM2pt);
		this.Q4Wq0();
		if(this.kgr&&this.pjFq0&&this.$40.length>=2)
		{
			var e4f=0;
			var ex3W=0;
			for(var i=1;i<this.$40.length;i++)
			{
				if(this.$40[i].toString()!=Number.NaN.toString())ex3W=this.maplet.Aa5jA(this.$40[i],this.y87i3[i]);
				if(this.y87i3[i].toString()!=Number.NaN.toString())e4f=this.maplet.K13Y7(this.y87i3[i],this.$40[i]);
				if(e4f>=0&&ex3W>=0&&ex3W<=this.maplet.height&&e4f<=this.maplet.width)
				{
					this.TICj.style.left=e4f;
					this.TICj.style.top=ex3W;
					if(this.TICj.parentNode!=this.$Kf5)
					{
						this.$Kf5.appendChild(this.TICj)
					}
					break
				}
			}
		}
		this.$Kf5.style.visibility="visible";
		if(OA30M!=null)
		{
			OA30M.appendChild(this.$Kf5)
		}
		this.$Kf5.onmouseover=function(r2Q1$)
		{
			if(this.maplet.F26==f$r7O.H7_50||this.maplet.F26==f$r7O.cho$5||this.maplet.F26==f$r7O._V8)
			{
				this.style.cursor="default"
			}
			else
			{
				this.style.cursor=(W$kh1)?"hand":"pointer"
			}
		};
		this.$Kf5.onclick=function(r2Q1$)
		{
			var uiB96=this.maplet.h62kR(this.maplet.tm286,this.id);
			if(uiB96>=0)
			{
				if(this.maplet.F26==f$r7O.QWA34)
				{
					var a603=this.maplet.tm286[uiB96];
					var t2D=true;
					var A6C_=0;
					if(a603.$40.length>2)
					{
						t2D=false;
						var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.maplet.left-this.maplet.offsetX;
						var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.maplet.top-this.maplet.offsetY;
						var dj_1=0;
						var o_2=0;
						var A68d$=0;
						var iRV7=0;
						for(var i=a603.$40.length-1;i>0;i--)
						{
							if(a603.$40[i].toString()!=Number.NaN.toString())
							{
								A68d$=this.maplet.Aa5jA(a603.$40[i],a603.y87i3[i]);
								if(a603.y87i3[i].toString()!=Number.NaN.toString())
								{
									iRV7=this.maplet.K13Y7(a603.y87i3[i],a603.$40[i]);
									if(A6C_>0)
									{
										var wYw91=A68d$-dj_1;
										var ML03X=iRV7-o_2;
										if(Math.abs(ML03X)>Math.abs(wYw91))
										{
											var l3d=wYw91/ML03X*(WJ9-o_2)+dj_1;
											if(Math.abs(l3d-v026)<16)
											{
												if(i==0)t2D=true;
												break
											}
										}
										else if(Math.abs(wYw91)>0)
										{
											var A13D=ML03X/wYw91*(v026-dj_1)+o_2;
											if(Math.abs(A13D-WJ9)<16)
											{
												if(i==0)t2D=true;
												break
											}
										}
									}
									o_2=iRV7;
									dj_1=A68d$;
									A6C_++
								}
							}
						}
					}
					if(t2D||(a603.$40.length-A6C_)<2)
					{
						this.onclick=null;
						this.maplet.removeLineAt(uiB96);
						this.maplet.refresh();
						if(callback)callback("&act=del&lid="+uiB96)
					}
					else
					{
						for(var i=0;i<A6C_;i++)
						{
							a603.$40[a603.$40.length-i-1]=null;
							a603.y87i3[a603.y87i3.length-i-1]=null
						}
						a603.$40.length=a603.$40.length-A6C_;
						a603.y87i3.length=a603.y87i3.length-A6C_;
						this.maplet.refresh();
						if(callback)callback("&act=update&lid="+uiB96+"&pline="+a603.O1a())
					}
				}
				else if(this.maplet.F26==f$r7O.rR6w||this.maplet.F26==f$r7O.$81)
				{
					if(iToolTipStyle==2)
					{
						if(callback)callback("&act=click&lid="+uiB96)
					}
					else if(this.maplet.tm286[uiB96].kgr!=null&&this.maplet.tm286[uiB96].kgr.length>0)
					{
						var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.maplet.left-this.maplet.offsetX;
						var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.maplet.top-this.maplet.offsetY+8;
						this.maplet.t5k(WJ9,v026,this.maplet.tm286[uiB96].kgr,this.maplet.tm286[uiB96].UNT)
					}
				}
				else
				{
					this.maplet.a2S$(r2Q1$)
				}
			}
		}
	};
	this.Q4Wq0=function()
	{
		var L1ji0=new Array();
		var rf116=new Array();
		var A6C_=0;
		var Uf92=10;
		if(this.$40==null||this.$40.length<2)return;
		var Q14k=false;
		for(var i=0;i<this.$40.length;i+=1)
		{
			if(this.$40[i].toString()!=Number.NaN.toString())
			{
				rf116[A6C_]=this.maplet.Aa5jA(this.$40[i],this.y87i3[i]);
				if(this.y87i3[i].toString()!=Number.NaN.toString())
				{
					L1ji0[A6C_]=this.maplet.K13Y7(this.y87i3[i],this.$40[i]);
					if(!Q14k&&(rf116[A6C_]<0||rf116[A6C_]>this.maplet.height||L1ji0[A6C_]<0||L1ji0[A6C_]>this.maplet.width))
					{
						Q14k=true
					}
					if(A6C_>0&&(Math.abs(L1ji0[A6C_]-L1ji0[A6C_-1])+Math.abs(rf116[A6C_]-rf116[A6C_-1]))>Uf92)
					{
						A6C_ ++
					}
					if(A6C_==0)A6C_++
				}
			}
		}
		if(Q14k)
		{
			var O8941=new Array();
			var wP6G=new Array();
			A6C_=0;
			for(var i=1;i<L1ji0.length;i++)
			{
				if((rf116[i]<0&&rf116[i-1]<0)||(rf116[i]>this.maplet.height&&rf116[i-1]>this.maplet.height)||(L1ji0[i]>this.maplet.width&&L1ji0[i-1]>this.maplet.width)||(L1ji0[i]<0&&L1ji0[i-1]<0))
				{
					continue
				}
				if(O8941.length==0||(O8941[A6C_]!=L1ji0[i-1]&&wP6G[A6C_]!=rf116[i-1]))
				{
					O8941[A6C_]=L1ji0[i-1];
					wP6G[A6C_]=rf116[i-1];
					A6C_++
				}
				O8941[A6C_]=L1ji0[i];
				wP6G[A6C_]=rf116[i];
				A6C_++
			}
			L1ji0=O8941;
			rf116=wP6G;
			O8941=null;
			wP6G=null
		}
		var J3u='';
		for(var i=0;i<L1ji0.length;i++ )
		{
			if(i>0)J3u+=',';
			J3u+=(parseInt(L1ji0[i])+','+parseInt(rf116[i]))
		}
		if(this.iM2pt)
		{
			if(this.iM2pt.points)
			{
				this.iM2pt.points.value=J3u
			}
			else
			{
				this.iM2pt.points=J3u
			}
		}
	};
	this.t5k=function()
	{
		var uiB96=this.maplet.h62kR(this.maplet.tm286,this.id);
		if(this.maplet.tm286[uiB96].kgr!=null&&this.maplet.tm286[uiB96].kgr.length>0&&this.$40.length>=2)
		{
			var e4f=0;
			var ex3W=0;
			for(var i=1;i<this.$40.length;i++)
			{
				if(this.$40[i].toString()!=Number.NaN.toString())ex3W=this.maplet.Aa5jA(this.$40[i],this.y87i3[i]);
				if(this.y87i3[i].toString()!=Number.NaN.toString())e4f=this.maplet.K13Y7(this.y87i3[i],this.$40[i]);
				if(e4f>=0&&ex3W>=0&&ex3W<=this.maplet.height&&e4f<=this.maplet.width)
				{
					this.maplet.t5k(e4f,ex3W+8,this.maplet.tm286[uiB96].kgr,this.maplet.tm286[uiB96].UNT);
					break
				}
			}
		}
	}
};
var v89=null;
var JUtG=new Array();
function Kg$GP()
{
	this.ytl=null;
	this.Q9s=null;
	this.mK87=function()
	{
	};
	this.setOrigin=function(e8H,J43)
	{
		this.ytl=new fY144("orig",strImgsvrUrl+'images/icon_orig.gif',strImgsvrUrl+'images/icon_orig.gif',e8H,J43,v4Wk('%u8D79%uFE30'),'');
		this.mK87()
	};
	this.setDestination=function(e8H,J43)
	{
		this.Q9s=new fY144("dest",strImgsvrUrl+'images/icon_dest.gif',strImgsvrUrl+'images/icon_dest.gif',e8H,J43,v4Wk('%u7ECA%uEF81'),'');
		this.mK87()
	};
	this.rW7=function(g)
	{
		if(this.ytl)
		{
			this.ytl.rW7(g)
		}
		if(this.Q9s)
		{
			this.Q9s.rW7(g)
		}
		if(v89&&JUtG.length>0)
		{
			var L1ji0=new Array();
			var rf116=new Array();
			var dt8=this.ytl.r2u9;
			var d5s=this.ytl.e84;
			L1ji0[0]=maplet.K13Y7(d5s,dt8);
			rf116[0]=maplet.Aa5jA(dt8,d5s);
			var A6C_=1;
			for(var i=0;i<JUtG.length;i+=2)
			{
				dt8+=parseFloat(JUtG[i])*0.01/250.0;
				d5s+=parseFloat(JUtG[i+1])*0.01/250.0;
				if(d5s.toString()!=Number.NaN.toString())L1ji0[A6C_]=maplet.K13Y7(d5s,dt8);
				if(dt8.toString()!=Number.NaN.toString())rf116[A6C_]=maplet.Aa5jA(dt8,d5s);
				if((Math.abs(L1ji0[A6C_]-L1ji0[A6C_-1])+Math.abs(rf116[A6C_]-rf116[A6C_-1]))>3)A6C_ ++
			}
			L1ji0[A6C_]=maplet.K13Y7(this.Q9s.e84,this.Q9s.r2u9);
			rf116[A6C_]=maplet.Aa5jA(this.Q9s.r2u9,this.Q9s.e84);
			g.setColor("#CC00CC");
			g.setStroke(6);
			g.drawPolyline(L1ji0,rf116,0)
		}
	};
	this.clean=function()
	{
		this.ytl=null;
		this.Q9s=null;
		v89=null
	}
};
var V$360=new Kg$GP();
var M45=new Array('W','0','1','2','3','4','5','6','7','8','9','10','11','12');
var V41=new Array(90,40,20,10,5,2,1,0.5,0.2,0.1,0.05,0.02,0.01,0.005);
var X107p=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);
var U3w=new Array(10,10,10,10,10,10,10,10,10,10,50,50,50,50);
var k8$q=new Array(0,0,0,0,0,0,0,0,75,0,0,-150,0,0);
var LpD=13;
var xX5d=0;
var XR64f=100000;
var J84=105;
var taS9=35;
var Hye=new Array(-360,360);
var S_t86=new Array(-90,90);
var W$kh1=(document.all);
function T4Gr(FV85,N6q0,so7,f198)
{
	this.FV85=FV85;
	this.so7=so7;
	this.N6q0=N6q0;
	this.f198=f198;
	this.f$6=function(e8H,J43)
	{
		if(this.FV85<e8H||this.so7>e8H)return false;
		var i3C=(J43-this.f198)%360;
		if(i3C<0)i3C+=360;
		return((this.N6q0-this.f198)>=i3C)
	}
};
function MPoint(vf674)
{
	this.pid=(typeof getPid=="undefined")?vf674:getPid(vf674);
	this.toString=function()
	{
		return 'com.mapbar.maplet.MPoint'
	}
};
function MIcon(j8b72,width,height,buF$K,W40,ep25)
{
	this.S6Ys=document.createElement("div");
	this.S6Ys.unselectable="on";
	this.S6Ys.style.zIndex=0;
	this.S6Ys.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.o3_7e="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=0;
	this.img.style.left=0;
	this.j8b72=j8b72;
	this.$k71=function(id)
	{
		this.S6Ys.id="OverlayBg"+id;
		this.img.id=id
	};
	this.E81=function(hg9)
	{
		this.j8b72=hg9;
		if(this.j8b72!=null&&this.j8b72.indexOf("<")>=0)
		{
			this.img.innerHTML=this.j8b72
		}
		else
		{
			this.img.innerHTML="<img src="+this.j8b72+" width="+width+" height="+height+">"
		}
	};
	this.E81(j8b72);
	this.width=(typeof width=="undefined")?this.img.width:parseInt(width);
	this.height=(typeof height=="undefined")?this.img.height:parseInt(height);
	this.S6Ys.style.width=this.width;
	this.S6Ys.style.height=this.height;
	this.ep25=(typeof ep25=="undefined")?j8b72:ep25;
	this.buF$K=(typeof buF$K=="undefined")?this.width/2:parseInt(buF$K);
	this.W40=(typeof W40=="undefined")?this.height/2:parseInt(W40);
	this.S6Ys.appendChild(this.img);
	this.img.firstChild.onmousedown=function(r2Q1$)
	{
		return false
	};
	this.Q4Wq0=function(maplet,left,top)
	{
		var q522x=parseInt(left)-parseInt(this.buF$K);
		var wpfa_=parseInt(top)-parseInt(this.W40);
		if(q522x>maplet.width||q522x<-this.width||wpfa_>maplet.height||wpfa_<-this.height)
		{
			if(this.S6Ys.parentNode)
			{
				this.S6Ys.parentNode.removeChild(this.S6Ys);
				this.yl09L=false
			}
		}
		else
		{
			if(this.S6Ys.parentNode!=maplet.BrB)
			{
				maplet.BrB.appendChild(this.S6Ys);
				this.S6Ys.style.width=this.width;
				this.S6Ys.style.height=this.height;
				this.img.width=this.width;
				this.img.height=this.height;
				this.S6Ys.style.top=wpfa_;
				this.S6Ys.style.left=q522x;
				this.yl09L=true
			}
		}
	};
	this.y88m=function()
	{
		return(this.yl09L)
	};
	this.B31=function()
	{
		return(this.img.firstChild.src)+","+this.width+","+this.height
	};
	this.Kr$J=function()
	{
		if(this.S6Ys)
		{
			if(this.S6Ys.style.zIndex<I36n5)
			{
				I36n5++
			}
			this.S6Ys.style.zIndex=I36n5
		}
	};
	this.remove=function()
	{
		if(this.S6Ys&&this.S6Ys.parentNode)
		{
			this.S6Ys.parentNode.removeChild(this.S6Ys)
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MIcon'
	}
};
function MInfoWindow(M0l28,oJ2)
{
	this.title=M0l28;
	this.content=oJ2;
	this.F1cp3=function(x,y)
	{
		return $8A(this.title,x,y,this.content)
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MInfoWindow'
	}
};
function MLabel(kgr,xoffset,yoffset)
{
	this.label=kgr;
	this.xoffset=(typeof xoffset=="undefined")?8:parseInt(xoffset);
	this.yoffset=(typeof yoffset=="undefined")?-12:parseInt(yoffset);
	this.S6Ys=document.createElement("div");
	this.S6Ys.className="tiplabel";
	this.S6Ys.unselectable="on";
	this.S6Ys.style.zIndex=1;
	this.S6Ys.style.position="absolute";
	this.S6Ys.style.visibility="visible";
	this.S6Ys.style.cursor="hand";
	this.S6Ys.style.cursor="pointer";
	this.$k71=function(id)
	{
		this.S6Ys.id="OverlayBg"+id
	};
	this.Q4Wq0=function(maplet,left,top)
	{
		this.S6Ys.innerHTML=this.label;
		this.S6Ys.style.left=parseInt(left)+this.xoffset;
		this.S6Ys.style.top=parseInt(top)+this.yoffset;
		if(this.S6Ys.parentNode!=null)
		{
			this.S6Ys.parentNode.removeChild(this.S6Ys)
		}
		maplet.BrB.appendChild(this.S6Ys)
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MLabel'
	}
};
var Wy7os=null;
function vq55y(d2B,D03M)
{
	var YQv=false;
	while(d2B!=null)
	{
		if((typeof D03M=="string"&&d2B.id==D03M)||(d2B==D03M))
		{
			YQv=true;
			break
		}
		d2B=d2B.parentNode
	}
	return YQv
};
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.$k71)
	{
		this.icon.$k71(this.id)
	}
	if(this.label&&this.label.$k71)
	{
		this.label.$k71(this.id)
	}
	this.info=(typeof info=="undefined")?null:info;
	this.label=(typeof label=="undefined")?null:label;
	this._m7A=0;
	this.H_LM=false;
	this.rotation=0;
	this._L$C=new Array();
	this.$k71=function(id)
	{
		this.id=id;
		if(this.icon&&this.icon.$k71)
		{
			this.icon.$k71(id)
		}
	};
	this.S8Q=function(maplet)
	{
		this.maplet=maplet;
		{
			this._L$C["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.U56i3);
			this._L$C["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.eO38);
			this._L$C["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.$$9_);
			this._L$C["mouseover"]=MEvent.bindDom(this.maplet.map,"mouseover",this,this.Y30)
		}
		{
			this._L$C["click"]=MEvent.bindDom(this.maplet.map,"click",this,this.openInfoWindow)
		}
		if(typeof this.maplet.BrB!="undefined")
		{
			this.paint()
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MMarker'
	};
	this.paint=function()
	{
		var k39=a2Iv.p5DG(this.pt.pid);
		var x=this.maplet.K13Y7(k39[0],k39[1]);
		var y=this.maplet.Aa5jA(k39[1],k39[0]);
		if(this.icon)
		{
			this.icon.Q4Wq0(this.maplet,x,y)
		}
		if(this.label)
		{
			this.label.Q4Wq0(this.maplet,x,y)
		}
	};
	this.B31=function()
	{
		return(this.icon.y88m())?"1"+","+this.pt.pid+","+this.icon.B31():""
	};
	this.remove=function()
	{
		if(this.icon)
		{
			this.icon.remove();
			for(var gaNF in this._L$C)
			{
				MEvent.M3E$(this.maplet.map,gaNF,this._L$C[gaNF]);
				this._L$C[gaNF]=null
			}
		}
		this.maplet=null
	};
	this.openInfoWindow=function(r2Q1$)
	{
		if(this.maplet!=null&&this.info!=null)
		{
			if((new Date().getTime()-this._m7A)<200)return;
			var k39=a2Iv.p5DG(this.pt.pid);
			var x=this.maplet.K13Y7(k39[0],k39[1]);
			var y=this.maplet.Aa5jA(k39[1],k39[0]);
			if(typeof r2Q1$=="undefined"||(typeof r2Q1$=="object"&&vq55y(r2Q1$.target,this.icon.img))||(typeof r2Q1$=="object"&&this.label&&vq55y(r2Q1$.target,this.label.S6Ys)))
			{
				if(typeof r2Q1$=="object"&&this.maplet.F26!=f$r7O.rR6w&&this.maplet.F26!=f$r7O.$81)
				{
					return
				}
				this.x=x;
				this.y=y;
				if(iToolTipStyle!=2)
				{
					this.maplet.t5k(x,y,this.info)
				}
				MEvent.M7R6(this,"click",this)
			}
			else if(r2Q1$==true||r2Q1$=="true")
			{
				this.maplet.t5k(x,y,this.info,true)
			}
		}
	};
	this.U56i3=function(r2Q1$)
	{
		if(this.icon!=null&&this.maplet&&this.maplet.F26==f$r7O.$81&&vq55y(r2Q1$.target,this.icon.img))
		{
			this.uWK3=true;
			this.c7T=false;
			Wy7os=this.id;
			this.V5DuD=(r2Q1$.offsetX)?r2Q1$.offsetX:parseInt(r2Q1$.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.icon.S6Ys.style.left);
			this.qu73k=(r2Q1$.offsetY)?r2Q1$.offsetY:parseInt(r2Q1$.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.icon.S6Ys.style.top);
			if(this.rotation==1)
			{
				var E74=this.V5DuD-this.icon.width/2;
				var oL0=this.qu73k-this.icon.height/2;
				var I5uw=Math.sqrt(E74*E74+oL0*oL0);
				if(I5uw>(this.icon.width/4-5))
				{
					this.c7T=true;
					this.T$5f=r2Q1$.clientX;
					this.bp4=r2Q1$.clientY
				}
			}
		}
	};
	this.eO38=function(r2Q1$)
	{
		if(this.icon!=null&&this.maplet&&this.maplet.F26==f$r7O.$81&&(vq55y(r2Q1$.target,this.icon.img)||Wy7os==this.id))
		{
			if(this.uWK3)
			{
				if(this.c7T==false)
				{
					var x=r2Q1$.clientX-this.maplet.offsetX-this.maplet.left-this.V5DuD;
					var y=r2Q1$.clientY-this.maplet.offsetY-this.maplet.top-this.qu73k;
					this.icon.Q4Wq0(this.maplet,x+this.icon.buF$K,y+this.icon.W40);
					this._m7A=new Date().getTime();
					this.H_LM=true
				}
				else
				{
					var m372s=parseInt(r2Q1$.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.icon.S6Ys.style.left);
					var k2hIx=parseInt(r2Q1$.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.icon.S6Ys.style.top);
					var m1S=Math.atan2((k2hIx-this.icon.height/2),m372s-this.icon.width/2);
					var X7N=((90+m1S*180/Math.PI)+360)%360;
					MEvent.M7R6(this,"rotate",X7N)
				}
			}
		}
	};
	this.$$9_=function(r2Q1$)
	{
		if(this.icon!=null&&this.maplet&&this.maplet.F26==f$r7O.$81&&this.uWK3)
		{
			this.uWK3=false;
			if(this.c7T==false)
			{
				var x=r2Q1$.clientX-this.maplet.offsetX-this.maplet.left-this.V5DuD;
				var y=r2Q1$.clientY-this.maplet.offsetY-this.maplet.top-this.qu73k;
				this.pt.pid=this.maplet.toMapCoordinate(x+this.icon.buF$K,y+this.icon.W40);
				this.x=x;
				this.y=y
			}
			else
			{
			}
			MEvent.M7R6(this,"drag",this);
			MEvent.M7R6(this.maplet,"edit",this);
			if(this.H_LM)
			{
				this._m7A=new Date().getTime();
				this.H_LM=false
			}
		}
		if(Wy7os==this.id)
		{
			Wy7os=null
		}
	};
	this.Y30=function(r2Q1$)
	{
		if(this.icon!=null&&vq55y(r2Q1$.target,this.id))
		{
			this.icon.Kr$J();
			var k39=a2Iv.p5DG(this.pt.pid);
			var x=this.maplet.K13Y7(k39[0],k39[1]);
			var y=this.maplet.Aa5jA(k39[1],k39[0]);
			this.x=x;
			this.y=y;
			MEvent.M7R6(this,"mouseover",this)
		}
	}
};
function MPolyline(pts,M2a7,info,label)
{
	this.id=new Date().getTime()+""+parseInt(Math.random()*10000);
	this.pts=pts;
	this.M2a7=(typeof M2a7=="undefined")?new MBrush():M2a7;
	this.info=(typeof info=="undefined")?null:info;
	this.label=(typeof label=="undefined")?null:label;
	this.S8Q=function(maplet)
	{
		this.maplet=maplet;
		if(this.info)
		{
			MEvent.bindDom(this.maplet.map,"click",this,this.openInfoWindow)
		}
		if(typeof this.maplet.BrB!="undefined")
		{
			this.paint()
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MPolyline'
	};
	this.B31=function()
	{
		return ""
	};
	this.paint=function()
	{
		if(!W$kh1)
		{
			if(this.maplet.BrB)
			{
				this.rW7(this.maplet.BrB.graphics);
				return
			}
		}
		this.$Kf5=document.createElement("div");
		this.$Kf5.Q7K0Q=this;
		this.$Kf5.id=this.id;
		this.$Kf5.style.position="absolute";
		this.$Kf5.unselectable="on";
		this.$Kf5.style.zIndex=10;
		this.$Kf5.style.cursor="hand";
		this.$Kf5.style.cursor="pointer";
		this.iM2pt=document.createElement("v:polyline");
		this.iM2pt.unselectable="on";
		this.iM2pt.id=this.id;
		this.iM2pt.strokecolor=this.M2a7.color;
		this.iM2pt.strokeweight=this.M2a7.stroke+'pt';
		this.iM2pt.fill=this.M2a7.fill;
		this.iM2pt.filled=this.M2a7.fill;
		this.N04=document.createElement("v:stroke");
		this.N04.opacity=(this.M2a7.transparency/100.0);
		this.N04.joinstyle="round";
		this.N04.endcap="round";
		this.N04.fill=this.M2a7.fill;
		if(this.M2a7.arrow)
		{
			this.N04.endarrow="classic"
		}
		this.ps67g=document.createElement("v:fill");
		this.ps67g.opacity=((this.M2a7.bgtransparency)/100);
		this.ps67g.color=this.M2a7.bgcolor;
		this.iM2pt.appendChild(this.N04);
		this.iM2pt.appendChild(this.ps67g);
		this.$Kf5.appendChild(this.iM2pt);
		this.$Kf5.onmouseover=function(r2Q1$)
		{
			MEvent.M7R6(this.Q7K0Q,"mouseover",this.Q7K0Q,r2Q1$)
		};
		this.Q4Wq0();
		this.$Kf5.style.visibility="visible";
		if(this.maplet!=null&&this.maplet.BrB!=null)
		{
			this.maplet.BrB.appendChild(this.$Kf5)
		}
	};
	this.Q4Wq0=function()
	{
		var L1ji0=new Array();
		var rf116=new Array();
		var A6C_=0;
		var Uf92=10;
		if(this.pts==null||this.pts.length<2)return;
		var Q14k=false;
		for(var i=0;i<this.pts.length;i+=1)
		{
			var k39=a2Iv.p5DG(this.pts[i].pid);
			if(k39[1].toString()!=Number.NaN.toString())
			{
				rf116[A6C_]=this.maplet.Aa5jA(k39[1],k39[0]);
				if(k39[0].toString()!=Number.NaN.toString())
				{
					L1ji0[A6C_]=this.maplet.K13Y7(k39[0],k39[1]);
					if(!Q14k&&(rf116[A6C_]<0||rf116[A6C_]>this.maplet.height||L1ji0[A6C_]<0||L1ji0[A6C_]>this.maplet.width))
					{
						Q14k=true
					}
					if(A6C_>0&&(Math.abs(L1ji0[A6C_]-L1ji0[A6C_-1])+Math.abs(rf116[A6C_]-rf116[A6C_-1]))>Uf92)
					{
						A6C_ ++
					}
					if(A6C_==0)A6C_++
				}
			}
		}
		if(Q14k)
		{
			var O8941=new Array();
			var wP6G=new Array();
			A6C_=0;
			for(var i=1;i<L1ji0.length;i++)
			{
				if((rf116[i]<0&&rf116[i-1]<0)||(rf116[i]>this.maplet.height&&rf116[i-1]>this.maplet.height)||(L1ji0[i]>this.maplet.width&&L1ji0[i-1]>this.maplet.width)||(L1ji0[i]<0&&L1ji0[i-1]<0))
				{
					continue
				}
				if(O8941.length==0||(O8941[A6C_]!=L1ji0[i-1]&&wP6G[A6C_]!=rf116[i-1]))
				{
					O8941[A6C_]=L1ji0[i-1];
					wP6G[A6C_]=rf116[i-1];
					A6C_++
				}
				O8941[A6C_]=L1ji0[i];
				wP6G[A6C_]=rf116[i];
				A6C_++
			}
			L1ji0=O8941;
			rf116=wP6G;
			O8941=null;
			wP6G=null
		}
		var J3u='';
		for(var i=0;i<L1ji0.length;i++ )
		{
			if(i>0)J3u+=',';
			J3u+=(parseInt(L1ji0[i])+','+parseInt(rf116[i]))
		}
		if(this.iM2pt)
		{
			if(this.iM2pt.points)
			{
				this.iM2pt.points.value=J3u
			}
			else
			{
				this.iM2pt.points=J3u
			}
		}
	};
	this.rW7=function(g)
	{
		this.graphics=g;
		var L1ji0=new Array();
		var rf116=new Array();
		var A6C_=0;
		var Uf92=10;
		for(var i=0;i<this.pts.length;i++)
		{
			var k39=a2Iv.p5DG(this.pts[i].pid);
			if(k39[1].toString()!=Number.NaN.toString())
			{
				rf116[A6C_]=this.maplet.Aa5jA(k39[1],k39[0]);
				if(k39[0].toString()!=Number.NaN.toString())
				{
					L1ji0[A6C_]=this.maplet.K13Y7(k39[0],k39[1]);
					if(A6C_>0&&(Math.abs(L1ji0[A6C_]-L1ji0[A6C_-1])+Math.abs(rf116[A6C_]-rf116[A6C_-1]))>Uf92)
					{
						A6C_ ++
					}
				}
			}
			if(A6C_==0)A6C_++
		}
		if(this.M2a7.color)g.setColor(this.M2a7.color);
		if(this.M2a7.stroke)g.setStroke(this.M2a7.stroke);
		if(this.M2a7.fill)
		{
			g.NR2hI(L1ji0,rf116)
		}
		else
		{
			g.drawPolyline(L1ji0,rf116,this.M2a7.style)
		}
		g.paint()
	};
	this.remove=function()
	{
		if(typeof this.$Kf5!="undefined"&&this.$Kf5.parentNode)
		{
			this.$Kf5.parentNode.removeChild(this.$Kf5)
		}
		if(typeof this.graphics!="undefined")
		{
			this.graphics.clear()
		}
		this.maplet=null
	};
	this.openInfoWindow=function(r2Q1$)
	{
		if(this.maplet)
		{
			if(typeof r2Q1$=="undefined")
			{
				if(this.info!=null&&this.pts.length>=2)
				{
					var e4f=0;
					var ex3W=0;
					for(var i=1;i<this.pts.length;i++)
					{
						var k39=a2Iv.p5DG(this.pts[i].pid);
						ex3W=this.maplet.Aa5jA(k39[1],k39[0]);
						e4f=this.maplet.K13Y7(k39[0],k39[1]);
						if(e4f>=0&&ex3W>=0&&ex3W<=this.maplet.height&&e4f<=this.maplet.width)
						{
							if(iToolTipStyle==2)
							{
								this.x=e4f;
								this.y=ex3W;
								MEvent.M7R6(this,"click",this)
							}
							else
							{
								this.maplet.t5k(e4f,ex3W,this.info.title,this.info.content)
							}
							break
						}
					}
				}
			}
			else if(r2Q1$.target.id==this.id)
			{
				var x=r2Q1$.clientX-this.maplet.offsetX-this.maplet.left;
				var y=r2Q1$.clientY-this.maplet.offsetY-this.maplet.top+6;
				if(iToolTipStyle==2)
				{
					this.x=x;
					this.y=y;
					MEvent.M7R6(this,"click",this)
				}
				else
				{
					this.maplet.t5k(x,y,this.info.title,this.info.content)
				}
			}
		}
	}
};
function MStandardControl($v0,left,top,J754)
{
	this.$v0=(typeof $v0=="undefined")?"baidu":$v0;
	this.left=(typeof left=="undefined")?0:left;
	this.top=(typeof top=="undefined")?0:top;
	this.J754=(typeof J754=="undefined")?0:parseInt(J754);
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.fUA=null;
	this.S8Q=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.GO2[this.id]==null)
		{
			this.maplet.GO2[this.id]=this;
			this.fUA=new R6s2H(this.$v0,this.maplet.x541$,this.left,this.top,70,120,true,3,this.maplet.Q7K0Q,this.maplet,this.J754);
			if(this.maplet.D6e4==null)this.maplet.D6e4=this.fUA
		}
	};
	this.remove=function()
	{
		this.maplet=null;
		if(this.fUA)
		{
			if(this.fUA==this.maplet.D6e4)this.maplet.D6e4=null;
			this.fUA.vh71();
			this.fUA=null
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MStandardControl'
	}
};
function MZoomControl($v0,left,top)
{
	this.$v0=(typeof $v0=="undefined")?"jongo":$v0;
	this.left=(typeof left=="undefined")?0:left;
	this.top=(typeof top=="undefined")?0:top;
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.e601B=28;
	this.Ya48=241;
	this._L$C=new Array();
	this.onresize=function(maplet)
	{
		this.muM9.style.left=this.maplet.width-40+this.left
	};
	this.S8Q=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.GO2[this.id]==null)
		{
			this.maplet.GO2[this.id]=this;
			this.muM9=document.createElement("div");
			this.muM9.unselectable="on";
			this.muM9.style.position="relative";
			this.muM9.style.left=this.maplet.width-40+this.left;
			this.muM9.style.top=this.maplet.height/2-this.Ya48/2;
			this.muM9.style.width=this.e601B;
			this.muM9.style.height=this.Ya48;
			this.muM9.style.zIndex=10;
			this.muM9.style.visibility="visible";
			this.muM9.style.cursor="default";
			this.muM9.maplet=this.maplet;
			this.muM9.innerHTML='<img unselectable="on" id="'+this.id+'" border=0 src="'+strImgsvrUrl+'images/'+this.$v0+'/bg.png" onmousedown="javascript:return false;">';
			this._L$C["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.U56i3);
			this._L$C["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.eO38);
			this._L$C["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.$$9_);
			this.muM9.onmouseover=function(r2Q1$)
			{
				var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-parseInt(this.style.left)-parseInt(this.maplet.left)-this.maplet.offsetX;
				var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-parseInt(this.style.top)-parseInt(this.maplet.top)-this.maplet.offsetY;
				if(!W$kh1&&this.maplet.Q7K0Q.style.position!="absolute")
				{
					WJ9-=10;
					v026-=12
				}
				if(WJ9>=6&&WJ9<=22)
				{
					if(v026>=18&&v026<=34)
					{
						this.style.cursor=(W$kh1)?"hand":"pointer";
						this.firstChild.alt=(en)?"Click to Zoom In":v4Wk("%u70BD%uC2B4%uB739%uBE65")
					}
					else if(v026>=199&&v026<=215)
					{
						this.style.cursor=(W$kh1)?"hand":"pointer";
						this.firstChild.alt=(en)?"Click to Zoom Out":v4Wk("%u70BD%uC2B4%uD124%uDB38")
					}
					else if(v026>=220&&v026<=236)
					{
						this.style.cursor=(W$kh1)?"hand":"pointer";
						this.firstChild.alt=(en)?"Help":v4Wk("%u5E32%uB0D7%uA28A%uB050")
					}
					else if(v026<18)
					{
						this.style.cursor="move";
						this.firstChild.alt=(en)?"Drag":v4Wk("%u9F24%u0727%uCADD%uC5D3")
					}
					else if(v026>34&&v026<199)
					{
						this.style.cursor="default";
						this.firstChild.alt=(en)?"Click to Zoom":v4Wk("%u70BD%uC2B4%uD124%uE467")
					}
					else
					{
						this.style.cursor="default";
						this.firstChild.alt=""
					}
				}
				else
				{
					this.style.cursor="default"
				}
			};
			this.muM9.onmousemove=this.muM9.onmouseover;
			this.muM9.onclick=function(r2Q1$)
			{
				var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-parseInt(this.style.left)-parseInt(this.maplet.left)-this.maplet.offsetX;
				var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-parseInt(this.style.top)-parseInt(this.maplet.top)-this.maplet.offsetY;
				if(!W$kh1&&this.maplet.Q7K0Q.style.position!="absolute")
				{
					WJ9-=10;
					v026-=12
				}
				if(WJ9>=6&&WJ9<=22)
				{
					if(v026>=18&&v026<=34)
					{
						this.maplet.zoomIn()
					}
					else if(v026>=199&&v026<=215)
					{
						this.maplet.zoomOut()
					}
					else if(v026>=220&&v026<=236)
					{
						if(typeof callback=="function")
						{
							callback("&act=help")
						}
					}
					else if(v026>34&&v026<199)
					{
						var gM9=150;
						var y=Math.max(38,Math.min(188,v026));
						var O32l=LpD-Math.max(0,Math.min(LpD,parseInt((parseInt(y)-38)/(gM9/(LpD)))));
						this.maplet.setZoomLevel(parseInt(O32l))
					}
				}
				this.SrP=0;
				this.style.cursor="default";
				return false
			};
			this.maplet.map.appendChild(this.muM9);
			this.t46ta=document.createElement("div");
			this.t46ta.id="slider"+this.id;
			this.t46ta.unselectable="on";
			this.t46ta.innerHTML='<IMG id="sliderimg'+this.id+'" src='+strImgsvrUrl+'images/'+this.$v0+'/slider.png>';
			this.t46ta.style.position="absolute";
			this.t46ta.style.top=100;
			this.t46ta.style.left=5;
			this.t46ta.style.width=18;
			this.t46ta.style.height=9;
			this.t46ta.maplet=this.maplet;
			this.muM9.t46ta=this.t46ta;
			this.t46ta.SrP=0;
			this.muM9.appendChild(this.t46ta);
			this.t46ta.firstChild.onmousedown=function(r2Q1$)
			{
				return false
			};
			this.t46ta.onmousedown=function(r2Q1$)
			{
				if(this.SrP==0||this.selected==false)
				{
					this.selected=true;
					this.SrP=parseInt((W$kh1)?event.clientY:r2Q1$.clientY);
					if(this.setCapture)this.setCapture();
					this.style.cursor="move"
				}
				else
				{
					this.SrP=0
				}
				return true
			};
			this.t46ta.ondrag=function(r2Q1$)
			{
				if(this.SrP>0&&this.selected==true)
				{
					this.style.cursor="move";
					var RJL=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.maplet.offsetY-this.maplet.top-parseInt(this.parentNode.style.top);
					RJL=Math.max(38,Math.min(188,RJL));
					{
						this.style.top=(W$kh1)?RJL:(RJL-5);
						var gM9=150;
						if(W$kh1)
						{
							var y=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.maplet.offsetY-this.maplet.top-parseInt(this.parentNode.style.top);
							var O32l=LpD-Math.max(0,Math.min(LpD,parseInt(((parseInt(y)-38)/(LpD-1))*(gM9/(LpD-1)))/(gM9/(LpD-1))));
							this.maplet.o857(O32l);
							this.style.cursor="move";
							this.parentNode.style.cursor="move"
						}
					}
					return true
				}
				return false
			};
			this.t46ta.ondragend=function(r2Q1$)
			{
				this.selected=false;
				if(this.SrP>0)
				{
					var gM9=150;
					var y=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-parseInt(this.maplet.offsetY)-parseInt(this.maplet.top)-parseInt(this.parentNode.style.top);
					var O32l=LpD-Math.max(0,Math.min(LpD,parseInt((parseInt(y)-38)/(gM9/(LpD)))));
					this.maplet.q80.S6Ys.style.zoom=1;
					this.maplet.setZoomLevel(parseInt(O32l));
					this.SrP=0;
					if(this.releaseCapture)this.releaseCapture()
				}
				this.SrP=0;
				this.style.cursor="default";
				return true
			};
			this.t46ta.setZoomLevel=function(O32l)
			{
				var P8m=O32l.toString().split('zm=');
				if(P8m.length==2)
				{
					O32l=parseInt(P8m[1])
				}
				O32l=parseInt(O32l);
				this.style.top=(LpD-Math.min(LpD,Math.max(O32l,xX5d)))*150/(LpD)+38
			};
			MEvent.bind(this.maplet,"zoom",this.t46ta,this.t46ta.setZoomLevel);
			this.t46ta.setZoomLevel(this.maplet.getZoomLevel())
		}
	};
	this.U56i3=function(r2Q1$)
	{
		if(this.maplet&&r2Q1$.target.id==this.id)
		{
			this.uWK3=true;
			Wy7os=this.id;
			this.V5DuD=(r2Q1$.offsetX)?r2Q1$.offsetX:parseInt(r2Q1$.clientX-this.maplet.offsetX-this.maplet.left)-parseInt(this.muM9.style.left);
			this.qu73k=(r2Q1$.offsetY)?r2Q1$.offsetY:parseInt(r2Q1$.clientY-this.maplet.offsetY-this.maplet.top)-parseInt(this.muM9.style.top)
		}
	};
	this.eO38=function(r2Q1$)
	{
		if(this.maplet&&(r2Q1$.target.id==this.id||Wy7os==this.id))
		{
			if(this.uWK3)
			{
				var x=r2Q1$.clientX-this.maplet.offsetX-this.maplet.left-this.V5DuD;
				var y=r2Q1$.clientY-this.maplet.offsetY-this.maplet.top-this.qu73k;
				x=Math.max(0,Math.min(this.maplet.width-this.e601B,x));
				y=Math.max(0,Math.min(this.maplet.height-this.Ya48,y));
				this.muM9.style.left=x;
				this.muM9.style.top=y;
				this._m7A=new Date().getTime();
				this.H_LM=true
			}
		}
		{
			this.t46ta.ondrag(r2Q1$)
		}
	};
	this.$$9_=function(r2Q1$)
	{
		if(this.maplet&&this.uWK3)
		{
			this.uWK3=false;
			var x=r2Q1$.clientX-this.maplet.offsetX-this.maplet.left-this.V5DuD;
			var y=r2Q1$.clientY-this.maplet.offsetY-this.maplet.top-this.qu73k;
			if(this.H_LM)
			{
				this._m7A=new Date().getTime();
				this.H_LM=false
			}
		}
		if(Wy7os==this.id)
		{
			Wy7os=null
		}
		this.t46ta.ondragend()
	};
	this.remove=function()
	{
		for(var gaNF in this._L$C)
		{
			try
			{
				if(this._L$C[gaNF]!=null)
				{
					MEvent.M3E$(this.maplet.map,gaNF,this._L$C[gaNF]);
					this._L$C[gaNF]=null
				}
			}
			catch(r2Q1$)
			{
			}
			this._L$C=null
		}
		this.maplet=null;
		if(this.muM9!=null&&this.muM9.parentNode!=null)
		{
			this.muM9.parentNode.removeChild(this.muM9);
			this.muM9=null
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MJongoControl'
	}
};
MJongoControl=MZoomControl;
function MLookupControl(M0l28,left,top)
{
	this.M0l28=(typeof M0l28=="undefined")?v4Wk("%u62CD%uCB0F%uD02B%uF3C7"):M0l28;
	this.left=(typeof left=="undefined")?0:left;
	this.top=(typeof top=="undefined")?0:top;
	this.id=new Date().getTime()+parseInt(Math.random()*1000);
	this.onresize=function(maplet)
	{
		this.muM9.style.left=this.maplet.width-132+this.left-this.maplet.ovw.$W7Q()
	};
	this.S8Q=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.GO2[this.id]==null)
		{
			this.maplet.GO2[this.id]=this;
			this.muM9=document.createElement("div");
			this.muM9.style.position="absolute";
			this.muM9.style.left=this.maplet.width-132+this.left-this.maplet.ovw.$W7Q();
			this.muM9.style.top=10+this.top;
			this.muM9.style.zIndex=10;
			this.muM9.style.visibility="visible";
			this.D_1=document.createElement("img");
			this.D_1.unselectable="on";
			this.D_1.src=strImgsvrUrl+"images/lookup.png";
			this.D_1.alt=this.M0l28;
			this.D_1.style.cursor="hand";
			this.D_1.style.cursor="pointer";
			this.D_1.Q7K0Q=this;
			this.D_1.maplet=this.maplet;
			this.D_1.onclick=function()
			{
				this.maplet.setMode("lookup");
				MEvent.M7R6(this.Q7K0Q,"onclick")
			};
			this.muM9.appendChild(this.D_1);
			this.maplet.Q7K0Q.appendChild(this.muM9)
		}
	};
	this.remove=function()
	{
		this.maplet=null;
		if(this.muM9!=null&&this.muM9.parentNode!=null)
		{
			this.muM9.parentNode.removeChild(this.muM9);
			this.muM9=null;
			this.D_1.maplet=null;
			this.D_1.onclick=null;
			this.D_1=null
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.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.muM9.style.left=this.maplet.width-132+this.left-this.maplet.ovw.$W7Q();
		this.C692.style.left=this.maplet.width-70+this.left-this.maplet.ovw.$W7Q()
	};
	this.S8Q=function(maplet)
	{
		this.maplet=maplet;
		if(this.maplet.GO2[this.id]==null)
		{
			this.maplet.GO2[this.id]=this;
			this.muM9=document.createElement("div");
			this.muM9.id="stylelabel";
			this.muM9.style.position="absolute";
			this.muM9.style.left=this.maplet.width-132+this.left-this.maplet.ovw.$W7Q();
			this.muM9.style.top=10+this.top;
			this.muM9.style.zIndex=10;
			this.muM9.style.visibility="visible";
			this.muM9.unselectable="on";
			this.muM9.alt=v4Wk("%u6672%uF688%uE74A%uAE2E");
			this.muM9.style.cursor="hand";
			this.muM9.style.cursor="pointer";
			this.muM9.maplet=this.maplet;
			this.muM9.innerHTML=v4Wk("%u6672%uF688%uE74A%uAE2E");
			this.muM9.style.backgroundColor="#FFFFFF";
			this.muM9.onclick=function()
			{
				this.maplet.setStyle("baidu")
			};
			this.C692=document.createElement("div");
			this.C692.id="stylelabel";
			this.C692.style.position="absolute";
			this.C692.style.left=this.maplet.width-70+this.left-this.maplet.ovw.$W7Q();
			this.C692.style.top=10+this.top;
			this.C692.style.zIndex=10;
			this.C692.style.visibility="visible";
			this.C692.unselectable="on";
			this.C692.alt=v4Wk("%u536F%uB98A%uC590%uB040");
			this.C692.style.cursor="hand";
			this.C692.style.cursor="pointer";
			this.C692.maplet=this.maplet;
			this.C692.innerHTML=v4Wk("%u536F%uB98A%uC590%uB040");
			this.C692.style.backgroundColor="#FFFFFF";
			this.C692.onclick=function()
			{
				this.maplet.setStyle("aerial")
			};
			this.maplet.Q7K0Q.appendChild(this.muM9);
			this.maplet.Q7K0Q.appendChild(this.C692)
		}
	};
	this.remove=function()
	{
		if(this.muM9!=null&&this.muM9.parentNode!=null)
		{
			this.muM9.parentNode.removeChild(this.muM9);
			this.maplet=null;
			this.muM9.onclick=null;
			this.muM9.maplet=null;
			this.muM9=null
		}
		if(this.C692!=null&&this.C692.parentNode!=null)
		{
			this.C692.parentNode.removeChild(this.C692);
			this.maplet=null;
			this.C692.onclick=null;
			this.C692.maplet=null;
			this.C692=null
		}
	};
	this.toString=function()
	{
		return 'com.mapbar.maplet.MStyleControl'
	}
};
function MBrush(N00,Qh5,$v0,T1j,$89,U_3,g64,V48f)
{
	this.color=(typeof N00=="undefined")?"#FF0000":N00;
	this.stroke=(typeof Qh5=="undefined")?1:parseInt(Qh5);
	this.style=(typeof $v0=="undefined")?0:parseInt($v0);
	this.fill=(typeof T1j=="undefined")?false:T1j;
	this.bgcolor=(typeof $89=="undefined")?this.color:$89;
	this.transparency=(typeof U_3=="undefined")?transparencyLevel:parseInt(U_3);
	this.bgtransparency=(typeof g64=="undefined")?transparencyLevel/2:parseInt(g64);
	this.arrow=(typeof V48f=="undefined")?bArrow:V48f;
	this.toString=function()
	{
		return 'com.mapbar.maplet.MBrush'
	}
};
var Y4B6=15;
var Wt91=150;
var $264=100;
var j54=strImgsvrUrl+'images/overclose.gif';
var Xi7=strImgsvrUrl+'images/overopen.gif';
var I9m54=new Array(0,0,0,0,0,1,2,3,4,5,6,7,8,9);
function M79Y(maplet)
{
	this.maplet=maplet;
	document["mapbar-overview"]=this;
	this.W4u1="baidu";
	this.Q7K0Q=document.createElement("div");
	this.Q7K0Q.unselectable="on";
	this.Q7K0Q.style.position="absolute";
	this.Q7K0Q.style.visibility="visible";
	this.Q7K0Q.style.zIndex=1000;
	this.Q7K0Q.style.top=0;
	this.Q7K0Q.style.backgroundColor="white";
	this.Q7K0Q.style.borderLeftStyle="solid";
	this.Q7K0Q.style.borderLeftWidth="1px";
	this.Q7K0Q.style.borderLeftColor="#949694";
	this.Q7K0Q.style.borderBottomStyle="solid";
	this.Q7K0Q.style.borderBottomWidth="1px";
	this.Q7K0Q.style.borderBottomColor="#949694";
	this.Q7K0Q.style.overflow="hidden";
	this.a25=oo;
	this.TNB1=document.createElement("div");
	this.TNB1.id="mapbar-overview-canvas";
	this.TNB1.unselectable="on";
	this.TNB1.style.position="absolute";
	this.TNB1.style.visibility="visible";
	this.TNB1.style.zIndex=0;
	this.TNB1.style.top=0;
	this.TNB1.style.left=7;
	this.TNB1.style.backgroundColor=MapBackgroundColor;
	this.TNB1.style.borderStyle="solid";
	this.TNB1.style.borderWidth="1px";
	this.TNB1.style.overflow="hidden";
	this.TNB1.style.borderColor="#949694";
	this.TNB1.selected=false;
	this.Q7K0Q.appendChild(this.TNB1);
	this.Wj$=document.createElement("div");
	this.Wj$.id="mapbar-overview-viewport";
	this.Wj$.unselectable="on";
	this.TNB1.appendChild(this.Wj$);
	this.rU20R=document.createElement("div");
	this.rU20R.id="mapbar-overview-viewframe";
	this.rU20R.unselectable="on";
	this.TNB1.appendChild(this.rU20R);
	this.$88=document.createElement("div");
	this.$88.id="mapbar-overview-viewpad";
	this.$88.unselectable="on";
	this.TNB1.appendChild(this.$88);
	this.$88.style.cursor="move";
	this.$88.selected=false;
	this._L$C=new Array();
	this.Lp1=0;
	this.U56i3=function(r2Q1$)
	{
		if(this.Lp1!=0)return;
		if(r2Q1$.target.id==this.$88.id||Wy7os==this.$88.id)
		{
			Wy7os=this.$88.id;
			this.$88.selected=true;
			this.T$5f=(W$kh1)?event.clientX:r2Q1$.clientX;
			this.bp4=(W$kh1)?event.clientY:r2Q1$.clientY;
			this.q12=this.T$5f;
			this.eeq=this.bp4
		}
		else if(vq55y(r2Q1$.target,this.TNB1)||Wy7os==this.TNB1.id)
		{
			Wy7os=this.TNB1.id;
			this.TNB1.selected=true;
			this.T$5f=(W$kh1)?event.clientX:r2Q1$.clientX;
			this.bp4=(W$kh1)?event.clientY:r2Q1$.clientY;
			this.q12=this.T$5f;
			this.eeq=this.bp4
		}
	};
	this.eO38=function(r2Q1$)
	{
		if(r2Q1$.target.id==this.$88.id||Wy7os==this.$88.id)
		{
			if(this.$88.selected)
			{
				var dr82H=(W$kh1)?event.clientX:r2Q1$.clientX;
				var K3H=(W$kh1)?event.clientY:r2Q1$.clientY;
				var ML03X=(dr82H-this.T$5f);
				var wYw91=(K3H-this.bp4);
				this.T$5f=dr82H;
				this.bp4=K3H;
				if(this.$88.style.top)
				{
					this.$88.style.top=parseInt(this.$88.style.top)+wYw91;
					this.$88.style.left=parseInt(this.$88.style.left)+ML03X
				}
			}
		}
		else if(vq55y(r2Q1$.target,this.TNB1)||Wy7os==this.TNB1.id)
		{
			if(this.TNB1.selected)
			{
				var dr82H=(W$kh1)?event.clientX:r2Q1$.clientX;
				var K3H=(W$kh1)?event.clientY:r2Q1$.clientY;
				var ML03X=(dr82H-this.T$5f);
				var wYw91=(K3H-this.bp4);
				this.T$5f=dr82H;
				this.bp4=K3H;
				for(var i in this.K72)
				{
					if(typeof this.K72[i]=="object"&&(this.K72[i]!=null))
					{
						this.K72[i].style.top=parseInt(this.K72[i].style.top)+wYw91;
						this.K72[i].style.left=parseInt(this.K72[i].style.left)+ML03X
					}
				}
				if(this.Wj$.style.top)
				{
					this.Wj$.style.top=parseInt(this.Wj$.style.top)+wYw91;
					this.Wj$.style.left=parseInt(this.Wj$.style.left)+ML03X;
					this.rU20R.style.top=parseInt(this.rU20R.style.top)+wYw91;
					this.rU20R.style.left=parseInt(this.rU20R.style.left)+ML03X
				}
			}
		}
	};
	this.$$9_=function(r2Q1$)
	{
		hideBubble(this.maplet);
		if(this.$88.selected)
		{
			Wy7os=null;
			this.$88.selected=false;
			var dr82H=(W$kh1)?event.clientX:r2Q1$.clientX;
			var K3H=(W$kh1)?event.clientY:r2Q1$.clientY;
			var ML03X=(dr82H-this.q12);
			var wYw91=(K3H-this.eeq);
			var r2u9=-wYw91*this._y05/this.maplet.cN3;
			var e84=ML03X*this.Fe$/this.maplet.vG$bk;
			this.MTtY=this.maplet.q2E+r2u9;
			this.Pi7f_=this.maplet.rK815+e84;
			this.Lp1=1;
			this.mm3=getTimeout(this,this.Lf9y,20)
		}
		else if(this.TNB1.selected)
		{
			Wy7os=null;
			this.TNB1.selected=false;
			var dr82H=(W$kh1)?event.clientX:r2Q1$.clientX;
			var K3H=(W$kh1)?event.clientY:r2Q1$.clientY;
			var ML03X=-(dr82H-this.q12);
			var wYw91=-(K3H-this.eeq);
			var r2u9=-wYw91*this._y05/this.maplet.cN3;
			var e84=ML03X*this.Fe$/this.maplet.vG$bk;
			this.MTtY=this.maplet.q2E+r2u9;
			this.Pi7f_=this.maplet.rK815+e84;
			this.Lp1=2;
			this.mm3=getTimeout(this,this.Lf9y,20)
		}
	};
	this.Lf9y=function()
	{
		if(this.mm3)
		{
			clearTimeout(this.mm3);
			this.mm3=null
		}
		if(!this.Wj$.style.top||!this.$88.style.top)
		{
			this.maplet.setCenter(this.MTtY,this.Pi7f_,true);
			this.Lp1=0;
			return
		}
		var wYw91=parseInt(this.$88.style.top)-parseInt(this.Wj$.style.top);
		var ML03X=parseInt(this.$88.style.left)-parseInt(this.Wj$.style.left);
		var L5Rh=Math.round(ML03X);
		var S2ay=Math.round(wYw91);
		if((Math.abs(ML03X)+Math.abs(wYw91))>=10)
		{
			var L5Rh=Math.round(ML03X*10.0/(Math.abs(ML03X)+Math.abs(wYw91)));
			var S2ay=Math.round(wYw91*10.0/(Math.abs(ML03X)+Math.abs(wYw91)))
		}
		if(this.Lp1==2)
		{
			if((Math.abs(ML03X)+Math.abs(wYw91))==0)
			{
				this.maplet.setCenter(this.MTtY,this.Pi7f_,true);
				this.Lp1=0
			}
			else
			{
				this.Wj$.style.top=parseInt(this.Wj$.style.top)+S2ay;
				this.Wj$.style.left=parseInt(this.Wj$.style.left)+L5Rh;
				this.rU20R.style.top=parseInt(this.rU20R.style.top)+S2ay;
				this.rU20R.style.left=parseInt(this.rU20R.style.left)+L5Rh;
				this.mm3=getTimeout(this,this.Lf9y,20)
			}
		}
		else if(this.Lp1==1)
		{
			L5Rh=-L5Rh;
			S2ay=-S2ay;
			if((Math.abs(ML03X)+Math.abs(wYw91))==0)
			{
				this.maplet.setCenter(this.MTtY,this.Pi7f_,true);
				this.Lp1=0
			}
			else
			{
				for(var i in this.K72)
				{
					if(typeof this.K72[i]=="object"&&(this.K72[i]!=null))
					{
						this.K72[i].style.top=parseInt(this.K72[i].style.top)+S2ay;
						this.K72[i].style.left=parseInt(this.K72[i].style.left)+L5Rh
					}
				}
				this.$88.style.top=parseInt(this.$88.style.top)+S2ay;
				this.$88.style.left=parseInt(this.$88.style.left)+L5Rh;
				this.mm3=getTimeout(this,this.Lf9y,20)
			}
		}
	};
	this.K72=new Array();
	this.Fjj09=null;
	this.y2QKV=false;
	this.mOx15=false;
	if(this.a25)
	{
		var GH_9D=(W$kh1)?0:2;
		this.Q7K0Q.style.left=parseInt(this.maplet.width)-Wt91;
		this.Q7K0Q.style.width=Wt91;
		this.Q7K0Q.style.height=$264;
		this.TNB1.style.width=Wt91-8-GH_9D;
		this.TNB1.style.height=$264-8
	}
	else
	{
		var GH_9D=(W$kh1)?0:1;
		this.Q7K0Q.style.left=parseInt(this.maplet.width)-Y4B6;
		this.Q7K0Q.style.width=Y4B6;
		this.Q7K0Q.style.height=Y4B6-GH_9D;
		this.TNB1.style.width=Y4B6-4;
		this.TNB1.style.height=Y4B6-4
	}
	this.JM95=new Array();
	this.$W7Q=function()
	{
		return parseInt(this.Q7K0Q.style.width)
	};
	this.addListener=function(d2B)
	{
		this.JM95[d2B.id]=d2B
	};
	this.removeListener=function(d2B)
	{
		this.JM95[d2B.id]=null
	};
	this.VOx15=function()
	{
		for(var _P3 in this.JM95)
		{
			if(this.JM95[_P3]&&this.JM95[_P3].onresize)
			{
				this.JM95[_P3].onresize()
			}
		}
	};
	this.vh71=function()
	{
		for(var _P3 in this.JM95)
		{
			if(this.JM95[_P3])
			{
				this.JM95[_P3]=null
			}
			this.JM95=null
		}
		for(var i in this.K72)
		{
			try
			{
				if(this.K72[i]!=null)
				{
					if(this.K72[i].parentNode!=null)
					{
						this.K72[i].parentNode.removeChild(this.K72[i])
					}
					this.K72[i].onmousedown=null;
					this.K72[i].onerror=null;
					this.K72[i].onload=null;
					this.K72[i]=null
				}
			}
			catch(r2Q1$)
			{
			}
			this.K72=null
		}
		for(var gaNF in this._L$C)
		{
			try
			{
				if(this._L$C[gaNF]!=null)
				{
					MEvent.M3E$(this.TNB1,gaNF,this._L$C[gaNF]);
					this._L$C[gaNF]=null
				}
			}
			catch(r2Q1$)
			{
			}
			this._L$C=null
		}
		this.img.ovw=null;
		this.img.onclick=null;
		this.$88.U56i3=null;
		this.$88.eO38=null;
		if(this.Q7K0Q.parentNode!=null)
		{
			this.Q7K0Q.parentNode.removeChild(this.Q7K0Q)
		}
		this.maplet=null
	};
	this.onresize=function()
	{
		if(this.a25)
		{
			this.Q7K0Q.style.left=parseInt(this.maplet.width)-Wt91
		}
		else
		{
			this.Q7K0Q.style.left=parseInt(this.maplet.width)-Y4B6
		}
		this.VOx15()
	};
	this.close=function()
	{
		if(this.y2QKV)return;
		if(this.img.src!=Xi7)this.img.src=Xi7;
		var GH_9D=(W$kh1)?0:1;
		if(this.Fjj09)clearTimeout(this.Fjj09);
		this.Fjj09=null;
		if(parseInt(this.Q7K0Q.style.width)>2*Y4B6)
		{
			this.Q7K0Q.style.left=parseInt(this.Q7K0Q.style.left)+Y4B6;
			this.Q7K0Q.style.width=parseInt(this.Q7K0Q.style.width)-Y4B6;
			this.Q7K0Q.style.height=parseInt(this.Q7K0Q.style.height)-(Y4B6-5);
			this.TNB1.style.width=parseInt(this.Q7K0Q.style.width)-Y4B6-4;
			this.TNB1.style.height=parseInt(this.Q7K0Q.style.height)-(Y4B6-5)-4;
			this.img.style.left=parseInt(this.Q7K0Q.style.width)-Y4B6-1+GH_9D;
			this.mOx15=true;
			this.Fjj09=getTimeout(this,this.close,10)
		}
		else
		{
			this.Q7K0Q.style.left=parseInt(this.maplet.width-Y4B6);
			this.Q7K0Q.style.width=Y4B6;
			this.Q7K0Q.style.height=Y4B6-GH_9D;
			this.TNB1.style.width=Y4B6-4;
			this.TNB1.style.height=Y4B6-4;
			this.img.style.left=-1;
			this.mOx15=false
		}
		this.VOx15()
	};
	this.open=function()
	{
		if(this.mOx15)return;
		var GH_9D=(W$kh1)?0:2;
		if(this.img.src!=j54)this.img.src=j54;
		if(this.Fjj09)clearTimeout(this.Fjj09);
		this.Fjj09=null;
		if(parseInt(this.Q7K0Q.style.width)<(Wt91-2*Y4B6))
		{
			this.Q7K0Q.style.left=parseInt(this.Q7K0Q.style.left)-Y4B6;
			this.Q7K0Q.style.width=parseInt(this.Q7K0Q.style.width)+Y4B6;
			this.Q7K0Q.style.height=parseInt(this.Q7K0Q.style.height)+(Y4B6-5);
			this.TNB1.style.width=parseInt(this.Q7K0Q.style.width)-4-GH_9D;
			this.TNB1.style.height=parseInt(this.Q7K0Q.style.height)-8-4;
			this.img.style.left=parseInt(this.Q7K0Q.style.width)-Y4B6-1;
			this.y2QKV=true;
			this.Fjj09=getTimeout(this,this.open,10)
		}
		else
		{
			this.Q7K0Q.style.left=parseInt(this.maplet.width)-Wt91;
			this.Q7K0Q.style.width=Wt91;
			this.Q7K0Q.style.height=$264;
			this.TNB1.style.width=Wt91-8-GH_9D;
			this.TNB1.style.height=$264-8;
			this.img.style.left=Wt91-Y4B6-1;
			this.paint();
			this.y2QKV=false
		}
		this.VOx15()
	};
	this.d06=function(OA30M)
	{
		var GH_9D=(W$kh1)?0:2;
		this.img=new Image();
		this.img.unselectable="on";
		this.img.style.position="absolute";
		this.img.style.zIndex=1;
		this.img.style.left=-1;
		this.img.width=Y4B6;
		this.img.height=Y4B6;
		this.img.ovw=this;
		this.img.style.cursor=(W$kh1)?"pointer":"hand";
		this.img.onclick=function()
		{
			if(this.ovw.a25)
			{
				this.ovw.close()
			}
			else
			{
				this.ovw.open()
			}
			this.ovw.a25=!this.ovw.a25
		};
		if(this.a25)
		{
			this.img.src=j54
		}
		else
		{
			this.img.src=Xi7
		}
		this.img.style.top=0;
		this.img.style.left=parseInt(this.Q7K0Q.style.width)-Y4B6-1;
		this.Q7K0Q.appendChild(this.img);
		OA30M.appendChild(this.Q7K0Q);
		this._L$C["mousedown"]=MEvent.bindDom(this.TNB1,"mousedown",this,this.U56i3);
		this._L$C["mousemove"]=MEvent.bindDom(this.TNB1,"mousemove",this,this.eO38);
		this._L$C["mouseup"]=MEvent.bindDom(this.TNB1,"mouseup",this,this.$$9_)
	};
	this.paint=function()
	{
		if(!this.a25)return;
		this.width=Wt91-10;
		this.height=$264-10;
		this.q2E=this.maplet.q2E;
		this.rK815=this.maplet.rK815;
		this.x541$=Math.max(Math.max(0,xX5d-2),I9m54[this.maplet.x541$]);
		this.vG$bk=this.maplet.vG$bk;
		this.cN3=this.maplet.cN3;
		this.i08=this.maplet.i08;
		if(this.W4u1!=this.maplet.W4u1)
		{
			this.W4u1=this.maplet.W4u1;
			for(var i in this.K72)
			{
				try
				{
					if(this.K72[i]!=null)
					{
						if(this.K72[i].parentNode!=null)
						{
							this.K72[i].parentNode.removeChild(this.K72[i])
						}
						this.K72[i].onmousedown=null;
						this.K72[i].onerror=null;
						this.K72[i].onload=null;
						this.K72[i]=null
					}
				}
				catch(r2Q1$)
				{
				}
			}
		}
		var w9_9$=this.W4u1;
		this.OJ6=Math.ceil((this.width)/(this.vG$bk)/2);
		this.feu47=Math.ceil((this.height)/(this.cN3)/2);
		this.Fe$=V41[this.x541$];
		this._y05=X107p[this.x541$];
		this.t4Y8=M45[this.x541$]+"/";
		this.b68a7=Math.floor((this.maplet.rK815)/this.Fe$);
		this.mABe9=Math.floor((this.maplet.q2E)/this._y05);
		if(this.b68a7<0)this.b68a7+=1;
		this.xC$9=this.width/2-Math.round(((this.rK815*XR64f)%(this.Fe$*XR64f))*this.vG$bk/(this.Fe$*XR64f));
		if(this.q2E>=0)
		{
			this.d7Y04=this.height/2-this.cN3+Math.round(((this.q2E*XR64f)%(this._y05*XR64f))*this.cN3/(this._y05*XR64f))
		}
		else
		{
			this.d7Y04=this.height/2+Math.round(((this.q2E*XR64f)%(this._y05*XR64f))*this.cN3/(this._y05*XR64f))
		}
		var l9c=U3w[this.x541$];
		this.W0a=0;
		this.$2w=0;
		this.$4t=this.width;
		this.X94=this.height;
		this.Xq09x=parseInt(this.b68a7);
		this.p7i=parseInt(this.mABe9);
		this.lsb$r=parseInt(this.b68a7);
		this.k708=parseInt(this.mABe9);
		var RB8p=(360/V41[this.x541$]);
		this.R8t=1.0;
		this.ftH=0.0;
		for(var i in this.K72)
		{
			if(this.K72[i]!=null)
			{
				this.K72[i].Jv3x9=false
			}
		}
		for(xN$6F=-this.OJ6-1;xN$6F<=this.OJ6;xN$6F++ )
		{
			for(JK4=-this.feu47-1;JK4<=this.feu47;JK4++ )
			{
				try
				{
					var ktWf=this.maplet.vGW+"mapbank/"+w9_9$+"/"+this.t4Y8;
					var R82=parseInt(this.b68a7+xN$6F);
					var l9op=parseInt(this.mABe9+JK4);
					R82=(R82)%RB8p;
					if(R82>=(RB8p/2))R82-=RB8p;
					if(R82<(-RB8p/2))R82+=RB8p;
					var kO_4Y=parseInt(Math.floor((R82)/l9c));
					var _91=parseInt(Math.floor((l9op)/l9c));
					{
						if(kO_4Y<0)kO_4Y+=1;
						if(_91<0)_91+=1
					}
					var Y7py9=(R82)-kO_4Y*l9c;
					var _SG=(l9op)-_91*l9c;
					ktWf+=kO_4Y+"_"+_91+"/";
					ktWf+=Y7py9+"_"+_SG+"."+this.i08;
					var e0nng=(xN$6F*this.vG$bk)+parseInt(this.xC$9);
					var G00=(-(JK4*this.cN3)+parseInt(this.d7Y04));
					var $189K=G00;
					if(this.W4u1!="aerial"&&this.W4u1.indexOf("aerial")<0)
					{
						G00=G00+k8$q[this.x541$]
					}
					if(e0nng<-this.vG$bk||e0nng>this.width||G00>this.height||G00<-this.cN3)continue;
					if(this.W0a<(e0nng+this.vG$bk))
					{
						this.W0a=(e0nng+this.vG$bk);
						this.Xq09x=parseInt(this.b68a7)+parseInt(xN$6F)
					}
					if(this.$2w<(G00+this.cN3))
					{
						this.$2w=(G00+this.cN3);
						this.k708=parseInt(this.mABe9)+parseInt(JK4)
					}
					if(this.$4t>e0nng)
					{
						this.$4t=e0nng;
						this.lsb$r=parseInt(this.b68a7)+parseInt(xN$6F)
					}
					if(this.X94>G00)
					{
						this.X94=G00;
						this.p7i=parseInt(this.mABe9)+parseInt(JK4)
					}
					var a2H="__ov_"+((this.x541$).toString(16)+(this.b68a7+xN$6F).toString(16)+'l'+(this.mABe9+JK4).toString(16)).toLowerCase();
					if(ktWf&&ktWf.indexOf("NaN")<0)
					{
						if(this.K72[a2H]==null)
						{
							this.K72[a2H]=new Image();
							this.K72[a2H].id=a2H;
							this.K72[a2H].name=a2H;
							this.K72[a2H].ntry="0";
							this.K72[a2H].unselectable="on";
							this.K72[a2H].style.position="absolute";
							this.K72[a2H].onmousedown=function()
							{
								return false
							};
							this.K72[a2H].src=ktWf
						}
						var n491=(e0nng+this.vG$bk/2-this.width/2)*this.R8t-(G00+this.cN3/2-this.height/2)*this.ftH+this.width/2;
						var r4FX6=(e0nng+this.vG$bk/2-this.width/2)*this.ftH+(G00+this.cN3/2-this.height/2)*this.R8t+this.height/2;
						this.K72[a2H].style.top=parseInt(r4FX6-this.cN3/2);
						this.K72[a2H].style.left=parseInt(n491-this.vG$bk/2);
						this.K72[a2H].Jv3x9=true
					}
					ktWf=null;
					a2H=null
				}
				catch(r2Q1$)
				{
				}
			}
		}
		for(var i in this.K72)
		{
			try
			{
				if(this.K72[i]!=null)
				{
					if(this.K72[i].Jv3x9==true)
					{
						if(this.K72[i].parentNode!=this.TNB1)
						{
							this.TNB1.appendChild(this.K72[i])
						}
					}
					else
					{
						if(this.K72[i].parentNode!=null)
						{
							this.K72[i].parentNode.removeChild(this.K72[i])
						}
						this.K72[i].onmousedown=null;
						this.K72[i].onerror=null;
						this.K72[i].onload=null;
						this.K72[i]=null
					}
				}
			}
			catch(r2Q1$)
			{
			}
		}
		var cJtd=parseInt(this.maplet.width*this.maplet.Fe$/this.Fe$);
		var C28u=parseInt(this.maplet.height*this.maplet._y05/this._y05);
		if(cJtd>this.width&&C28u>this.height)
		{
			this.Wj$.style.visibility="hidden";
			this.rU20R.style.visibility="hidden";
			this.$88.style.visibility="hidden"
		}
		else
		{
			this.Wj$.style.left=parseInt(this.width-cJtd)/2;
			this.Wj$.style.top=parseInt(this.height-C28u)/2;
			this.Wj$.style.width=cJtd;
			this.Wj$.style.height=C28u;
			this.Wj$.style.visibility="visible";
			this.rU20R.style.left=parseInt(this.width-cJtd)/2;
			this.rU20R.style.top=parseInt(this.height-C28u)/2;
			this.rU20R.style.width=cJtd;
			this.rU20R.style.height=C28u;
			this.rU20R.style.visibility="visible";
			this.$88.style.left=parseInt(this.width-cJtd)/2;
			this.$88.style.top=parseInt(this.height-C28u)/2;
			this.$88.style.width=cJtd;
			this.$88.style.height=C28u;
			this.$88.style.visibility="visible"
		}
	}
};
var bpp=new Array(strImgsvrUrl+"mapbank/base/",12,13);
function Maplet(q2E,rK815,O32l,Yp3C7,yA0,Y9bs,r7N66,n2h,$v0)
{
	this.T$5f=0;
	this.bp4=0;
	this.dr82H=0;
	this.K3H=0;
	this.uk87=0;
	this.$106=0;
	this.offsetX=0;
	this.offsetY=0;
	this.vG$bk=300;
	this.cN3=300;
	this.F26=f$r7O.rR6w;
	this.id="mapbar";
	this.mJW00=((new Date().getTime())%86400000).toString(36)+(parseInt(Math.random()*1000)).toString(36);
	if(typeof strRemoteIP!="undefined"&&strRemoteIP)
	{
		this.mJW00+="*"+strRemoteIP
	}
	document["mapbar-maplet"]=this;
	this.left=(Y9bs=="undefined")?0:parseInt(Y9bs);
	this.top=(r7N66=="undefined")?0:parseInt(r7N66);
	this.width=(Yp3C7=="undefined")?600:parseInt(Yp3C7);
	this.height=(yA0=="undefined")?400:parseInt(yA0);
	if(isNaN(parseFloat(q2E)))
	{
		this.id=q2E;
		var d2B=q2E;
		this.Q7K0Q=(typeof d2B=="object")?d2B:document.getElementById(d2B);
		if(rK815!=null&&rK815!="undefined")
		{
			var k39=a2Iv.p5DG(rK815);
			this.q2E=Math.min(S_t86[1],Math.max(S_t86[0],parseFloat(k39[1])));
			this.rK815=Math.min(Hye[1],Math.max(Hye[0],parseFloat(k39[0])%360));
			k39=null
		}
		if(typeof this.Q7K0Q!="undefined"&&this.Q7K0Q!=null)
		{
			this.left=0;
			this.top=0;
			if(this.Q7K0Q.style.left)this.left=parseInt(this.Q7K0Q.style.left);
			if(this.Q7K0Q.style.top)this.top=parseInt(this.Q7K0Q.style.top);
			if(this.Q7K0Q.style.width)this.width=parseInt(this.Q7K0Q.style.width);
			if(this.Q7K0Q.style.height)this.height=parseInt(this.Q7K0Q.style.height)
		}
	}
	else
	{
		this.rK815=rK815;
		this.q2E=q2E
	}
	this.vGW=strImgsvrUrl;
	this.x541$=(typeof O32l=="undefined")?0:parseInt(O32l);
	this.OTMk=0;
	this._BBv1=0;
	this.rotation=0;
	this.R8t=Math.cos(this.rotation/180*Math.PI);
	this.ftH=Math.sin(this.rotation/180*Math.PI);
	this.n2h=(n2h=="undefined")?"":n2h;
	this.K72=new Array();
	this.sNRc6=new Array();
	this.W4u1=(typeof $v0=="undefined"||$v0==null)?ds:$v0;
	this.$nd=null;
	this.P42='';
	this.i08="png";
	this.p51=this.W4u1;
	this.H8A=null;
	this.bp=true;
	this.t08=false;
	this.Lx916=true;
	this.V7t=true;
	this.a862=null;
	this.vpS4=(typeof bDefaultControlOn=="undefined")?true:bDefaultControlOn;
	this.au4=false;
	this.OJ6=Math.ceil((this.width)/(this.vG$bk)/2);
	this.feu47=Math.ceil((this.height)/(this.cN3)/2);
	this._J8=new Array();
	this.tm286=new Array();
	this.t6o9=new Array();
	this.$0Sb=null;
	this.K72=new Array();
	this.p$1=new Array();
	this.b1t=null;
	this.HvyM=null;
	this._25=null;
	this.k07=null;
	this.u3Hr5=null;
	this.M2a7=new MBrush("#FF0000",2);
	this.VNQp=0;
	this.l1N0=false;
	this.XEI5=null;
	this.c609=new Image();
	this.Gib3=new T4Gr(0,0,0,0);
	this.C238=false;
	this.W13=false;
	this.N5519=true;
	this.Q5J8=false;
	this.GO2=new Array();
	this.M8L_=new Array();
	this.N6P=this.F26;
	this._736=false;
	this.CBg=false;
	this.V3O$==null;
	this.F$5CB=0;
	this.raJbM=1.0;
	this.ovw=new M79Y(this);
	this.FPOG=new R2Q25(this);
	if(hbo)this.FPOG.start();
	this.S2g6V=new Array();
	if(typeof this.Q7K0Q=="undefined"||this.Q7K0Q==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.Q7K0Q=_8N0a(this.id)
	}
	else
	{
		this.Q7K0Q.style.overflow="hidden"
	}
	this.map=this.Q7K0Q;
	if(this.map)
	{
		this.map.innerHTML=X34_9;
		this.map.style.backgroundImage="url("+$k4j+")"
	}
	CQ$(this);
	this.toString=function()
	{
		return "com.mapbar.maplet.Maplet"
	};
	this.J5m5=function(vJ37)
	{
		this.l1N0=(vJ37)?true:false
	};
	this.moveTo=function(left,top)
	{
		this.top=top;
		this.left=left;
		this.Q7K0Q.style.top=top;
		this.Q7K0Q.style.left=left
	};
	this.resize=function(Yp3C7,yA0)
	{
		Yp3C7=parseInt(Yp3C7);
		yA0=parseInt(yA0);
		this.hideBubble();
		this.width=Yp3C7;
		this.height=yA0;
		CQ$(this);
		this.OJ6=Math.ceil((this.width)/(this.vG$bk)/2);
		this.feu47=Math.ceil((this.height)/(this.cN3)/2);
		this.Q7K0Q.style.width=Yp3C7;
		this.Q7K0Q.style.height=yA0;
		this.Q7K0Q.style.clip='rect(0 '+this.width+' '+this.height+' 0)';
		this.q80.resize(Yp3C7,yA0);
		this.Qy1pJ.resize(Yp3C7,yA0);
		this.H$N6.resize(Yp3C7,yA0);
		if(this.t08)
		{
			this.sOl9().resize(yA0);
			this.sOl9().moveTo(this.width-16,0)
		}
		if(this.V7t)this.GGy.moveTo(0,this.height-24);
		if(this.Lx916)this.Vt4t8.moveTo(this.width-97-15,this.height-23);
		var GH_9D=(W$kh1)?0:2;
		this.X71v.resize(Yp3C7-GH_9D,yA0-GH_9D);
		this.$Wr.resize(this.width,0);
		this.V946.resize(this.width,0);
		this.I_L6r.resize(0,this.height);
		this.i8lc.resize(0,this.height);
		this.i8lc.moveTo(this.width-1,0);
		this.V946.moveTo(0,this.height-3+GH_9D);
		this.BrB.resize(Yp3C7,yA0);
		this.setZoomLevel(this.x541$);
		for(var _P3 in this.GO2)
		{
			if(this.GO2[_P3]&&this.GO2[_P3].onresize)
			{
				this.GO2[_P3].onresize(this)
			}
		}
		this.ovw.onresize()
	};
	this.sOl9=function()
	{
		if(!this.t08)return null;
		if(this.V44==null)
		{
			this.V44=new $77(this,-1,this.width-16,0,16,this.height,this.t08,this.Q7K0Q)
		}
		return this.V44
	};
	this.centerAndZoom=function(pt,O32l)
	{
		this.setCenter(pt,"",false);
		if(typeof this.q80=="undefined")
		{
			this.x541$=this.setZoomLevel(O32l,false);
			this.showMap()
		}
		else
		{
			this.setZoomLevel(O32l)
		}
	};
	this.showMap=function()
	{
		if(MapBackgroundColor)this.Q7K0Q.style.backgroundColor=MapBackgroundColor;
		this.q2I=new l77("MapContainerBg",0,0,this.width,this.height,true,0,'',this.Q7K0Q);
		this.q80=new l77("MapContainer",0,0,this.width,this.height,true,2,'',this.Q7K0Q);
		this.n1$=new l77("ToolTip",0,0,0,0,false,24,'',this.q80);
		this.Qy1pJ=new l77("LayerMap",0,0,this.width,this.height,true,2,'',this.q80);
		this.H$N6=new l77("LayerPoiMap",0,0,this.width,this.height,true,3,'',this.q80);
		this.sOl9();
		if(this.vpS4)
		{
			var $L7p=new MStandardControl();
			this.addControl($L7p);
			this.D6e4=$L7p.fUA
		}
		{
			this.GGy=new l77("LayerScale",1,this.height-24,100,24,this.V7t,3,'',this.Q7K0Q)
		}
		{
			var rightMargin=(this.t08)?15:0;
			this.Vt4t8=new l77("LayerLogo",this.width-97-rightMargin,this.height-23,97,23,this.Lx916,3,'',this.Q7K0Q);
			this.Vt4t8.style.cursor=(W$kh1)?'hand':'pointer'
		}
		var content='<table bordercolor="#4444EE" border="2" width="100%" height="100%"><tr><td></td></tr></table>';
		this.k70U=new l77("LayerBorder",1,1,1,1,false,6,content,this.Q7K0Q);
		var GH_9D=(W$kh1)?0:2;
		this.X71v=new l77("LayerMask",0,0,this.width-GH_9D,this.height-GH_9D,true,2,'',this.q80);
		this.X71v.style.backgroundImage="url("+strImgsvrUrl+"images/mask.gif)";
		this.$Wr=new l77("mapbar-bordertop",0,0,this.width,0,true,6,'',this.Q7K0Q);
		this.I_L6r=new l77("mapbar-borderlft",0,0,0,this.height,true,6,'',this.Q7K0Q);
		this.V946=new l77("mapbar-borderbtm",0,this.height-3+GH_9D,this.width,0,true,6,'',this.Q7K0Q);
		this.i8lc=new l77("mapbar-borderrgt",this.width-1,0,0,this.height,true,6,'',this.Q7K0Q);
		this.BrB=new l77("LayerDrawMap",0,0,this.width,this.height,true,4,'',this.q80);
		this.BrB.style.backgroundImage="url("+strImgsvrUrl+"images/mask.gif)";
		this.ovw.d06(this.Q7K0Q);
		{
			MEvent.bindDom(this.map,"mousemove",this,this.F42);
			MEvent.bindDom(this.map,"mousedown",this,this.g8V);
			MEvent.bindDom(this.map,"mouseup",this,this.W_L);
			MEvent.bindDom(this.map,"click",this,this.a2S$);
			MEvent.bindDom(this.map,"dblclick",this,this.l6f);
			MEvent.bindDom(this.map,"mouseout",this,this.$82);
			MEvent.bindDom(this.map,"drag",this,this.F42);
			MEvent.bindDom(this.map,"dragstart",this,this.F42);
			MEvent.bindDom(this.map,"dragend",this,this.F42);
			MEvent.bindDom(this.map,"mouseover",this,this.BMM8_);
			if(mw)MEvent.bindDom(this.map,"mousewheel",this,this.sKm8);
			if(kp)MEvent.bindDom(document,"keydown",this,this.onkeydown)
		}
		this.q7y();
		this.setZoomLevel(this.x541$);
		this.setMode(this.F26);
		if(this.V3O$==null)
		{
			this.V3O$=setInterval("document['mapbar-maplet'].li34()",100)
		}
	};
	this.q7y=function()
	{
		this.k70U.hide();
		this.k70U.resize(1,1);
		this.k70U.moveTo(-10,-10);
		if(document.all)
		{
			this.Qy1pJ.moveTo(0,0);
			this.Qy1pJ.show();
			this.H$N6.moveTo(0,0);
			this.H$N6.show();
			this.BrB.moveTo(0,0);
			this.BrB.show();
			this.X71v.moveTo(0,0);
			this.X71v.show()
		}
	};
	this.setStyle=function(odmt,o879)
	{
		if(this.W4u1!=odmt)
		{
			this.W4u1=odmt;
			if("aerial"==this.W4u1||this.W4u1.indexOf("aerial")>=0)
			{
				this.i08="jpg"
			}
			else
			{
				this.i08="png"
			}
			if(typeof o879!="undefined")
			{
				this.i08=o879
			}
			if(typeof this.q80!="undefined")
			{
				for(var i in this.K72)
				{
					try
					{
						if(this.K72[i]!=null&&typeof this.K72[i]=="object")
						{
							if(this.K72[i].parentNode!=null)
							{
								this.K72[i].parentNode.removeChild(this.K72[i])
							}
							this.K72[i]=null
						}
					}
					catch(r2Q1$)
					{
					}
				}
				if(!W$kh1)
				{
					this.Qy1pJ.graphics.clear();
					this.H$N6.graphics.clear();
					this.BrB.graphics.clear();
					this.X71v.graphics.clear()
				}
				this.refresh();
				MEvent.M7R6(this,"style",odmt)
			}
		}
	};
	this.setRotation=function(taL)
	{
		if(W$kh1&&rs)
		{
			this.rotation=taL;
			this.R8t=Math.cos(this.rotation/180*Math.PI);
			this.ftH=Math.sin(this.rotation/180*Math.PI)
		}
	};
	this.setHeadMode=function(yp7L8)
	{
		this.OTMk=yp7L8
	};
	this.setOverlay=function(kUKB,h2192)
	{
		if(typeof h2192=="string")
		{
			this.P42=h2192
		}
		if(this.$nd!=kUKB)
		{
			this.$nd=kUKB
		}
		if(typeof this.q80!="undefined")
		{
			this.refresh()
		}
	};
	if(bp==true)
	{
		this.setOverlay('base')
	}
	this.getZoomLevel=function()
	{
		return this.x541$
	};
	this.setZoomLevel=function(O32l,$se)
	{
		O32l=parseInt(O32l);
		if(O32l<xX5d)
		{
			O32l=xX5d
		}
		if(O32l>LpD)
		{
			O32l=LpD
		}
		if($se==false)return O32l;
		if(this.x541$!=O32l&&O32l>3)
		{
			MEvent.M7R6(this,"zoom","&act=zoom&zm="+O32l);
			if(iToolTipStyle==0)hideToolTipMenu();
			this.hideBubble();
			if(!W$kh1)
			{
				this.Qy1pJ.graphics.clear();
				this.H$N6.graphics.clear();
				this.BrB.graphics.clear();
				this.X71v.graphics.clear()
			}
			else
			{
				this.q2I.S6Ys.style.zoom=this.q80.S6Ys.style.zoom;
				this.q2I.S6Ys.style.left=this.q80.S6Ys.style.left;
				this.q2I.S6Ys.style.top=this.q80.S6Ys.style.top;
				this.q2I.S6Ys.style.visibility="visible";
				for(var i in this.K72)
				{
					if(this.K72[i]!=null&&typeof this.K72[i]=="object")
					{
						if(this.K72[i].parentNode!=null)
						{
							this.K72[i].parentNode.removeChild(this.K72[i]);
							this.q2I.S6Ys.appendChild(this.K72[i])
						}
					}
				}
			}
		}
		else
		{
			if(!W$kh1)
			{
				this.Qy1pJ.graphics.clear();
				this.H$N6.graphics.clear();
				this.BrB.graphics.clear();
				this.X71v.graphics.clear()
			}
			this.u3Q7()
		}
		if(this.D6e4!=null)
		{
			this.D6e4.Q4Wq0(O32l)
		}
		if(this.GO2!=null)
		{
			for(var mE8 in this.GO2)
			{
				if(this.GO2[mE8].fUA)this.GO2[mE8].fUA.D6e4.S6Ys.Q4Wq0(O32l)
			}
		}
		if(this.t08)this.sOl9().setZoomLevel(O32l);
		this.x541$=O32l;
		this.Fe$=V41[this.x541$];
		this._y05=X107p[this.x541$];
		this.t4Y8=M45[this.x541$]+"/";
		{
			this.b68a7=Math.floor((this.rK815)/this.Fe$);
			this.mABe9=Math.floor((this.q2E)/this._y05);
			if(this.b68a7<0)this.b68a7+=1;
			this.xC$9=this.width/2-Math.round(((this.rK815*XR64f)%(this.Fe$*XR64f))*this.vG$bk/(this.Fe$*XR64f));
			if(this.q2E>=0)
			{
				this.d7Y04=this.height/2-this.cN3+Math.round(((this.q2E*XR64f)%(this._y05*XR64f))*this.cN3/(this._y05*XR64f))
			}
			else
			{
				this.d7Y04=this.height/2+Math.round(((this.q2E*XR64f)%(this._y05*XR64f))*this.cN3/(this._y05*XR64f))
			}
		}
		this.CF366();
		this.refresh()
	};
	this.CF366=function()
	{
		var u6d=V41[this.x541$]*this.width/this.vG$bk;
		this.Gib3.f198=(this.rK815-u6d/2);
		this.Gib3.N6q0=(this.rK815+u6d/2);
		var qj859=X107p[this.x541$]*this.height/this.cN3;
		this.Gib3.so7=(this.q2E-qj859/2);
		this.Gib3.FV85=(this.q2E+qj859/2)
	};
	this.refresh=function()
	{
		this.u9910();
		this.n8Rn()
	};
	this.u9910=function()
	{
		if(this.W13==true)
		{
			return
		}
		if(this._736==true)
		{
			return
		}
		this.W13=true;
		this._736=true;
		k564K=0;
		var rL24s=new Date().getTime();
		if(this.bp==false||this.bp=="false")
		{
			if(!W$kh1)this.H$N6.graphics.clear()
		}
		this.q80.moveTo(0,0);
		this.H$N6.moveTo(0,0);
		this.BrB.moveTo(0,0);
		this.X71v.moveTo(0,0);
		if(W$kh1)
		{
			this.BrB.clear();
			this.H$N6.clean()
		}
		else
		{
			this.BrB.graphics.clear();
			this.Qy1pJ.graphics.clear();
			this.X71v.graphics.clear()
		}
		this.q80.S6Ys.style.zoom=1;
		var l7UK5='';
		var e32='';
		for(var i in this.K72)
		{
			if(this.K72[i]!=null)
			{
				this.K72[i].Jv3x9=false
			}
		}
		var H3P53=0;
		var w9_9$=this.W4u1;
		var _hVIa=(this.$nd=="undefined"||this.$nd==null)?"poi":this.$nd;
		var l9c=U3w[this.x541$];
		this.W0a=0;
		this.$2w=0;
		this.$4t=this.width;
		this.X94=this.height;
		this.Xq09x=parseInt(this.b68a7);
		this.p7i=parseInt(this.mABe9);
		this.lsb$r=parseInt(this.b68a7);
		this.k708=parseInt(this.mABe9);
		var vxK5=new Array();
		var P_E4=new Array();
		var RB8p=(360/V41[this.x541$]);
		for(xN$6F=-this.OJ6-1;xN$6F<=this.OJ6;xN$6F++ )
		{
			for(JK4=-this.feu47-1;JK4<=this.feu47;JK4++ )
			{
				try
				{
					var ktWf=this.vGW+"mapbank/"+w9_9$+"/"+this.t4Y8;
					var b8KNN=this.vGW+"mapbank/"+_hVIa+"/"+this.t4Y8;
					var r53=this.vGW+"mapbank/base/"+this.t4Y8;
					var R82=parseInt(this.b68a7+xN$6F);
					var l9op=parseInt(this.mABe9+JK4);
					R82=(R82)%RB8p;
					if(R82>=(RB8p/2))R82-=RB8p;
					if(R82<(-RB8p/2))R82+=RB8p;
					var kO_4Y=parseInt(Math.floor((R82)/l9c));
					var _91=parseInt(Math.floor((l9op)/l9c));
					{
						if(kO_4Y<0)kO_4Y+=1;
						if(_91<0)_91+=1
					}
					var Y7py9=(R82)-kO_4Y*l9c;
					var _SG=(l9op)-_91*l9c;
					b8KNN+=kO_4Y+"_"+_91+"/";
					r53+=kO_4Y+"_"+_91+"/";
					ktWf+=kO_4Y+"_"+_91+"/";
					b8KNN+=Y7py9+"_"+_SG+".png";
					r53+=Y7py9+"_"+_SG+".js";
					ktWf+=Y7py9+"_"+_SG+"."+this.i08;
					var e0nng=(xN$6F*this.vG$bk)+parseInt(this.xC$9);
					var G00=(-(JK4*this.cN3)+parseInt(this.d7Y04));
					var $189K=G00;
					if(this.W4u1!="aerial"&&this.W4u1.indexOf("aerial")<0)
					{
						G00=G00+k8$q[this.x541$]
					}
					if(e0nng<-this.vG$bk||e0nng>this.width||G00>this.height||G00<-this.cN3)continue;
					if(this.W0a<(e0nng+this.vG$bk))
					{
						this.W0a=(e0nng+this.vG$bk);
						this.Xq09x=parseInt(this.b68a7)+parseInt(xN$6F)
					}
					if(this.$2w<(G00+this.cN3))
					{
						this.$2w=(G00+this.cN3);
						this.k708=parseInt(this.mABe9)+parseInt(JK4)
					}
					if(this.$4t>e0nng)
					{
						this.$4t=e0nng;
						this.lsb$r=parseInt(this.b68a7)+parseInt(xN$6F)
					}
					if(this.X94>G00)
					{
						this.X94=G00;
						this.p7i=parseInt(this.mABe9)+parseInt(JK4)
					}
					var a2H=((this.x541$).toString(16)+(this.b68a7+xN$6F).toString(16)+'l'+(this.mABe9+JK4).toString(16)).toLowerCase();
					if(H3P53==0)
					{
						H3P53=1
					}
					if(ktWf&&ktWf.indexOf("NaN")<0)
					{
						if(this.K72[a2H]==null)
						{
							if(!rs||!W$kh1)
							{
								this.K72[a2H]=new Image();
								this.K72[a2H].id=a2H;
								this.K72[a2H].name=a2H;
								this.K72[a2H].ntry="0";
								this.K72[a2H].unselectable="on";
								this.K72[a2H].style.position="absolute";
								P47.FA8(this.K72[a2H],ktWf)
							}
							else
							{
								this.K72[a2H]=document.createElement("v:Image");
								this.K72[a2H].id=a2H;
								this.K72[a2H].name=a2H;
								this.K72[a2H].ntry="0";
								this.K72[a2H].unselectable="on";
								this.K72[a2H].style.position="absolute";
								this.K72[a2H].o9bC="f";
								this.K72[a2H].style.rotation=this.rotation;
								this.K72[a2H].style.width=this.vG$bk;
								this.K72[a2H].style.height=this.cN3;
								P47.FA8(this.K72[a2H],ktWf)
							}
						}
						else
						{
							if(W$kh1&&rs)
							{
								this.K72[a2H].style.rotation=this.rotation
							}
						}
						var n491=(e0nng+this.vG$bk/2-this.width/2)*this.R8t-(G00+this.cN3/2-this.height/2)*this.ftH+this.width/2;
						var r4FX6=(e0nng+this.vG$bk/2-this.width/2)*this.ftH+(G00+this.cN3/2-this.height/2)*this.R8t+this.height/2;
						this.K72[a2H].style.top=parseInt(r4FX6-this.cN3/2);
						this.K72[a2H].style.left=parseInt(n491-this.vG$bk/2);
						this.K72[a2H].Jv3x9=true
					}
					if(this.$nd!=null&&this.$nd!="undefined"&&b8KNN&&b8KNN.indexOf("NaN")<0)
					{
						if(true||W$kh1)
						{
							e32+='<div unselectable="on" id=o'+a2H+' name='+a2H+' STYLE="position:absolute;width:0;height:0;top:'+$189K+';left:'+e0nng+';" ></div>'
						}
						else
						{
							e32+='<img id=o'+a2H+' name='+a2H+' src="'+b8KNN+'" ntry="0" unselectable=on onerror="javascript:imageTileError(this);" onload="javascript:imageTileOk(this);" style="position:absolute;top:'+G00+';left:'+e0nng+';">'
						}
						vxK5[vxK5.length]='o'+a2H;
						P_E4[P_E4.length]=kO_4Y+"_"+_91+"/";
					}
					if(bp==true)
					{
					}
					ktWf=null;
					b8KNN=null
				}
				catch(r2Q1$)
				{
				}
			}
		}
		for(var i in this.K72)
		{
			try
			{
				if(this.K72[i]!=null&&typeof this.K72[i]=="object")
				{
					if(this.K72[i].Jv3x9==true||this.K72[i].Jv3x9=="true")
					{
						if(this.K72[i].parentNode!=this.Qy1pJ.S6Ys)
						{
							if(this.K72[i].parentNode!=null)
							{
								this.K72[i].parentNode.removeChild(this.K72[i])
							}
							this.Qy1pJ.S6Ys.appendChild(this.K72[i])
						}
					}
					else
					{
					}
				}
			}
			catch(r2Q1$)
			{
			}
		}
		this.BrB.S6Ys.innerHTML=e32;
		l7UK5=null;
		e32=null;
		if(this.Qy1pJ.S6Ys.parentNode!=this.q80.S6Ys)
		{
			this.q80.S6Ys.appendChild(this.Qy1pJ.S6Ys)
		}
		if(this.H$N6.S6Ys.parentNode!=this.q80.S6Ys)
		{
			this.q80.S6Ys.appendChild(this.H$N6.S6Ys)
		}
		if(this.l1N0==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].w0gN1()
		}
		if(this.tm286.length>0)
		{
			for(k6erG=0;k6erG<this.tm286.length;k6erG++)
			{
				if(W$kh1)
				{
					this.tm286[k6erG].paint(this.BrB.S6Ys)
				}
				else
				{
					this.tm286[k6erG].rW7(this.BrB.graphics)
				}
			}
		}
		if(this.k07!=null)
		{
			if(W$kh1)
			{
				this.k07.paint(this.BrB.S6Ys);
				this.u3Hr5.paint(this.BrB.S6Ys)
			}
			else
			{
				this.k07.rW7(this.BrB.graphics);
				this.u3Hr5.rW7(this.BrB.graphics)
			}
		}
		var $605=new Date().getTime();
		{
			if(this._J8.length>0)
			{
				for(k6erG=0;k6erG<this._J8.length;k6erG++)
				{
					this._J8[k6erG].LFn1(this.H$N6.S6Ys);
					this._J8[k6erG].paint(this.BrB.S6Ys)
				}
			}
		}
		var aEb=new Date().getTime();
		if(this.t6o9.length>0)
		{
			if(!W$kh1)this.t6o9[this.t6o9.length-1].label(this.BrB.graphics)
		}
		else
		{
			if(iToolTipStyle==0)hideToolTipMenu()
		}
		if(this.BrB.S6Ys.parentNode!=this.q80.S6Ys)
		{
			this.q80.S6Ys.appendChild(this.BrB.S6Ys)
		}
		if(!W$kh1)
		{
			this.Qy1pJ.graphics.paint();
			this.H$N6.graphics.paint();
			this.X71v.graphics.paint();
			this.BrB.graphics.paint()
		}
		var aDi0=new Date().getTime();
		if(this.p$1.length>0)
		{
			this.HvyM=null;
			this._25=null;
			this.b1t=null;
			for(k6erG=0;k6erG<this.p$1.length;k6erG++)
			{
				if(this.x541$>=this.p$1[k6erG].a0S&&this.x541$<=this.p$1[k6erG].d2EcM)
				{
					var yj6cq=this.K13Y7(this.p$1[k6erG].e84,this.p$1[k6erG].r2u9);
					var WtL=this.Aa5jA(this.p$1[k6erG].r2u9,this.p$1[k6erG].e84);
					if(yj6cq>=0&&yj6cq<=this.width&&WtL>=0&&WtL<=this.height)
					{
						if(this.HvyM==null)
						{
							this.HvyM=new Array();
							this._25=new Array();
							this.b1t=new Array()
						}
						this.HvyM[this.HvyM.length]=yj6cq;
						this._25[this._25.length]=WtL;
						this.b1t[this.b1t.length]=k6erG
					}
				}
			}
		}
		if(!this.C238)
		{
			this.C238=true
		}
		for(var i256=0;i256<this.sNRc6.length;i256++)
		{
			try
			{
				this.sNRc6[i256].e1CK2();
				this.sNRc6[i256]=null
			}
			catch(BGD5)
			{
			}
		}
		this.sNRc6.length=0;
		if(this.$nd!=null&&this.$nd!="undefined")
		{
			if(this.$nd=="base")
			{
				if(this.x541$>=parseInt(bpp[1])&&this.x541$<=parseInt(bpp[2]))
				{
					var i=0;
					for(var $lq in vxK5)
					{
						try
						{
							if(typeof vxK5[$lq]=="string")
							{
								var o3W=new WHn6(bpp[0]+M45[this.x541$]+"/"+P_E4[$lq]+vxK5[$lq]+".png");
								o3W.v69();
								o3W.YBJ();
								this.sNRc6[this.sNRc6.length]=o3W;
								o3W=null;
								i++
							}
						}
						catch(BGD5)
						{
							alert(BGD5)
						}
						vxK5[$lq]=null;
						P_E4[$lq]=null
					}
				}
				else
				{
					for(var $lq in vxK5)
					{
						try
						{
							if(typeof vxK5[$lq]=="string")
							{
								document.getElementById(vxK5[$lq]).parentNode.removeChild(document.getElementById(vxK5[$lq]))
							}
						}
						catch(BGD5)
						{
						}
						vxK5[$lq]=null;
						P_E4[$lq]=null
					}
				}
			}
			else
			{
				var CSIp=parseInt(new Date().getTime()/60000);
				for(var $lq in vxK5)
				{
					try
					{
						if(typeof vxK5[$lq]=="string")
						{
							XMLHttp.sendReq('GET','maplite/'+this.$nd+'.jsp?'+this.P42+'&oid='+vxK5[$lq]+'&epoch='+CSIp,'',__98,vxK5[$lq])
						}
					}
					catch(BGD5)
					{
					}
					vxK5[$lq]=null;
					P_E4[$lq]=null
				}
			}
			vxK5.length=0;
			vxK5=null;
			P_E4.length=0;
			P_E4=null
		}
		this.W13=false;
		this._736=false;
		for(var $Kp in this.M8L_)
		{
			if(this.M8L_[$Kp]&&this.M8L_[$Kp].paint)
			{
				this.M8L_[$Kp].paint()
			}
		}
		if(this.ovw)this.ovw.paint();
		a2Iv.r2u9=this.q2E;
		a2Iv.e84=this.rK815;
		var XB60a=a2Iv.O1a();
		this.YGR=XB60a+"@"+this.x541$;
		this.n06();
		MEvent.M7R6(this,"update",this.YGR)
	};
	this.eb8=null;
	this.n06=function()
	{
		if(this.eb8!=null)
		{
			clearTimeout(this.eb8);
			this.eb8=null
		}
		if(this.W13||this._736||P47.B6N92.length>0)
		{
			this.eb8=getTimeout(this,this.n06,100);
			return
		}
		this.u3Q7()
	};
	this.u3Q7=function()
	{
		var D0hn=0;
		for(var i in this.K72)
		{
			try
			{
				if(this.K72[i]!=null&&typeof this.K72[i]=="object")
				{
					if(this.K72[i].Jv3x9==true)
					{
					}
					else
					{
						if(this.K72[i].parentNode!=null)
						{
							this.K72[i].parentNode.removeChild(this.K72[i])
						}
						this.K72[i].onerror=null;
						this.K72[i].onload=null;
						this.K72[i]=null;
						D0hn ++
					}
				}
			}
			catch(r2Q1$)
			{
			}
		}
		this.q2I.S6Ys.style.zoom=1;
		this.q2I.S6Ys.style.left=0;
		this.q2I.S6Ys.style.top=0;
		this.q2I.S6Ys.style.visibility="hidden"
	};
	MEvent.bind(P47,"clean",this,this.n06);
	this.li34=function()
	{
		if(this._736==true||this.W13==true)return;
		var HYnu=parseInt(this.q80.style.left);
		var Y2AL6=parseInt(this.q80.style.top);
		if((HYnu+this.$4t)>=0||(HYnu+this.W0a-this.width)<=0||(Y2AL6+this.X94)>=0||(Y2AL6+this.$2w-this.height)<=0)
		{
			this._736=true;
			this.cH41()
		}
	};
	this.cH41=function()
	{
		if(this._736==false)return;
		var HYnu=parseInt(this.q80.style.left);
		var Y2AL6=parseInt(this.q80.style.top);
		if((HYnu+this.$4t)>=0||(HYnu+this.W0a-this.width)<=0)
		{
			if(this.W13==true)return;
			this.W13=true;
			try
			{
				var R82=0;
				var e0nng=0;
				if((HYnu+this.$4t)>=0)
				{
					this.lsb$r--;
					this.$4t-=parseInt(this.vG$bk);
					R82=this.lsb$r;
					e0nng=this.$4t
				}
				if((HYnu+this.W0a-this.width)<=0)
				{
					this.Xq09x++;
					e0nng=this.W0a;
					this.W0a+=parseInt(this.vG$bk);
					R82=this.Xq09x
				}
				var xN$6F=R82;
				var l9c=U3w[this.x541$];
				var RB8p=parseInt(360/V41[this.x541$]);
				R82=(R82)%RB8p;
				if(R82>=(RB8p/2))R82-=RB8p;
				if(R82<(-RB8p/2))R82+=RB8p;
				var w9_9$=this.W4u1;
				for(var JK4=this.k708;JK4<=this.p7i;JK4++)
				{
					var l9op=JK4;
					var G00=(-(JK4-this.k708+1)*this.cN3)+this.$2w;
					this.sq58Y(e0nng,G00,R82,l9op,xN$6F,JK4,w9_9$)
				}
				this.W13=false
			}
			catch(r2Q1$)
			{
			}
		}
		if((Y2AL6+this.X94)>=0||(Y2AL6+this.$2w-this.height)<=0)
		{
			if(this.W13==true)return;
			this.W13=true;
			try
			{
				var l9op=0;
				var G00=0;
				if((Y2AL6+this.X94)>=0)
				{
					this.p7i++;
					this.X94-=parseInt(this.cN3);
					l9op=this.p7i;
					G00=this.X94
				}
				if((Y2AL6+this.$2w-this.height)<=0)
				{
					this.k708--;
					G00=this.$2w;
					this.$2w+=parseInt(this.cN3);
					l9op=this.k708
				}
				var JK4=l9op;
				var l9c=U3w[this.x541$];
				var RB8p=parseInt(360/V41[this.x541$]);
				var w9_9$=this.W4u1;
				for(var xN$6F=this.lsb$r;xN$6F<=this.Xq09x;xN$6F++)
				{
					var R82=xN$6F;
					R82=(R82)%RB8p;
					if(R82>=(RB8p/2))R82-=RB8p;
					if(R82<(-RB8p/2))R82+=RB8p;
					var e0nng=((xN$6F-this.lsb$r)*this.vG$bk)+this.$4t;
					this.sq58Y(e0nng,G00,R82,l9op,xN$6F,JK4,w9_9$)
				}
				this.W13=false
			}
			catch(r2Q1$)
			{
			}
		}
		this._736=false
	};
	this.sq58Y=function(e0nng,G00,R82,l9op,xN$6F,JK4,w9_9$)
	{
		var l9c=U3w[this.x541$];
		var ktWf=this.vGW+"mapbank/"+w9_9$+"/"+this.t4Y8;
		var a2H=((this.x541$).toString(16)+xN$6F.toString(16)+'l'+JK4.toString(16)).toLowerCase();
		var kO_4Y=parseInt(Math.floor((R82)/l9c));
		var _91=parseInt(Math.floor((l9op)/l9c));
		if(kO_4Y<0)kO_4Y+=1;
		if(_91<0)_91+=1;
		var Y7py9=(R82)-kO_4Y*l9c;
		var _SG=(l9op)-_91*l9c;
		ktWf+=kO_4Y+"_"+_91+"/";
		ktWf+=Y7py9+"_"+_SG+"."+this.i08;
		if(ktWf&&ktWf.indexOf("NaN")<0)
		{
			if(this.K72[a2H]==null)
			{
				if(rs==0||!W$kh1)
				{
					this.K72[a2H]=new Image();
					this.K72[a2H].id=a2H;
					this.K72[a2H].name=a2H;
					this.K72[a2H].ntry="0";
					this.K72[a2H].unselectable="on";
					this.K72[a2H].style.position="absolute";
					P47.FA8(this.K72[a2H],ktWf)
				}
				else
				{
					this.K72[a2H]=document.createElement("v:Image");
					this.K72[a2H].id=a2H;
					this.K72[a2H].name=a2H;
					this.K72[a2H].ntry="0";
					this.K72[a2H].unselectable="on";
					this.K72[a2H].style.position="absolute";
					this.K72[a2H].o9bC="f";
					this.K72[a2H].style.rotation=this.rotation;
					this.K72[a2H].style.width=this.vG$bk;
					this.K72[a2H].style.height=this.cN3;
					P47.FA8(this.K72[a2H],ktWf)
				}
				this.Qy1pJ.S6Ys.appendChild(this.K72[a2H])
			}
			else
			{
				if(W$kh1&&rs)
				{
					this.K72[a2H].style.rotation=this.rotation
				}
			}
			var n491=(e0nng+this.vG$bk/2-this.width/2)*this.R8t-(G00+this.cN3/2-this.height/2)*this.ftH+this.width/2;
			var r4FX6=(e0nng+this.vG$bk/2-this.width/2)*this.ftH+(G00+this.cN3/2-this.height/2)*this.R8t+this.height/2;
			this.K72[a2H].style.top=parseInt(r4FX6-this.cN3/2);
			this.K72[a2H].style.left=parseInt(n491-this.vG$bk/2);
			this.K72[a2H].Jv3x9=true;
			a2H=null
		}
		ktWf=null;
		this.u3Q7()
	};
	this.n8Rn=function()
	{
		if(this.V7t)
		{
			var D286=(this.Fe$*100*81/parseInt(this.vG$bk))*this.raJbM;
			var yI7=strImgsvrUrl+'images/scale.gif';
			var t35="#FFFFBB";
			var b25a=4;
			var TX2$E=(en)?"km":v4Wk("%u516E%uE338");
			var J75=(en)?"mi":v4Wk("%u54EA");
			if(this.p51!="undefined"&&this.p51!=null)
			{
				D286=(this.Fe$*100*60/parseInt(this.vG$bk))*this.raJbM;
				yI7=strImgsvrUrl+'images/'+this.p51+'/scale.gif';
				t35="#000000";
				b25a=0
			}
			if(en==1)
			{
				yI7=strImgsvrUrl+'images/scale2.gif';
				b25a=-1
			}
			D286=(D286<10)?(D286).toPrecision(1):parseInt(D286);
			var r753='<div unselectable="on" style="position:absolute;top=3;left=1;z-Index=0"><IMG src="'+yI7+'" ></div>';
			r753+='<div unselectable="on" style="position:absolute;top='+b25a+';left=1;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='+t35+';FONT-WEIGHT: bold;" width="100%">&nbsp;'+D286+' '+TX2$E+'</TD></TR></TBODY></TABLE></div>';
			if(en==1)
			{
				r753+='<div unselectable="on" style="position:absolute;top='+(b25a+13)+';left=1;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='+t35+';FONT-WEIGHT: bold;" width="100%">&nbsp;'+D286+' '+J75+'</TD></TR></TBODY></TABLE></div>'
			}
			this.GGy.S6Ys.innerHTML=r753
		}
		else
		{
			this.GGy.S6Ys.innerHTML=''
		}
		if(this.Lx916)
		{
			var s025='<u>'+v4Wk('2%89%D2%DF%E9%B4%88%AE%D1%D2%C3%D3')+'</u>&nbsp;';
			var j1801=v4Wk('%u0150%A0%CD%DF%96%95%E3%E1%D8%D1%D1%C8%D7%D5%C3%CE%D1%A2_%91%DD%90B%93%E7%ED%E5%D1%A2_%92%DF%E2%DC%DD%DD%D8%DD%A8%9B%C3%D5%E2%DB%E1%E9%D9%A0%AF%E3%DF%ADmk%A7%D1%CB%DA%B1mk%B2%E0%CD%D8%DC%A5vpr%A3%CD%CE%D0%CF%DC%B1oen%B5%A7v%B7%D2%C9%DD%B5nS%60z%90%95%83%8E%91e%83%C8%D1%D8%BF%C3%D1%C4%CC%D7%D5%A4mP%83%C8%D1%D8%BC%B1%C5%C8%CD%D7%D5%A4mP%82%D1%E1%D6%C9%D7%AFmP%81%CD%D5%D0%D5%AB%AF%DB%D0%CF%DC%B2z%90%96%91%93%9D%97z%90%A6%90z%90%98d%95%E3%E1%D8%D1%D1%C8%D7%D5%C3%CE%D1%A2_%91%DD%90B%93%E7%ED%E5%D1%A2_%9C%A7v%B7%D2%C9%DD%B2kl%AF%E3%DF%AArs%A7%D1%CB%DA%AEkl%81%95%9D%A2%81%80%9C%A3%9F%7FZQc%A2%E8%B3%5B%86%D5%DD%E2%A1%93%C7%CE%D6%D5%E5%B3Z%81%D3%DB%CA%CD%A7%7E%92%9B%9B%A1%8F%60S%60%60%60v%8C%81%5DB%97%E0%CD%D8%DC%A5_Sa%60UGB%5E')+s025+v4Wk('%5Ck%83%98%82zk%83%A6%90zk%83%96%91%93%9D%97zk%83%95%83%8E%91%83zk%93%CD%DF%B4');
			this.Vt4t8.S6Ys.innerHTML=j1801
		}
		else
		{
			if(this.Vt4t8)this.Vt4t8.S6Ys.innerHTML=''
		}
	};
	this.zoomIn=function()
	{
		this.zoomTo(Math.min(LpD,this.x541$+1))
	};
	this.zoomOut=function()
	{
		this.zoomTo(Math.max(0,this.x541$-1))
	};
	this.setCenter=function(r2u9,e84,$se)
	{
		var DKR=r2u9;
		if(typeof r2u9=="object")
		{
			DKR=r2u9.pid
		}
		else if(typeof pt=="string")
		{
			DKR=r2u9
		}
		if(isNaN(parseFloat(DKR)))
		{
			var Ece7V=a2Iv.p5DG(DKR);
			r2u9=Ece7V[1];
			e84=Ece7V[0]
		}
		this.q2E=Math.min(S_t86[1],Math.max(S_t86[0],parseFloat(r2u9)));
		this.rK815=Math.min(Hye[1],Math.max(Hye[0],parseFloat(e84)%360));
		if($se!=false)
		{
			this.setZoomLevel(this.x541$)
		}
	};
	this.__Q0=0.2;
	this.b1u6=-1;
	this.Ul7r1=0;
	this.NeD=null;
	this.zoomTo=function(h44,E740w,x,y)
	{
		if(this.$0Sb&&this.$0Sb.parentNode==this.q80.S6Ys)
		{
			this.hideBubble()
		}
		if(E740w)
		{
			this.E740w=S5fg$
		}
		if(W$kh1)
		{
			if(this.NeD!=null)clearTimeout(this.NeD);
			this.NeD=null;
			if(typeof h44!="undefined")
			{
				this.Ul7r1=parseInt(h44);
				if(typeof x=="undefined")
				{
					this.W44$0=0
				}
				else
				{
					this.W44$0=parseInt(x)
				}
				if(typeof y=="undefined")
				{
					this.sA9=0
				}
				else
				{
					this.sA9=parseInt(y)
				}
				this.NeD=getTimeout(this,this.zoomTo,200)
			}
			else
			{
				if(this.Ul7r1>this.getZoomLevel())
				{
					if(this.b1u6<=(this.Ul7r1-this.__Q0))
					{
						if(this.b1u6==-1)
						{
							this.b1u6=this.getZoomLevel()+this.__Q0
						}
						else
						{
							this.b1u6+=this.__Q0
						}
						var dko9j=(this.b1u6-this.getZoomLevel());
						this.o857(this.b1u6,2*this.W44$0*dko9j,2*this.sA9*dko9j);
						this.NeD=getTimeout(this,this.zoomTo,20)
					}
					else
					{
						this.b1u6=-1;
						this.vQrb=this._0K$1(-this.W44$0+this.width/2,-this.sA9+this.height/2);
						this.MK141=this.W4YJG(-this.W44$0+this.width/2,-this.sA9+this.height/2);
						this.setCenter(this.vQrb,this.MK141,false);
						this.setZoomLevel(this.Ul7r1);
						if(this.E740w)
						{
							eval(this.E740w)
						}
					}
				}
				else if(this.Ul7r1<this.getZoomLevel())
				{
					if(this.b1u6==-1||this.b1u6>=(this.Ul7r1+this.__Q0))
					{
						if(this.b1u6==-1)
						{
							this.b1u6=this.getZoomLevel()-this.__Q0
						}
						else
						{
							this.b1u6-=this.__Q0
						}
						var dko9j=Math.abs(this.b1u6-this.getZoomLevel());
						this.o857(this.b1u6,2*this.W44$0*dko9j,2*this.sA9*dko9j);
						this.NeD=getTimeout(this,this.zoomTo,20)
					}
					else
					{
						this.b1u6=-1;
						this.vQrb=this._0K$1(-this.W44$0+this.width/2,-this.sA9+this.height/2);
						this.MK141=this.W4YJG(-this.W44$0+this.width/2,-this.sA9+this.height/2);
						this.setCenter(this.vQrb,this.MK141,false);
						this.setZoomLevel(this.Ul7r1);
						if(this.E740w)
						{
							eval(this.E740w)
						}
					}
				}
			}
		}
		else
		{
			this.setZoomLevel(h44)
		}
	};
	this.s60r=20.0;
	this.mm3=null;
	this.er5S=null;
	this.W44$0=0;
	this.sA9=0;
	this.u809=0;
	this.waitPan=function(x,y,E740w)
	{
		if(this.er5S)clearTimeout(this.er5S);
		this.er5S=null;
		if(x&&y)
		{
			if(this.u809==0)
			{
				this.u809=1;
				this.W44$0=x;
				this.sA9=y;
				this.E740w=E740w;
				this.er5S=getTimeout(this,this.waitPan,500)
			}
		}
		else
		{
			if(this.u809)
			{
				this.u809=0;
				this.panTo(this.W44$0,this.sA9,this.E740w)
			}
		}
	};
	this.panTo=function(x,y,E740w)
	{
		if(this.au4)return;
		if(this.$0Sb&&this.$0Sb.parentNode==this.q80.S6Ys)
		{
			this.hideBubble()
		}
		this.xoffset=x;
		this.yoffset=y;
		this.g5f=0;
		this.l545M=0;
		this.E740w=E740w;
		this.vQrb=this._0K$1(-this.xoffset+this.width/2,-this.yoffset+this.height/2);
		this.MK141=this.W4YJG(-this.xoffset+this.width/2,-this.yoffset+this.height/2);
		this.l3452=parseInt(Math.sqrt(this.xoffset*this.xoffset+this.yoffset*this.yoffset));
		if(!this.au4)
		{
			this.doPan()
		}
	};
	this.doPan=function()
	{
		this.au4=true;
		var vfk=parseInt(Math.sqrt(this.g5f*this.g5f+this.l545M*this.l545M));
		if(this.mm3)clearTimeout(this.mm3);
		this.mm3=null;
		if(Math.abs(this.l3452-vfk)<=(1.2*this.s60r))
		{
			this.q80.moveTo(this.xoffset,this.yoffset);
			this.g5f=this.xoffset;
			this.l545M=this.yoffset;
			this.mm3=getTimeout(this,this.finishupPan,10)
		}
		else
		{
			var _54=this.xoffset*this.s60r/this.l3452;
			var c945X=this.yoffset*this.s60r/this.l3452;
			this.g5f+=_54;
			this.l545M+=c945X;
			this.q80.moveTo(this.g5f,this.l545M);
			this.mm3=getTimeout(this,this.doPan,10)
		}
	};
	this.finishupPan=function()
	{
		this.setCenter(this.vQrb,this.MK141);
		MEvent.M7R6(this,"pan","&act=pan&zm="+this.x541$+"&ctr="+this.toMapCoordinate(this.width/2,this.height/2));
		if(this.$0Sb&&this.$0Sb.parentNode!=this.q80.S6Ys)
		{
			this.q80.S6Ys.appendChild(this.$0Sb)
		}
		this.au4=false;
		if(this.mm3)clearTimeout(this.mm3);
		this.mm3=null;
		if(this.E740w!=null&&this.E740w!="undefined")
		{
			eval(this.E740w)
		}
	};
	this.setTrajectory=function(pid,$7c,DC2,q8Q4)
	{
		if(pid>=0&&pid<this._J8.length)
		{
			this.A4I3=(DC2==null||DC2=="undefined")?5:parseInt(DC2);
			this.pid=pid;
			this.q8Q4=q8Q4;
			var iL$3=$7c.split(',');
			if(iL$3!=null&&iL$3.length>0)
			{
				var h3qw=0;
				this.D5d5b=new Array();
				this.L23vn=new Array();
				this.wWD9M=0;
				for(var i=0;i<iL$3.length;i++)
				{
					if(iL$3[i]!=null&&iL$3[i].length>0)
					{
						var pt=a2Iv.p5DG(iL$3[i]);
						this.L23vn[h3qw]=parseFloat(pt[0]);
						this.D5d5b[h3qw]=parseFloat(pt[1]);
						h3qw++;
						pt=null
					}
				}
				iL$3=null
			}
		}
	};
	this.M73=0;
	this._Ds=0;
	this.W9$9=10;
	this.rotate=function(E740w)
	{
		if(this.M73<=this._Ds)
		{
			this.M73=Math.min(this._Ds,this.M73+this.W9$9)
		}
		else if(this.M73>=this._Ds)
		{
			this.M73=Math.max(this._Ds,this.M73-this.W9$9)
		}
		this.setRotation(this.M73);
		this.refresh();
		if(this.M73==this._Ds)
		{
			setTimeout(E740w,100)
		}
		else
		{
			setTimeout("maplet.rotate(\""+E740w+"\")",100)
		}
	};
	this.doEmulation=function()
	{
		try
		{
			if(this.wWD9M==0)
			{
				this.g0n=this.D5d5b[0];
				this.me6x=this.L23vn[0];
				this._BBv1=this.wWD9M;
				this.wWD9M++
			}
			if(this.wWD9M<this.D5d5b.length)
			{
				this.mm3=null;
				if(this._J8[this.pid]._c2.parentNode!=this.BrB)
				{
					this.BrB.appendChild(this._J8[this.pid]._c2);
					this._J8[this.pid]._c2.style.zIndex=200
				}
				if(this.OTMk==1&&rs&&this._BBv1!=this.wWD9M)
				{
					this._BBv1=this.wWD9M;
					if(typeof this.fqR=="undefined"||this.fqR==null)
					{
						this.fqR=document.createElement("div");
						this.fqR.style.position="absolute";
						this.fqR.style.zIndex=1000;
						this.fqR.style.width=parseInt(this._J8[this.pid]._c2.width);
						this.fqR.style.height=parseInt(this._J8[this.pid]._c2.height);
						this.fqR.style.left=this.width/2-parseInt(this._J8[this.pid]._c2.width/2);
						this.fqR.style.top=this.height/2-parseInt(this._J8[this.pid]._c2.height);
						this.fqR.innerHTML="<img src='"+this._J8[this.pid]._c2.src+"'>";
						this.map.appendChild(this.fqR)
					}
					var taL=-90+parseInt(180*Math.atan2(this.D5d5b[this.wWD9M]-this.D5d5b[this.wWD9M-1],this.L23vn[this.wWD9M]-this.L23vn[this.wWD9M-1])/Math.PI);
					if(taL<0)
					{
						taL+=360
					}
					taL=taL%360;
					if((Math.abs(taL-this.rotation)%360)>180)
					{
						this.rotation+=360
					}
					this.M73=this.rotation;
					this._Ds=taL;
					if(this.wWD9M==1)
					{
						this.setRotation(taL);
						this.setCenter(this.g0n,this.me6x)
					}
					else
					{
						this.setCenter(this.g0n,this.me6x);
						setTimeout("maplet.rotate(\"maplet.doEmulation()\")",500);
						return
					}
				}
				var D_233=this.K13Y7(this.L23vn[this.wWD9M-1],this.D5d5b[this.wWD9M-1]);
				var QB2E=this.Aa5jA(this.D5d5b[this.wWD9M-1],this.L23vn[this.wWD9M-1]);
				var BKh35=this.K13Y7(this.L23vn[this.wWD9M],this.D5d5b[this.wWD9M]);
				var l6M7=this.Aa5jA(this.D5d5b[this.wWD9M],this.L23vn[this.wWD9M]);
				var a79=this.K13Y7(this.me6x,this.g0n);
				var yq1d2=this.Aa5jA(this.g0n,this.me6x);
				var sJf=parseInt(Math.sqrt((BKh35-D_233)*(BKh35-D_233)+(l6M7-QB2E)*(l6M7-QB2E)));
				var vfk=parseInt(Math.sqrt((a79-D_233)*(a79-D_233)+(yq1d2-QB2E)*(yq1d2-QB2E)))+this.A4I3;
				if(vfk<sJf)
				{
					a79=D_233+vfk*(BKh35-D_233)/sJf;
					yq1d2=QB2E+vfk*(l6M7-QB2E)/sJf;
					this.me6x=this.L23vn[this.wWD9M-1]+vfk*(this.L23vn[this.wWD9M]-this.L23vn[this.wWD9M-1])/sJf;
					this.g0n=this.D5d5b[this.wWD9M-1]+vfk*(this.D5d5b[this.wWD9M]-this.D5d5b[this.wWD9M-1])/sJf
				}
				else
				{
					a79=BKh35;
					yq1d2=l6M7;
					this.me6x=this.L23vn[this.wWD9M];
					this.g0n=this.D5d5b[this.wWD9M];
					this.wWD9M++
				}
				if(this.OTMk==0)
				{
					this._J8[this.pid]._c2.style.top=yq1d2-this._J8[this.pid]._c2.height;
					this._J8[this.pid]._c2.style.left=a79-this._J8[this.pid]._c2.width/2
				}
				if(this.OTMk==1&&rs)
				{
					this.q80.S6Ys.style.top=parseInt(this.q80.S6Ys.style.top)+this.A4I3;
					this.mm3=getTimeout(this,this.doEmulation,100)
				}
				else
				{
					if(a79<0)
					{
						this.panTo(this.width/2,this.height/2-yq1d2,"maplet.doEmulation()")
					}
					else if(a79>this.width)
					{
						this.panTo(-this.width/2,this.height/2-yq1d2,"maplet.doEmulation()")
					}
					else if(yq1d2<0)
					{
						this.panTo(this.width/2-a79,this.height/2,"maplet.doEmulation()")
					}
					else if(yq1d2>this.height)
					{
						this.panTo(this.width/2-a79,-this.height/2,"maplet.doEmulation()")
					}
					else
					{
						this.mm3=getTimeout(this,this.doEmulation,10)
					}
				}
			}
			else
			{
				this.mm3=null;
				this.D5d5b=null;
				this.L23vn=null;
				this._J8[this.pid]._c2.style.zIndex=1;
				if(this.fqR)
				{
					if(this.fqR.parentNode)
					{
						this.fqR.parentNode.removeChild(this.fqR);
						this.fqR=null
					}
				}
				this.setRotation(0);
				this.refresh();
				if(this.q8Q4!=null||this.q8Q4!="undefined")
				{
					eval(this.q8Q4)
				}
			}
		}
		catch($G5n9)
		{
			alert($G5n9)
		}
	};
	this.o857=function(M7X3,x,y)
	{
		if(typeof x=="undefined")
		{
			x=0
		}
		if(typeof y=="undefined")
		{
			y=0
		}
		var R5tnF=Math.pow(2,parseFloat(M7X3))/Math.pow(2,this.x541$);
		this.q80.S6Ys.style.zoom=R5tnF;
		this.q80.S6Ys.style.left=this.width/2-this.width*R5tnF/2+x;
		this.q80.S6Ys.style.top=this.height/2-this.height*R5tnF/2+y
	};
	this.addLabel=function(xqi0I,r2u9,e84,kgr,B594a,pjFq0,x12F1)
	{
		if(!B594a)B594a='';
		this.t6o9[this.t6o9.length]=new fY144("label"+this.VNQp,xqi0I,xqi0I,parseFloat(r2u9),parseFloat(e84),kgr,B594a,pjFq0,x12F1);
		this.VNQp++
	};
	this.addPoint=function(xqi0I,r2u9,e84,kgr,UNT,pjFq0,x12F1)
	{
		if(!UNT)UNT='';
		this._J8[this._J8.length]=new fY144("point"+this.VNQp,xqi0I,xqi0I,parseFloat(r2u9),parseFloat(e84),kgr,UNT,pjFq0,x12F1);
		this.VNQp++
	};
	this.updatePointAt=function(n8g,kgr,UNT,xqi0I,JX2F$)
	{
		if(n8g>=0&&this._J8.length>n8g)
		{
			if(!UNT)UNT='';
			this._J8[n8g].vG3(kgr,UNT);
			if(typeof xqi0I!="undefined")
			{
				if(typeof JX2F$=="undefined")JX2F$=xqi0I;
				this._J8[n8g].aq49(xqi0I,JX2F$)
			}
		}
	};
	this.updateLineAt=function(_6O3,kgr,UNT,pjFq0)
	{
		if(_6O3>=0&&this.tm286.length>_6O3)
		{
			this.N47W=_6O3;
			if(kgr!="undefined"&&kgr!=null)
			{
				this.tm286[_6O3].pjFq0=(pjFq0=="false"||pjFq0=="0")?false:true;
				this.tm286[_6O3].kgr=kgr
			}
			if(UNT!="undefined"&&UNT!=null)
			{
				this.tm286[_6O3].UNT=UNT
			}
			if(this.tm286[_6O3].pjFq0)
			{
				this.tm286[_6O3].vG3(kgr,UNT)
			}
		}
	};
	this.showTipOf=function(n8g,g95Lj,o8KA)
	{
		if(o8KA==null||o8KA==false||o8KA=="undefined"||o8KA=="false")
		{
			if(n8g>=0&&this._J8.length>n8g)
			{
				if(this._J8[n8g]._c2)
				{
					this._J8[n8g]._c2.onmouseover();
					this._J8[n8g]._c2.c2R9(g95Lj)
				}
			}
		}
		else
		{
			if(n8g>=0&&this.tm286.length>n8g)
			{
				this.tm286[n8g].t5k()
			}
		}
	};
	this.sTJT=function(w90)
	{
		while(w90!=null&&w90.length>0)
		{
			w90[w90.length-1]=null;
			w90.length--
		}
	};
	this.r12=function(w90,I21)
	{
		if(I21>=0&&w90.length>I21)
		{
			w90[I21]=null;
			for(var i=I21;i<w90.length-1;i++)
			{
				w90[i]=w90[i+1]
			}
			w90[w90.length-1]=null;
			w90.length--
		}
	};
	this.getElementById=function(w90,pid)
	{
		var I21=this.h62kR(w90,pid);
		if(I21>=0&&w90.length>I21)
		{
			return w90[I21]
		}
		return null
	};
	this.h62kR=function(w90,Kxk)
	{
		var I21=-1;
		for(var i=0;i<w90.length;i++)
		{
			if(w90[i].id==Kxk)
			{
				I21=i;
				break
			}
		}
		return I21
	};
	this.removePointAt=function(n8g)
	{
		this.r12(this._J8,n8g)
	};
	this.HAla=function(pid)
	{
		this.r12(this._J8,this.h62kR(this._J8,pid))
	};
	this.removeAllPoints=function()
	{
		this.sTJT(this._J8)
	};
	this.removeLabelAt=function(XX72)
	{
		this.r12(this.t6o9,XX72)
	};
	this.N6k07=function(pid)
	{
		this.r12(this.t6o9,this.h62kR(this.t6o9,pid))
	};
	this.removeAllLabels=function()
	{
		this.sTJT(this.t6o9)
	};
	this.removeLineAt=function(_6O3)
	{
		this.r12(this.tm286,_6O3)
	};
	this.Y1429=function(pid)
	{
		this.r12(this.tm286,this.h62kR(this.tm286,pid))
	};
	this.removeAllLines=function()
	{
		this.sTJT(this.tm286)
	};
	this.addHotspot=function(r2u9,e84,kgr,_3u0t,_cFE)
	{
		var iwnJ="hotspot"+this.p$1.length;
		if(isNaN(parseFloat(e84)))
		{
			iwnJ="hotspot-"+r2u9;
			var k39=a2Iv.p5DG(e84);
			r2u9=Math.min(S_t86[1],Math.max(S_t86[0],parseFloat(k39[1])));
			e84=Math.min(Hye[1],Math.max(Hye[0],parseFloat(k39[0])%360))
		}
		var WM70N=new fY144(iwnJ,'','',parseFloat(r2u9),parseFloat(e84),kgr,'','0');
		WM70N.Seb=false;
		WM70N.a0S=_3u0t;
		WM70N.d2EcM=_cFE;
		this.p$1[this.p$1.length]=WM70N
	};
	this.addPointWithSwapImage=function(xqi0I,JX2F$,r2u9,e84,kgr,UNT,pjFq0,x12F1)
	{
		this._J8[this._J8.length]=new fY144("point"+this.VNQp,xqi0I,JX2F$,parseFloat(r2u9),parseFloat(e84),kgr,UNT,pjFq0,x12F1);
		this.VNQp++
	};
	this.addPointWithId=function(id,r2u9,e84,kgr,UNT,pjFq0,x12F1)
	{
		this._J8[this._J8.length]=new fY144(id,p479[id],CqD[id],parseFloat(r2u9),parseFloat(e84),kgr,UNT,pjFq0,x12F1)
	};
	this.addIcon=function(xqi0I,DKR,kgr,B594a,pjFq0,x12F1)
	{
		var r822E=a2Iv.p5DG(DKR);
		this.addPoint(xqi0I,r822E[1],r822E[0],kgr,B594a,pjFq0,x12F1)
	};
	this.pYC=function()
	{
		return this.Gib3
	};
	this.toMapCoordinate=function(x,y)
	{
		a2Iv.e84=this.W4YJG(x,y);
		a2Iv.r2u9=this._0K$1(x,y);
		return a2Iv.O1a()
	};
	this.W4YJG=function(x,y)
	{
		var GH_9D=(x-this.width/2);
		if(this.rotation!=0)
		{
			var E705=(y-this.height/2);
			GH_9D=GH_9D*this.R8t+E705*this.ftH
		}
		var e84=this.rK815+GH_9D*this.Fe$/this.vG$bk;
		e84=Math.min(Hye[1],Math.max(Hye[0],e84%360));
		return e84
	};
	this._0K$1=function(x,y)
	{
		var E705=(y-this.height/2);
		if(this.rotation!=0)
		{
			var GH_9D=(x-this.width/2);
			E705=-GH_9D*this.ftH+E705*this.R8t
		}
		var r2u9=this.q2E-E705*this._y05/this.cN3;
		r2u9=Math.min(S_t86[1],Math.max(S_t86[0],r2u9));
		return r2u9
	};
	this.K13Y7=function(e84,r2u9)
	{
		{
			var i3C=((parseFloat(e84)-this.rK815)%360);
			if(i3C>180)i3C-=360;
			if(i3C<-180)i3C+=360;
			var e0nng=Math.round(this.width/2+i3C/V41[this.x541$]*this.vG$bk);
			if(this.rotation!=0)
			{
				var G00=Math.round(this.height/2-((parseFloat(r2u9)-this.q2E)%360)/X107p[this.x541$]*this.cN3);
				var e0nng=(e0nng-this.width/2)*this.R8t-(G00-this.height/2)*this.ftH+this.width/2
			}
			return e0nng
		}
	};
	this.Aa5jA=function(r2u9,e84)
	{
		{
			var G00=Math.round(this.height/2-((parseFloat(r2u9)-this.q2E)%360)/X107p[this.x541$]*this.cN3);
			if(this.rotation!=0)
			{
				var i3C=((parseFloat(e84)-this.rK815)%360);
				if(i3C>180)i3C-=360;
				if(i3C<-180)i3C+=360;
				var e0nng=Math.round(this.width/2+i3C/V41[this.x541$]*this.vG$bk);
				var G00=(e0nng-this.width/2)*this.ftH+(G00-this.height/2)*this.R8t+this.height/2
			}
			return G00
		}
	};
	this.XN19$=new Array();
	this.XN19$['zoomin']="1";
	this.XN19$['zoomout']="2";
	this.XN19$['pan']="3";
	this.XN19$['erase']="13";
	this.XN19$['edit']="23";
	this.XN19$['lookup']="5";
	this.XN19$['bookmark']="6";
	this.XN19$['drawline']="9";
	this.XN19$['drawarea']="10";
	this.XN19$['measure']="11";
	this.XN19$['measarea']="15";
	this.setMode=function(DANg6,E740w)
	{
		DANg6=DANg6.toString().toLowerCase();
		DANg6=(this.XN19$[DANg6])?parseInt(this.XN19$[DANg6]):parseInt(DANg6);
		if((DANg6!=3&&DANg6!=23)&&this.F26==DANg6)return;
		if(this.F26==3||this.F26==23)this.N6P=this.F26;
		this.F26=parseInt(DANg6);
		this.c12=false;
		this.f316=false;
		var gaNF=null;
		switch(DANg6)
		{
			case 'zoomin':case '1':case 1:this.c12=true;
			this.map.style.cursor='crosshair';
			this.F26=1;
			gaNF='zoomin';
			break;
			case 'zoomout':case '2':case 2:this.c12=true;
			this.F26=2;
			this.map.style.cursor='crosshair';
			gaNF='zoomout';
			break;
			case f$r7O.rR6w:case "pan":case 3:this.F26=3;
			gaNF='pan';
			DANg6=null;
			case f$r7O.QWA34:case 13:case 'erase':if(DANg6)
			{
				this.F26=13;
				gaNF='erase';
				DANg6=null
			}
			case f$r7O.$81:case 'edit':case 23:if(DANg6)
			{
				this.F26=23;
				gaNF='edit';
				DANg6=null
			}
			this.f316=true;
			this.map.style.cursor="default";
			break;
			case f$r7O.n896a:case "lookup":case 5:this.c12=true;
			this.map.style.cursor="default";
			this.F26=5;
			gaNF='lookup';
			break;
			case '6':case 6:case 'bookmark':this.map.style.cursor="default";
			gaNF='bookmark';
			this.F26=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.N47W=-1;
			this.F26=9;
			gaNF='drawline';
			break;
			case '10':case 10:case 'drawarea':this.map.style.cursor="default";
			this.N47W=-1;
			this.F26=10;
			gaNF='drawarea';
			break;
			case '11':case 11:case 'measure':this.map.style.cursor="default";
			gaNF='measure';
			this.F26=11;
			break;
			case '15':case 15:case 'measarea':this.map.style.cursor="default";
			gaNF='measarea';
			this.F26=15;
			break;
			default:break
		}
		if(gaNF!=null&&typeof E740w=="function")
		{
			MEvent.addListener(this,gaNF,E740w)
		}
		if(gaNF!=null)
		{
			MEvent.M7R6(this,"setmode",gaNF)
		}
	};
	this.setCursorStyle=function(gY95U)
	{
		this.map.style.cursor=gY95U
	};
	this.t5k=function(x,y,M0l28,UNT,g95Lj)
	{
		if(iToolTipStyle=="undefined"||iToolTipStyle==1)
		{
			var $1hb5=(typeof M0l28=="object")?M0l28:null;
			if($1hb5)
			{
				H9g3.Ld_s($1hb5.title,$1hb5.content);
				g95Lj=UNT
			}
			else
			{
				H9g3.Ld_s(M0l28,UNT)
			}
			if(g95Lj==true||((x>H9g3.xoffset)&&(x<(this.width-H9g3.width))&&(y>H9g3.height)&&(y<(this.height))))
			{
				this.$0Sb=($1hb5)?$1hb5.F1cp3(x,y):$8A(M0l28,x,y,UNT);
				this.q80.S6Ys.appendChild(this.$0Sb)
			}
			else
			{
				var buF$K=this.width/2;
				var W40=Math.min(this.height-20,Math.max(H9g3.height+10,y));
				this.$0Sb=($1hb5)?$1hb5.F1cp3(buF$K+2,W40):$8A(M0l28,buF$K+2,W40,UNT);
				var $48Q9=buF$K-x;
				var TP$g0=W40-y;
				this.panTo($48Q9,TP$g0)
			}
		}
		else
		{
			var $1hb5=(typeof M0l28=="object")?M0l28:null;
			if($1hb5)
			{
				setToolTipMenu(x,y,$1hb5.title,$1hb5.content)
			}
			else
			{
				setToolTipMenu(x,y,M0l28,UNT)
			}
		}
	};
	this.hideBubble=function()
	{
		hideBubble(this);
		if(this.$0Sb)
		{
			if(this.$0Sb.parentNode)this.$0Sb.parentNode.removeChild(this.$0Sb);
			this.$0Sb=null
		}
	};
	this.ou$_=function()
	{
		if((this.dr82H>0)&&(this.dr82H<this.width)&&(this.K3H>0)&&(this.K3H<this.height)&&(this.T$5f>0)&&(this.T$5f<this.width)&&(this.bp4>0)&&(this.bp4<this.height))
		{
			return true
		}
		else
		{
			return false
		}
	};
	this.x4V=function()
	{
		if(this.dr82H<this.T$5f&&this.K3H<this.bp4)
		{
			this.k70U.resize(this.T$5f-this.dr82H,this.bp4-this.K3H);
			this.k70U.moveTo(this.dr82H,this.K3H)
		}
		else if(this.dr82H>this.T$5f&&this.K3H<this.bp4)
		{
			this.k70U.resize(this.dr82H-this.T$5f,this.bp4-this.K3H);
			this.k70U.moveTo(this.T$5f,this.K3H)
		}
		else if(this.dr82H<this.T$5f&&this.K3H>this.bp4)
		{
			this.k70U.resize(this.T$5f-this.dr82H,this.K3H-this.bp4);
			this.k70U.moveTo(this.dr82H,this.bp4)
		}
		else if(this.dr82H>this.T$5f&&this.K3H>this.bp4)
		{
			this.k70U.resize(parseInt(this.dr82H)-this.T$5f,parseInt(this.K3H)-this.bp4);
			this.k70U.moveTo(this.T$5f,this.bp4)
		}
		else
		{
			this.k70U.resize(this.dr82H-this.T$5f,this.K3H-this.bp4);
			this.k70U.moveTo(this.T$5f,this.bp4)
		}
	};
	this.F42=function(r2Q1$)
	{
		this.N5519=true;
		this.lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.offsetX;
		var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.offsetY;
		if(!W$kh1&&this.Q7K0Q.style.position!="absolute")
		{
			WJ9-=10;
			v026-=12
		}
		var o_2=this.dr82H;
		var dj_1=this.K3H;
		this.dr82H=(WJ9)-this.left;
		this.K3H=(v026)-this.top;
		if(this.D6e4!=null)
		{
			if(this.D6e4.onmousemove(r2Q1$))
			{
				return
			}
		}
		if(this.GO2!=null)
		{
			for(var mE8 in this.GO2)
			{
				if(this.GO2[mE8].toString().indexOf("MStandardControl")>0&&this.GO2[mE8].fUA&&this.GO2[mE8].fUA.onmousemove(r2Q1$))
				{
					return
				}
			}
		}
		if(this.F26==f$r7O.H7_50||this.F26==f$r7O.cho$5||this.F26==f$r7O.KWmNg||this.F26==f$r7O.i4l)
		{
			if(W$kh1||this.F26==f$r7O.H7_50||this.F26==f$r7O.cho$5)
			{
				var ji_3=(en)?"Double click to finish":v4Wk("%u8BFC%uDFC3%uA5C7%uD0CE%uE632");
				if(this.F26==f$r7O.H7_50)
				{
				}
				showMouseTipBox(this.dr82H,this.K3H,ji_3,this.map)
			}
		}
		else if(this.F26==f$r7O._V8)
		{
			if(this.XEI5!=null&&this.XEI5!="undefined"&&this.XEI5!="null"&&this.XEI5!="")
			{
				showMouseTipBox(this.dr82H-this.c609.width/2-10-1,this.K3H-this.c609.height-2-18,"<img src='"+this.c609.src+"'>",this.map)
			}
			else
			{
				$Py81()
			}
		}
		else
		{
			$Py81()
		}
		if(this.t08&&this.sOl9().lF6bY(this.dr82H,this.K3H))return;
		if(this.F26==f$r7O.rR6w)
		{
			var h$_b=false;
			if(this.HvyM!=null&&this._25!=null)
			{
				for(k6erG=0;k6erG<this.HvyM.length;k6erG++)
				{
					if(Math.abs(this.HvyM[k6erG]-this.dr82H)<8&&Math.abs(this._25[k6erG]-this.K3H)<8)
					{
						h$_b=true;
						break
					}
				}
			}
			if(h$_b)
			{
				this.map.style.cursor=(W$kh1)?"hand":"pointer"
			}
			else if(!this.M1l)
			{
				this.map.style.cursor="default"
			}
		}
		if(this.f316&&this.M1l)
		{
			this.map.style.cursor="move";
			if(iToolTipStyle==0)hideToolTipMenu();
			if(this.$0Sb!=null)
			{
				this.hideBubble()
			}
			if(iToolTipStyle==0)
			{
				hideToolTipMenu()
			}
			this.q80.moveTo(this.dr82H-this.T$5f,this.K3H-this.bp4);
			this._3af=true;
			this.Q5J8=true
		}
		else if(this.c12&&this.M1l)
		{
			if(this.ou$_())
			{
				this._72c1=true;
				this.x4V()
			}
		}
		else if(this.F26==f$r7O.H7_50||this.F26==f$r7O.cho$5||this.F26==f$r7O.KWmNg||this.F26==f$r7O.i4l)
		{
			var Ys8=this.W4YJG(this.dr82H,this.K3H);
			var W47=this._0K$1(this.dr82H,this.K3H);
			if(this.k07!=null)
			{
				this.u3Hr5.$40[0]=this.k07.$40[this.k07.$40.length-1];
				this.u3Hr5.y87i3[0]=this.k07.y87i3[this.k07.y87i3.length-1];
				this.u3Hr5.$40[1]=W47;
				this.u3Hr5.y87i3[1]=Ys8;
				if(W$kh1)
				{
					this.u3Hr5.Q4Wq0()
				}
				else
				{
					this.H$N6.graphics.clear();
					this.k07.rW7(this.H$N6.graphics);
					this.u3Hr5.rW7(this.H$N6.graphics)
				}
			}
		}
		else
		{
			if(this.lh6e=="LayerDrawMap"&&iToolTipStyle==0)
			{
				hideToolTipMenu()
			}
		}
	};
	this.g8V=function(r2Q1$)
	{
		MEvent.M7R6(this,'mousedown',r2Q1$);
		var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.offsetX;
		var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.offsetY;
		this.lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		if(!W$kh1&&this.Q7K0Q.style.position!="absolute")
		{
			WJ9-=10;
			v026-=12
		}
		this.T$5f=WJ9-this.left;
		this.bp4=v026-this.top;
		if(this.lh6e!=null&&this.lh6e.indexOf("ctrl")>=0&&this.D6e4!=null)
		{
			this.D6e4.onmousedown(r2Q1$);
			return
		}
		this.dJUD='';
		if(this.t08&&this.sOl9().f$6(this.T$5f,this.bp4))
		{
			this.V44.F55(this.T$5f,this.bp4);
			return
		}
		else
		{
			if(this.lh6e=="LayerMask"||this.lh6e=="LayerDrawMap"||this.lh6e.indexOf("OverlayBg")>=0)
			{
				this.M1l=true;
				hideToolTipMenu()
			}
			else
			{
				this.M1l=false
			}
			if(this.ou$_()&&this.c12)
			{
				this.k70U.resize(1,1);
				this.k70U.show()
			}
			else if(this.F26==f$r7O.rR6w||this.F26==f$r7O.$81||this.F26==f$r7O.QWA34)
			{
				this.map.style.cursor="move"
			}
		}
	};
	this.W_L=function(r2Q1$,lh6e,WJ9,v026)
	{
		MEvent.M7R6(this,'mouseup',r2Q1$);
		var lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.offsetX;
		var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.offsetY;
		if(!W$kh1&&this.Q7K0Q.style.position!="absolute")
		{
			WJ9-=10;
			v026-=12
		}
		this.lh6e=lh6e;
		this.E83=WJ9-this.left;
		this.E11E=v026-this.top;
		this.M1l=false;
		if(this.D6e4!=null)
		{
			(this.D6e4.onmouseup(r2Q1$))
		}
		if(this.lh6e!=null&&this.lh6e.indexOf("ctrl")>=0)
		{
			this.k70U.hide();
			return false
		}
		if(this.F26==f$r7O.rR6w||this.F26==f$r7O.$81||this.F26==f$r7O.QWA34)
		{
			this.map.style.cursor="default"
		}
		if(this.t08&&this.sOl9().d885_(this.E83,this.E11E))
		{
			this.setZoomLevel(parseInt(this.V44.getZoomLevel()));
			return
		}
		if((this._3af||this._72c1)&&(this.c12||this.f316))
		{
			this._3af=false;
			this._72c1=false;
			if(this.f316)
			{
				if(true||this.x541$>0)
				{
					var D2ix=-(this.E83-this.T$5f);
					var TkA_k=(this.E11E-this.bp4);
					var e84=this.W4YJG(D2ix+this.width/2,-TkA_k+this.height/2);
					var r2u9=this._0K$1(D2ix+this.width/2,-TkA_k+this.height/2);
					this.rK815=e84;
					this.q2E=r2u9
				}
				this.setZoomLevel(this.x541$);
				MEvent.M7R6(this,"pan","&act=pan&ctr="+this.toMapCoordinate(this.width/2,this.height/2))
			}
			else
			{
				var tKN5=1;
				var Nuc0l=Math.max(1,Math.abs(this.E83-this.T$5f));
				if(this.F26==1)
				{
					{
						var D2ix=(this.E83+this.T$5f)/2;
						var TkA_k=(this.E11E+this.bp4)/2;
						var e84=this.W4YJG(D2ix,TkA_k);
						var r2u9=this._0K$1(D2ix,TkA_k);
						this.rK815=e84;
						this.q2E=r2u9
					}
					if(Nuc0l<this.vG$bk)
					{
						tKN5=Math.min(LpD-this.x541$,Math.max(1,parseInt(Math.log(this.vG$bk/Nuc0l)/Math.log(2))))
					}
					this.setZoomLevel(this.x541$+tKN5);
					MEvent.M7R6(this,"zoomin","&act=zoomin&zm="+this.x541$)
				}
				else if(this.F26==2)
				{
					var D2ix=(this.E83+this.T$5f)/2;
					var TkA_k=(this.E11E+this.bp4)/2;
					var e84=this.W4YJG(D2ix,TkA_k);
					var r2u9=this._0K$1(D2ix,TkA_k);
					this.rK815=e84;
					this.q2E=r2u9;
					if(Nuc0l<this.vG$bk)
					{
						tKN5=Math.min(this.x541$,Math.max(1,parseInt(Math.log(this.vG$bk/Nuc0l)/Math.log(2))))
					}
					this.setZoomLevel(this.x541$-tKN5);
					MEvent.M7R6(this,"zoomout","&act=zoomout&zm="+this.x541$)
				}
				else if(this.F26==f$r7O.n896a)
				{
					var N6q0=this.rK815+(Math.max(this.E83,this.T$5f)-this.width/2)*this.Fe$/this.vG$bk;
					var FV85=this.q2E-(Math.min(this.E11E,this.bp4)-this.height/2)*this._y05/this.cN3;
					a2Iv.e84=N6q0;
					a2Iv.r2u9=FV85;
					var j3821=a2Iv.O1a();
					var f198=this.rK815+(Math.min(this.E83,this.T$5f)-this.width/2)*this.Fe$/this.vG$bk;
					var so7=this.q2E-(Math.max(this.E11E,this.bp4)-this.height/2)*this._y05/this.cN3;
					a2Iv.e84=f198;
					a2Iv.r2u9=so7;
					var MsW6t=a2Iv.O1a();
					var Qup$="&act=lookup&max="+j3821+"&min="+MsW6t;
					if(this.N6P!="undefined")this.setMode(this.N6P);
					this.r10=true;
					MEvent.M7R6(this,"lookup",Qup$)
				}
				{
					this.k70U.hide();
					this.k70U.resize(1,1);
					this.k70U.moveTo(-10,-10)
				}
			}
		}
	};
	this.a2S$=function(r2Q1$)
	{
		MEvent.M7R6(this,'click');
		var lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		var target=(W$kh1)?event.srcElement:r2Q1$.target;
		var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.offsetX;
		var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.offsetY;
		if(!W$kh1&&this.Q7K0Q.style.position!="absolute")
		{
			WJ9-=10;
			v026-=12
		}
		this.lh6e=lh6e;
		this.uk87=WJ9-this.left;
		this.$106=v026-this.top;
		if(this.lh6e!=null&&this.lh6e.indexOf("ctrl")>=0)return false;
		if(this.Lx916&&this.Vt4t8!=null&&this.Vt4t8.f$6(this.uk87,this.$106))
		{
			var N14be=v4Wk('%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(N14be);
			return
		}
		if(this.t08&&this.sOl9().f$6(this.uk87,this.$106))
		{
			this.V44.l3vRr(this.uk87,this.$106);
			return
		}
		if(this.ou$_())
		{
			var N9Uu=this.W4YJG(this.uk87,this.$106);
			var D6YE1=this._0K$1(this.uk87,this.$106);
			if((this.F26==7))
			{
				this.addOrigin(D6YE1,N9Uu)
			}
			else if((this.F26==8))
			{
				this.addDestination(D6YE1,N9Uu)
			}
			else if((this.F26==6))
			{
				{
					a2Iv.r2u9=D6YE1;
					a2Iv.e84=N9Uu;
					var da9c4=a2Iv.O1a();
					$Py81();
					var Qup$="&act=add&latlon="+da9c4+"&zm="+this.x541$;
					MEvent.M7R6(this,"bookmark",Qup$)
				}
			}
			else if(this.F26==f$r7O.rR6w||this.F26==f$r7O.$81||this.F26==f$r7O.QWA34)
			{
				if((new Date().getTime()-this.F$5CB)>=500)
				{
					this.F$5CB=new Date().getTime();
					if(this.r10)
					{
						this.r10=false
					}
					else
					{
						if(!this.Q5J8)
						{
							if(this.lh6e=="LayerMask"||this.lh6e=="LayerDrawMap"||target.parentNode.id=="LayerMap"||target.id.indexOf("OverlayBg")>=0)
							{
								if(this.$0Sb!=null)
								{
									this.hideBubble()
								}
								if(iToolTipStyle==0)hideToolTipMenu();
								this.waitPan(this.width/2-this.uk87,-this.$106+this.height/2)
							}
						}
					}
					this.Q5J8=false
				}
				else
				{
					this.F$5CB=new Date().getTime()
				}
			}
			else if(this.F26==f$r7O.H7_50||this.F26==f$r7O.cho$5||this.F26==f$r7O.KWmNg||this.F26==f$r7O.i4l)
			{
				if(this.lh6e!=null&&this.lh6e.indexOf("ctrl")>=0)return false;
				{
					if(this.k07==null)
					{
						var T1j=(this.F26==f$r7O.i4l||this.F26==f$r7O.cho$5)?true:false;
						this.k07=new A06V6("tline"+this.VNQp,null,null,this.M2a7.color,this.M2a7.stroke,0,T1j);
						this.k07.maplet=this;
						this.VNQp++;
						this.k07.$40[this.k07.$40.length]=D6YE1;
						this.k07.y87i3[this.k07.y87i3.length]=N9Uu;
						this.u3Hr5=new A06V6("mline"+this.VNQp,null,null,this.M2a7.color,this.M2a7.stroke,0,T1j);
						this.u3Hr5.maplet=this;
						this.VNQp++;
						this.u3Hr5.$40[0]=D6YE1;
						this.u3Hr5.y87i3[0]=N9Uu;
						if(this.k07!=null)
						{
							if(W$kh1)
							{
								this.k07.paint(this.BrB.S6Ys);
								this.u3Hr5.paint(this.BrB.S6Ys)
							}
							else
							{
								this.k07.rW7(this.H$N6.graphics);
								this.u3Hr5.rW7(this.H$N6.graphics)
							}
						}
					}
					else
					{
						this.k07.$40[this.k07.$40.length]=D6YE1;
						this.k07.y87i3[this.k07.y87i3.length]=N9Uu;
						this.u3Hr5.$40[0]=D6YE1;
						this.u3Hr5.y87i3[0]=N9Uu;
						if(W$kh1)
						{
							this.k07.Q4Wq0();
							this.u3Hr5.Q4Wq0()
						}
						else
						{
							if(this.F26==f$r7O.H7_50||this.F26==f$r7O.H7_50||this.F26==f$r7O.cho$5)
							{
								this.k07.rW7(this.H$N6.graphics);
								this.u3Hr5.rW7(this.H$N6.graphics)
							}
							else
							{
								this.l6f(lh6e,WJ9,v026)
							}
						}
					}
				}
			}
			if(lh6e=="LayerDrawMap")
			{
				if(this.HvyM!=null&&this._25!=null)
				{
					for(k6erG=0;k6erG<this.HvyM.length;k6erG++)
					{
						if(Math.abs(this.HvyM[k6erG]-this.uk87)<8&&Math.abs(this._25[k6erG]-this.$106)<8)
						{
							var Qup$="&hotspot="+this.p$1[this.b1t[k6erG]].kgr;
							this.u809=0;
							MEvent.M7R6(this,"hotspot",Qup$);
							if(hs)
							{
								this.setCenter(this.p$1[this.b1t[k6erG]].r2u9,this.p$1[this.b1t[k6erG]].e84);
								this.setZoomLevel(8)
							}
							break
						}
					}
				}
			}
		}
	};
	this.l6f=function(r2Q1$)
	{
		var lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		var target=(W$kh1)?event.srcElement:r2Q1$.target;
		var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.offsetX;
		var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.offsetY;
		this.lh6e=lh6e;
		$Py81();
		if(this.lh6e!=null&&this.lh6e.toString().indexOf("ctrl")>=0)return false;
		if(this.ou$_())
		{
			this.map.style.cursor="default";
			if(this.F26==f$r7O.H7_50||this.F26==f$r7O.cho$5)
			{
				if(!W$kh1)
				{
					this.H$N6.graphics.clear()
				}
				var FfK=0;
				var area=0;
				if(this.k07)
				{
					var _25d=parseInt(this.k07.$40.length);
					if(this.F26==f$r7O.H7_50)
					{
						for(var i=1;i<_25d;i++)
						{
							var r2u9=this.k07.$40[i]-this.k07.$40[i-1];
							var e84=this.k07.y87i3[i]-this.k07.y87i3[i-1];
							FfK+=Math.sqrt(r2u9*r2u9+e84*e84)
						}
						var r2u9=this.u3Hr5.$40[1]-this.k07.$40[i-1];
						var e84=this.u3Hr5.y87i3[1]-this.k07.y87i3[i-1];
						FfK+=Math.sqrt(r2u9*r2u9+e84*e84)
					}
					else
					{
						this.k07.y87i3[_25d]=this.u3Hr5.y87i3[1];
						this.k07.$40[_25d]=this.u3Hr5.$40[1];
						_25d=parseInt(this.k07.$40.length);
						var u_i=2;
						var h3qw=0;
						for(var i=1;i<=_25d;i++)
						{
							var E6521=(u_i%_25d);
							var nXUE=(h3qw%_25d);
							area+=parseFloat(this.k07.y87i3[(i%_25d)])*(parseFloat(this.k07.$40[E6521])-parseFloat(this.k07.$40[nXUE]));
							u_i++;
							h3qw++
						}
						area=Math.abs(area/2)
					}
					if(W$kh1&&this.k07.$Kf5.parentNode==this.BrB.S6Ys)this.BrB.S6Ys.removeChild(this.k07.$Kf5)
				}
				if(W$kh1&&this.u3Hr5&&this.u3Hr5.$Kf5.parentNode==this.BrB.S6Ys)
				{
					this.BrB.S6Ys.removeChild(this.u3Hr5.$Kf5)
				}
				this.k07=null;
				this.u3Hr5=null;
				if(FfK.toString()==Number.NaN.toString())FfK=0;
				if(area.toString()==Number.NaN.toString())area=0;
				if(this.F26==f$r7O.cho$5)
				{
					area=area*this.raJbM*this.raJbM;
					var YThV=(en==0)?v4Wk("%u603E%uF79D%u1151")+":"+(parseInt(area*1000000)/10/10)+v4Wk("%u5E77%uC42C%uB725%uE338"):"Total area:"+(parseInt(area*1000000)/10/10)+"km2";
					if(area<0.001)
					{
						YThV=(en==0)?v4Wk("%u603E%uF79D%u1151")+":"+(parseInt(area*100000*100000))+v4Wk("%u5E76%uC42C%uE22C"):"Total area:"+(parseInt(area*100000*100000))+"m2"
					}
					if(this.N6P!="undefined")this.setMode(this.N6P);
					c57(this.width/2+this.left+this.offsetX,this.height/2+this.top+this.offsetY,YThV);
					MEvent.M7R6(this,"measarea","&act=measarea&area="+(parseInt(area*1000000)/10)+v4Wk("%u5E77%uC42C%uB725%uE338"))
				}
				else
				{
					FfK=FfK*this.raJbM;
					var cAl=(en==0)?v4Wk("%u603E%uEE18%u0798")+":"+(parseInt(FfK*1000)/10)+v4Wk("%u516E%uE338"):"Total distance:"+(parseInt(FfK*1000)/10)+"km";
					if(FfK<0.001)
					{
						cAl=(en==0)?v4Wk("%u603E%uEE18%u0798")+":"+(parseInt(FfK*100000))+v4Wk("%u7C74"):"Total distance:"+(parseInt(FfK*100000))+"m"
					}
					if(this.N6P!="undefined")this.setMode(this.N6P);
					c57(this.width/2+this.left+this.offsetX,this.height/2+this.top+this.offsetY,cAl);
					MEvent.M7R6(this,"measure","&act=measure&dist="+(parseInt(FfK*1000)/10)+v4Wk("%u516E%uE338"))
				}
			}
			else if(this.F26==f$r7O.KWmNg||this.F26==f$r7O.i4l)
			{
				var _6O3=(this.N47W==-1)?this.tm286.length:this.N47W;
				if(this.k07!=null)
				{
					this.uk87=WJ9-this.left;
					this.$106=v026-this.top;
					var N9Uu=this.W4YJG(this.uk87,this.$106);
					var D6YE1=this._0K$1(this.uk87,this.$106);
					this.k07.$40[this.k07.$40.length]=D6YE1;
					this.k07.y87i3[this.k07.y87i3.length]=N9Uu;
					if(this.N47W==-1)
					{
						this.tm286[_6O3]=this.k07
					}
					else if(_6O3>=0&&_6O3<this.tm286.length)
					{
						for(var k6erG=0;k6erG<this.k07.$40.length;k6erG++)
						{
							this.tm286[_6O3].$40[this.tm286[_6O3].$40.length]=this.k07.$40[k6erG];
							this.tm286[_6O3].y87i3[this.tm286[_6O3].y87i3.length]=this.k07.y87i3[k6erG]
						}
					}
				}
				if(this.u3Hr5)this.BrB.S6Ys.removeChild(this.u3Hr5.$Kf5);
				if(!W$kh1)this.H$N6.graphics.clear();
				this.k07=null;
				this.u3Hr5=null;
				var Qup$=null;
				if(this.N47W==-1)
				{
					Qup$=("&act=add&pline="+this.tm286[_6O3].O1a()+"&zm="+this.x541$)
				}
				else
				{
					Qup$=("&act=update&lid="+_6O3+"&pline="+this.tm286[_6O3].O1a()+"&zm="+this.x541$)
				}
				var sN1u4=(this.F26==f$r7O.KWmNg)?"drawline":"drawarea";
				if(this.N6P!="undefined")this.setMode(this.N6P);
				MEvent.M7R6(this,sN1u4,Qup$)
			}
			else if(this.F26==f$r7O.rR6w||this.F26==f$r7O.$81||this.F26==f$r7O.QWA34)
			{
				if(this.lh6e=="LayerMask"||this.lh6e=="LayerDrawMap"||target.parentNode.id=="LayerMap"||target.id.indexOf("OverlayBg")>=0)
				{
					if(W$kh1)this.u809=0;
					this.zoomTo(this.getZoomLevel()+1,void(0),this.width/2-this.uk87,-this.$106+this.height/2)
				}
				if(false)
				{
					this.uk87=WJ9-this.left;
					this.$106=v026-this.top;
					if(this.$0Sb!=null)
					{
						this.hideBubble()
					}
					if(iToolTipStyle==0)hideToolTipMenu();
					this.panTo(this.width/2-this.uk87,-this.$106+this.height/2)
				}
			}
		}
	};
	this.$82=function(r2Q1$)
	{
		MEvent.M7R6(this,'mouseout',r2Q1$);
		var lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		var WJ9=parseInt((W$kh1)?event.clientX:r2Q1$.clientX)-this.offsetX;
		var v026=parseInt((W$kh1)?event.clientY:r2Q1$.clientY)-this.offsetY;
		this.lh6e=lh6e;
		this.dr82H=WJ9-this.left;
		this.K3H=v026-this.top;
		this.N5519=false;
		if(!this.ou$_())
		{
			if(this.D6e4!=null)
			{
				this.D6e4.onmouseout(r2Q1$)
			}
			this.W_L((W$kh1)?event:r2Q1$,lh6e,WJ9,v026)
		}
	};
	this.BMM8_=function(r2Q1$)
	{
		var lh6e=(W$kh1)?event.srcElement.id:r2Q1$.target.id;
		if(lh6e=="LayerDrawMap")
		{
			this.offsetX=parseInt((W$kh1)?(event.clientX-event.offsetX):(this.left-parseInt(document.body.scrollLeft)))-this.left;
			this.offsetY=parseInt((W$kh1)?(event.clientY-event.offsetY):(this.top-parseInt(document.body.scrollTop)))-this.top
		}
	};
	this.addPolyline=function($40,y87i3,N00,x4DW,$0M,T1j)
	{
		var jl3=new A06V6("pline"+this.VNQp,$40,y87i3,N00,x4DW,$0M,T1j);
		jl3.maplet=this;
		this.tm286[this.tm286.length]=jl3;
		this.VNQp++
	};
	this.addPolylineString=function($v0,t7J1d,T1j)
	{
		var oWlHN=$v0.split(',');
		var A51Re=new A06V6("pline"+this.VNQp,null,null,(oWlHN.length>2)?oWlHN[2]:null,(oWlHN.length>0)?parseInt(oWlHN[0]):0,(oWlHN.length>1)?oWlHN[1]:1,T1j);
		A51Re.maplet=this;
		this.VNQp++;
		A51Re.p5DG(t7J1d);
		this.tm286[this.tm286.length]=A51Re
	};
	this.addLabelString=function(type,vf674,q3o0)
	{
		var k39=a2Iv.p5DG(vf674);
		this.addLabel((type==null)?"http://map.mapbar.com/maplite/images/marker.gif":type,k39[1],k39[0],q3o0)
	};
	this.addOrigin=function(r2u9,e84)
	{
		V$360.setOrigin(parseFloat(r2u9),parseFloat(e84))
	};
	this.addDestination=function(r2u9,e84)
	{
		V$360.setDestination(parseFloat(r2u9,e84))
	};
	this.addOverlay=function(_8t)
	{
		if(typeof _8t=="object")
		{
			if(this.M8L_[_8t.id])
			{
				return
			}
			_8t.S8Q(this);
			this.M8L_[_8t.id]=_8t
		}
	};
	this.removeOverlay=function(_8t)
	{
		if(typeof _8t=="object")
		{
			if(this.M8L_[_8t.id])
			{
				this.M8L_[_8t.id].remove();
				this.M8L_[_8t.id]=null
			}
		}
		else if(typeof _8t=="string")
		{
			if(this.M8L_[_8t])
			{
				this.M8L_[_8t].remove();
				this.M8L_[_8t]=null
			}
		}
	};
	this.clearOverlays=function()
	{
		for(var id in this.M8L_)
		{
			if(this.M8L_[id]&&this.M8L_[id].remove)
			{
				this.M8L_[id].remove();
				this.M8L_[id]=null
			}
		}
	};
	this.clean=function()
	{
		this.hideBubble();
		this.removeAllPoints();
		this.removeAllLabels();
		this.removeAllLines();
		c4Mh=new Array();
		U9FY=new Array();
		V$360.clean();
		this.refresh()
	};
	this.showBasePois=function(Jv3x9)
	{
		this.bp=Jv3x9;
		this.refresh()
	};
	this.showZoomBar=function(Jv3x9)
	{
		this.t08=Jv3x9;
		if(this.t08)
		{
			this.sOl9().show()
		}
		else if(this.V44!=null)
		{
			this.V44.hide()
		}
	};
	this.showLogo=function(Jv3x9)
	{
		this.Lx916=Jv3x9;
		if(this.Lx916)
		{
			if(this.Vt4t8!=null)this.Vt4t8.show()
		}
		else
		{
			if(this.Vt4t8!=null)this.Vt4t8.hide()
		}
	};
	this.showScale=function(Jv3x9)
	{
		this.V7t=Jv3x9;
		if(this.V7t)
		{
			this.GGy.show()
		}
		else
		{
			this.GGy.hide()
		}
	};
	this.showControl=function(Jv3x9)
	{
		this.vpS4=Jv3x9;
		if(this.vpS4)
		{
			if(this.D6e4)this.D6e4.show()
		}
		else
		{
			if(this.D6e4)this.D6e4.hide()
		}
	};
	this.addControl=function(CSK92,J754,v05P3,C6u$I)
	{
		if(typeof CSK92=="string"||(typeof CSK92=="object"&&CSK92.toString().indexOf("MStandardControl")>0))
		{
			if(this.D6e4)
			{
				this.D6e4.vh71();
				this.D6e4=null
			}
			var PO9n8=null;
			if(typeof CSK92=="string")
			{
				if(v05P3==null||v05P3=="undefined")
				{
					v05P3=0
				}
				if(C6u$I==null||C6u$I=="undefined")
				{
					C6u$I=0
				}
				PO9n8=new MStandardControl(CSK92,v05P3,C6u$I,J754)
			}
			else if(typeof CSK92=="object")
			{
				PO9n8=CSK92
			}
			if(PO9n8)
			{
				PO9n8.S8Q(this)
			}
		}
		else if(typeof CSK92=="object")
		{
			if(this.GO2[CSK92.id])
			{
				return
			}
			CSK92.S8Q(this);
			this.GO2[CSK92.id]=CSK92;
			this.ovw.addListener(this.GO2[CSK92.id])
		}
	};
	this.removeControl=function($7D)
	{
		if(typeof $7D=="object"&&this.GO2[$7D.id])
		{
			this.GO2[$7D.id].remove();
			this.GO2[$7D.id]=null
		}
	};
	this.setScaleBarValue=function(Ep3)
	{
	};
	this.getCurrentMap=function()
	{
		var B_8s=this.width*V41[this.x541$]/this.vG$bk;
		a2Iv.r2u9=this.q2E;
		a2Iv.e84=this.rK815;
		var XB60a=a2Iv.O1a();
		var A22=(this._J8.length>0)?"&pois="+this._J8.length+",":"";
		for(var i=0;i<this._J8.length;i++)
		{
			A22+=this._J8[i].O1a()+","+this._J8[i].kgr+","
		}
		var rX877=(this.tm286.length>0)?"&plines="+this.tm286.length+",":"";
		for(var i=0;i<this.tm286.length;i++)
		{
			rX877+=this.tm286[i].O1a()+";"
		}
		var M19="";
		for(var i in this.M8L_)
		{
			if(typeof this.M8L_[i]=="object"&&this.M8L_[i]!=null&&this.M8L_[i].B31)
			{
				if(M19.length==0)
				{
					M19="&overlays="
				}
				M19+=this.M8L_[i].B31()+";"
			}
		}
		return "&map="+this.x541$+","+XB60a+","+this.width+","+this.height+"&zm="+(Math.round(parseFloat(B_8s)*1000)/10.0)+"&width="+this.width+"&height="+this.height+"&ctr="+XB60a+A22+rX877+"&client="+strLicenseKey+M19
	};
	this.getLastPoint=function()
	{
		var A22="&poi=";
		if(this._J8.length>0)
		{
			A22+=this._J8[this._J8.length-1].O1a()+","+this._J8[this._J8.length-1].kgr
		}
		return A22
	};
	this.getLastLine=function()
	{
		var rX877="&pline=";
		if(this.tm286.length>0)
		{
			rX877+=this.tm286[this.tm286.length-1].O1a()
		}
		return rX877
	};
	this.setCursorIcon=function(xqi0I)
	{
		this.XEI5=xqi0I;
		this.c609.src=xqi0I;
		$Py81()
	};
	this.UBOJx=function()
	{
		this.XEI5=null;
		this.c609.src=null
	};
	this.setBgColor=function(N00)
	{
		this.Q7K0Q.style.backgroundColor=N00
	};
	this.setTransparency=function(f99ux)
	{
		this.Qy1pJ.S6Ys.style.filter="alpha(opacity="+f99ux+");";
		this.Qy1pJ.S6Ys.style.MozOpacity=(f99ux/100.0);
		this.Qy1pJ.S6Ys.style.opacity=(f99ux/100.0);
		this.Qy1pJ.S6Ys.style.$0A08=(f99ux/100)
	};
	this.setAutoZoom=function(so7,f198,FV85,N6q0)
	{
		if(isNaN(parseFloat(so7)))
		{
			var W07B=a2Iv.p5DG(so7);
			var O34=a2Iv.p5DG(f198);
			so7=W07B[1];
			f198=W07B[0];
			FV85=O34[1];
			N6q0=O34[0]
		}
		this.setCenter((FV85+so7)/2,(N6q0+f198)/2);
		var of95g=1.1*(FV85-so7)*this.vG$bk/this.height;
		var mOh3=1.1*(N6q0-f198)*this.vG$bk/this.width;
		var F1vP=this.getFitZoomLevel(of95g,X107p);
		var _5v=this.getFitZoomLevel(mOh3,V41);
		var IK$n6=Math.min(F1vP,_5v);
		this.setZoomLevel(IK$n6);
		if(this.D6e4!=null)
		{
			this.D6e4.D6e4.S6Ys.Q4Wq0(IK$n6)
		}
		if(this.GO2!=null)
		{
			for(var mE8 in this.GO2)
			{
				if(this.GO2[mE8].fUA)this.GO2[mE8].fUA.D6e4.S6Ys.Q4Wq0(IK$n6)
			}
		}
	};
	this.getFitZoomLevel=function(__7f9,I589a)
	{
		var o406=1;
		while(__7f9<=I589a[o406]&&o406<(I589a.length))
		{
			o406++
		}
		return(o406-1)
	};
	this.setBrushStyle=function($21,M3k$)
	{
		this.M2a7.color=$21;
		this.M2a7.stroke=M3k$
	};
	this.PM25=function()
	{
		return this.N5519
	};
	this.setActive=function(C2L)
	{
		this.N5519=C2L
	};
	this.onkeydown=function(r2Q1$)
	{
		var gaNF=(r2Q1$)?r2Q1$:(window.event)?window.event:null;
		if(gaNF)
		{
			var X_I3=(gaNF.kN1)?gaNF.kN1:((gaNF.keyCode)?gaNF.keyCode:((gaNF.which)?gaNF.which:0));
			if(X_I3=="37"||X_I3=="38"||X_I3=="39"||X_I3=="40")
			{
				if(this.PM25())
				{
					if(gaNF.target&&((gaNF.target.nodeName=="INPUT"&&gaNF.target.getAttribute("type").toLowerCase()=="text")||gaNF.target.nodeName=="TEXTAREA"))
					{
						return
					}
					if(gaNF.srcElement&&((gaNF.srcElement.tagName=="INPUT"&&gaNF.srcElement.type=="text")||gaNF.srcElement.tagName=="TEXTAREA"))
					{
						return
					}
					if(gaNF.shiftKey||gaNF.ctrlKey)
					{
						if(X_I3=="37")
						{
							this.setRotation(this.rotation-15);
							this.refresh()
						}
						if(X_I3=="39")
						{
							this.setRotation(this.rotation+15);
							this.refresh()
						}
					}
					else
					{
						if(X_I3=="37")this.panTo(this.width/2,0);
						if(X_I3=="38")this.panTo(0,this.height/2);
						if(X_I3=="39")this.panTo(-this.width/2,0);
						if(X_I3=="40")this.panTo(0,-this.height/2)
					}
				}
			}
		}
	};
	this.sKm8=function()
	{
		if(W$kh1)
		{
			if(typeof this.VJ7=="undefined")this.VJ7=0;
			if(typeof this.IVj77=="undefined")this.IVj77=0;
			if(this.D_78)clearTimeout(this.D_78);
			this.D_78=null;
			if(event!=null&&!this.IVj77)
			{
				if(event.srcElement.id=="LayerMask"||event.srcElement.id=="LayerDrawMap")
				{
					this.VJ7+=event.wheelDelta/120;
					this.o857(this.getZoomLevel()+this.VJ7);
					this.IVj77=parseInt(this.getZoomLevel()+this.VJ7);
					this.D_78=getTimeout(this,this.sKm8,200)
				}
			}
			else
			{
				this.VJ7=0;
				this.setZoomLevel(this.IVj77);
				this.IVj77=0
			}
		}
	};
	this.showDiy=function(I1Gvy)
	{
		var $96=(typeof I1Gvy=="undefined")?new Array():sdc(I1Gvy).split(",");
		var Jv3x9=($96.length>0);
		var r16o=$96[0];
		var $v0=$96[1];
		var o879=$96[2];
		var F535=$96[3];
		var DKR=$96[4];
		var yYf4w=$96[5];
		var xtg2=$96[6];
		var Fq970=$96[7];
		if(Jv3x9)
		{
			k8$q=new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0)
		}
		else
		{
			k8$q=new Array(0,0,0,0,0,0,0,0,75,0,0,-150,0,0)
		}
		if(typeof r16o=="undefined")
		{
			xX5d=0
		}
		else
		{
			xX5d=parseInt(r16o)
		}
		if(typeof $v0=="undefined")
		{
			this.setStyle("baidu")
		}
		else
		{
			this.setStyle($v0,o879)
		}
		if(typeof F535=="undefined")
		{
			this.raJbM=1.0
		}
		else
		{
			this.raJbM=parseFloat(F535)
		}
		if(typeof Fq970=="undefined")
		{
			if(Jv3x9)
			{
				this.vGW="http://diyimg.mapbar.com/maplite/"
			}
			else
			{
				this.vGW=strImgsvrUrl
			}
		}
		else
		{
			this.vGW=Fq970
		}
		if(typeof xtg2=="undefined")
		{
			Hye=new Array(-360,360);
			S_t86=new Array(-90,90)
		}
		else
		{
			var k39=a2Iv.p5DG(DKR);
			Hye=new Array(k39[0]-parseFloat(yYf4w)/2,k39[0]+parseFloat(yYf4w)/2);
			S_t86=new Array(k39[1]-parseFloat(xtg2)/2,k39[1]+parseFloat(xtg2)/2)
		}
		if(typeof DKR!="undefined")
		{
			this.centerAndZoom(new MPoint(DKR),LpD-1)
		}
	}
};
if(typeof window.attachEvent!='undefined')
{
	window.attachEvent('onunload',IAy)
};
function IAy()
{
	var maplet=document["mapbar-maplet"];
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null&&maplet.FPOG)
		{
			maplet.FPOG.vh71();
			maplet.FPOG=null
		}
	}
	catch(r2Q1$)
	{
	}
	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,$MV=document.all.length;i<$MV;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.G555=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.K72)
			{
				if(maplet.K72[i].parentNode!=null)
				{
					maplet.K72[i].parentNode.removeChild(maplet.K72[i])
				}
				maplet.K72[i].onerror=null;
				maplet.K72[i].onload=null;
				maplet.K72[i]=null
			}
			maplet.K72=null
		}
	}
	catch(r2Q1$)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var i256=0;i256<maplet.sNRc6.length;i256++)
			{
				try
				{
					maplet.sNRc6[i256].e1CK2();
					maplet.sNRc6[i256]=null
				}
				catch(BGD5)
				{
				}
			}
			maplet.sNRc6.length=0;
			maplet.sNRc6=null
		}
	}
	catch(r2Q1$)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var i in maplet._J8)
			{
				if(maplet._J8[i]!=null)
				{
					maplet._J8[i]._c2=null;
					maplet._J8[i]=null
				}
			}
			maplet._J8=null
		}
	}
	catch(r2Q1$)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			maplet.ovw.vh71();
			for(var i in maplet.ovw)
			{
				maplet.ovw[i]=null
			}
			maplet.ovw=null
		}
	}
	catch(r2Q1$)
	{
	}
	try
	{
		if(typeof maplet!="undefined"&&maplet!=null)
		{
			for(var i in maplet)
			{
				maplet[i]=null
			}
			maplet=null
		}
	}
	catch(r2Q1$)
	{
	}
	if(typeof req=="object")
	{
		req=null
	}
};
function Y7F58()
{
	if(document.all)
	{
		for(var i=0,$MV=document.all.length;i<$MV;i++)
		{
			document.all[i]['onerror']=null
		}
	}
};
function __98(d2B,v52s)
{
	if(document.getElementById(v52s))
	{
		document.getElementById(v52s).innerHTML=$2115(d2B.responseText)
	}
};
function $2115(L3l)
{
	return L3l
};
function R1oh5(r2Q1$,title,content)
{
	var maplet=document["mapbar-maplet"];
	var x=((W$kh1)?event.clientX:r2Q1$.clientX)-maplet.offsetX-maplet.left;
	var y=((W$kh1)?event.clientY:r2Q1$.clientY)-maplet.offsetY-maplet.top;
	maplet.t5k(x,y,title,content)
};
function lbp2(id,K1Mj)
{
	if(typeof id=="string"&&id!=null&&document.getElementById(id)!=null&&typeof K1Mj=="string"&&K1Mj!=null)
	{
		document.getElementById(id).innerHTML+=K1Mj
	}
};
var P3r=null;
function waitHideTip()
{
	if(P3r)clearTimeout(P3r);
	P3r=null;
	P3r=setTimeout("hideToolTipMenu()",2000)
};
function lbp(id,x,y,Yp3C7,oB41Y,x75$,uk3)
{
	if(typeof id=="string"&&id!=null&&document.getElementById(id)!=null&&typeof oB41Y=="string"&&oB41Y!=null)
	{
		document.getElementById(id).innerHTML+="<div unselectable=\"on\" class=\"hotspotlabel\" onmouseout=\"javascript:waitHideTip();\" onmouseover=\"javascript:new function(e){setToolTipMenu(e,e,'"+x75$+"','"+(uk3)+"',e)};\" style=\"position:absolute;left:"+x+";top:"+y+";width:"+Yp3C7+";height:0\">"+oB41Y+"</div>"
	}
};
function WHn6(XUg)
{
	this.XUg=XUg;
	this.h18J='';
	this.$503I=document.getElementsByTagName("head").item(0);
	this.b8u78='__bp_'+WHn6.uuI++
};
WHn6.uuI=1;
WHn6.prototype.v69=function()
{
	this.d61ad=document.createElement("script");
	this.d61ad.setAttribute("type","text/javascript");
	this.d61ad.setAttribute("src",this.XUg+this.h18J);
	this.d61ad.setAttribute("id",this.b8u78)
};
WHn6.prototype.e1CK2=function()
{
	this.$503I.removeChild(this.d61ad)
};
WHn6.prototype.YBJ=function()
{
	this.$503I.appendChild(this.d61ad)
};
var Nm13="http://api.mapbar.com/api/images/done.gif";
var EK92="http://api.mapbar.com/api/images/edit.gif";
var qndFu="http://api.mapbar.com/api/images/stretch.gif";
var _$70=0;
var G2D=1;
var tY4j0=2;
var Ty59=0;
var y3u6=2;
var C8M1=1001;
function MEditControl()
{
	this._L$C=new Array();
	this.img=new Image();
	this.img.Q7K0Q=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=Nm13;
	this.S8Q=function(OA30M)
	{
		this.TNB1=OA30M;
		this.Q4Wq0();
		this.TNB1.appendChild(this.img);
		this._L$C["canvas_update"]=MEvent.bind(this.TNB1,"update",this,this.Q4Wq0)
	};
	this.Kr$J=function(Jv3x9)
	{
		this.img.border=(Jv3x9)?"1":"0"
	};
	this.img.onmousedown=function()
	{
		return false
	};
	this.img.onmouseover=function(r2Q1$)
	{
		this.Q7K0Q.Kr$J(true);
		MEvent.M7R6(this.Q7K0Q,"mouseover",true)
	};
	this.img.onmouseout=function(r2Q1$)
	{
		this.Q7K0Q.Kr$J(false);
		MEvent.M7R6(this.Q7K0Q,"mouseout",false)
	};
	this.Q4Wq0=function()
	{
		if(this.TNB1!=null)
		{
			if(this.TNB1.N6$())
			{
				this.img.src=Nm13
			}
			else
			{
				this.img.src=EK92
			}
			if(this.img.parentNode!=null)
			{
				this.TNB1.E$56(this.img,_$70,Ty59)
			}
		}
	};
	this.img.onclick=function(r2Q1$)
	{
		this.Q7K0Q.TNB1.gl595()
	};
	this.vh71=function()
	{
		for(var gaNF in this._L$C)
		{
			try
			{
				if(this._L$C[gaNF]!=null)
				{
					MEvent.removeListener(this._L$C[gaNF]);
					this._L$C[gaNF]=null
				}
			}
			catch(r2Q1$)
			{
			}
		}
		this._L$C=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.Q7K0Q=null;
		this.img=null;
		this.TNB1=null
	};
	this.toString=function()
	{
		return "com.mapbar.img.MEditControl"
	}
};
function MResizeControl(K4lj$,width,height,_48f)
{
	this._L$C=new Array();
	this.img=new Image();
	this.img.Q7K0Q=this;
	this.img.selected=false;
	this.img.unselectable="on";
	this.img.style.position="absolute";
	this.img.style.zIndex=(typeof _48f=="undefined")?1:parseInt(_48f);
	this.img.style.cursor="default";
	this.img.src=qndFu;
	this.Kr$J=function(Jv3x9)
	{
		this.img.border=(Jv3x9)?"1":"0"
	};
	this.img.onmousedown=function()
	{
		return false
	};
	this.img.onmouseover=function(r2Q1$)
	{
		this.Q7K0Q.Kr$J(true);
		MEvent.M7R6(this.Q7K0Q,"mouseover",true)
	};
	this.img.onmouseout=function(r2Q1$)
	{
		this.Q7K0Q.Kr$J(false);
		MEvent.M7R6(this.Q7K0Q,"mouseout",false)
	};
	this.S8Q=function(OA30M)
	{
		this.TNB1=OA30M;
		this.Q4Wq0();
		this.TNB1.appendChild(this.img,tY4j0,y3u6);
		this._L$C["canvas_mousedown"]=MEvent.bind(this.TNB1,"mousedown",this,this.U56i3);
		this._L$C["canvas_mousemove"]=MEvent.bind(this.TNB1,"mousemove",this,this.eO38);
		this._L$C["canvas_mouseup"]=MEvent.bind(this.TNB1,"mouseup",this,this.$$9_);
		this._L$C["canvas_update"]=MEvent.bind(this.TNB1,"update",this,this.Q4Wq0)
	};
	this.Q4Wq0=function()
	{
		if(this.TNB1!=null)
		{
			if(this.TNB1.N6$())
			{
				this.img.style.visibility="visible"
			}
			else
			{
				this.img.style.visibility="hidden"
			}
			if(this.img.parentNode!=null)
			{
				this.TNB1.E$56(this.img,tY4j0,y3u6)
			}
		}
	};
	this.U56i3=function(r2Q1$)
	{
		if(r2Q1$.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(r2Q1$.clientX);
				this.img.offsetY=parseInt(this.img.parentNode.style.top)+parseInt(this.img.parentNode.style.height)-parseInt(r2Q1$.clientY)
			}
		}
	};
	this.eO38=function(r2Q1$)
	{
		if(this.img.selected)
		{
			var kCGN4=parseInt(r2Q1$.clientX)-parseInt(this.img.parentNode.style.left)+this.img.offsetX;
			var $3DgS=parseInt(r2Q1$.clientY)-parseInt(this.img.parentNode.style.top)+this.img.offsetY;
			if(kCGN4>0&&$3DgS>0)
			{
				this.TNB1.resize(kCGN4,$3DgS);
				this.Q4Wq0()
			}
		}
	};
	this.$$9_=function(r2Q1$)
	{
		this.img.selected=false
	};
	this.vh71=function()
	{
		for(var gaNF in this._L$C)
		{
			try
			{
				if(this._L$C[gaNF]!=null)
				{
					MEvent.removeListener(this._L$C[gaNF]);
					this._L$C[gaNF]=null
				}
			}
			catch(r2Q1$)
			{
			}
		}
		this._L$C=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.Q7K0Q=null;
		this.img=null;
		this.TNB1=null
	};
	this.toString=function()
	{
		return "com.mapbar.img.MResizeControl"
	}
};
function MEditableImage(j8b72,width,height)
{
	this.B55=j8b72;
	this.JROSS=false;
	this._L$C=new Array();
	this.GO2=new Array();
	this.H1K=new Array();
	this.selected=false;
	this.C77vy=false;
	this.TNB1=document.createElement("div");
	this.TNB1.className="editableimg";
	this.TNB1.unselectable="on";
	this.TNB1.style.width=(typeof width=="undefined")?0:parseInt(width);
	this.TNB1.style.height=(typeof height=="undefined")?0:parseInt(height);
	this.TNB1.style.visibility="hidden";
	this.N6$=function()
	{
		return this.JROSS
	};
	this.width=function()
	{
		return parseInt(this.TNB1.style.width)
	};
	this.height=function()
	{
		return parseInt(this.TNB1.style.height)
	};
	this.D499Q=1.0;
	this.resize=function(width,height)
	{
		this.TNB1.style.width=parseInt(width);
		this.TNB1.style.height=parseInt(height);
		this.img.width=parseInt(width);
		this.img.height=parseInt(height)
	};
	this.S8Q=function(OA30M,left,top)
	{
		this.OA30M=OA30M;
		if(typeof left!="undefined")
		{
			this.TNB1.style.left=left
		}
		if(typeof top!="undefined")
		{
			this.TNB1.style.top=top
		}
		this.buF$K=0;
		this.W40=0;
		this.Q4Wq0();
		this.img=new Image();
		this.img.unselectable="on";
		this.img.Q7K0Q=this;
		this.img.selected=false;
		this.img.style.position="absolute";
		this.img.style.zIndex=0;
		this.img.onload=function()
		{
			this.style.left=0;
			this.style.top=0;
			this.Q7K0Q.OA30M.appendChild(this.Q7K0Q.TNB1);
			if(parseInt(this.Q7K0Q.TNB1.style.width)>0)
			{
				this.width=parseInt(this.Q7K0Q.TNB1.style.width)-2
			}
			if(parseInt(this.Q7K0Q.TNB1.style.height)>0)
			{
				this.height=parseInt(this.Q7K0Q.TNB1.style.height)-2
			}
			this.Q7K0Q.TNB1.style.width=parseInt(this.width)+2;
			this.Q7K0Q.TNB1.style.height=parseInt(this.height)+2;
			this.Q7K0Q.Q4Wq0();
			this.Q7K0Q.TNB1.style.visibility="visible"
		};
		this.TNB1.appendChild(this.img);
		this.img.onmousedown=function()
		{
			return false
		};
		this.img.onmouseover=function()
		{
			this.Q7K0Q.TNB1.style.borderColor="#00f";
			if(parseInt(this.Q7K0Q.TNB1.style.zIndex)<C8M1)
			{
				C8M1++;
				this.Q7K0Q.TNB1.style.zIndex=C8M1
			}
		};
		this.img.onmouseout=function()
		{
			this.Q7K0Q.TNB1.style.borderColor="#fff"
		};
		this.img.src=this.B55;
		if(this.maplet)
		{
			this.S6Ys=this.TNB1;
			this._L$C["mousemove"]=MEvent.bindDom(this.maplet.map,"mousemove",this,this.eO38);
			this._L$C["mousedown"]=MEvent.bindDom(this.maplet.map,"mousedown",this,this.U56i3);
			this._L$C["mouseup"]=MEvent.bindDom(this.maplet.map,"mouseup",this,this.$$9_)
		}
		else
		{
			this._L$C["mousemove"]=MEvent.bindDom(this.OA30M,"mousemove",this,this.eO38);
			this._L$C["mousedown"]=MEvent.bindDom(this.OA30M,"mousedown",this,this.U56i3);
			this._L$C["mouseup"]=MEvent.bindDom(this.OA30M,"mouseup",this,this.$$9_)
		}
	};
	this.Q4Wq0=function(maplet,left,top)
	{
		if(this.C77vy==false)
		{
			if(maplet)
			{
				this.maplet=maplet;
				this.S8Q(maplet.q80,left,top);
				this.C77vy=true;
				this.D499Q=this.maplet.getZoomLevel()
			}
		}
		else
		{
			if(typeof left!="undefined"&&typeof top!="undefined")
			{
				this.TNB1.style.left=parseInt(left);
				this.TNB1.style.top=parseInt(top);
				if(!this.JROSS)
				{
					if(this.D499Q!=this.maplet.getZoomLevel())
					{
						var Qg5=V41[this.D499Q]/V41[this.maplet.getZoomLevel()];
						this.resize(this.width()*Qg5,this.height()*Qg5)
					}
				}
				this.D499Q=this.maplet.getZoomLevel()
			}
		}
		MEvent.M7R6(this,"update")
	};
	this.y88m=function()
	{
		return true
	};
	this.U56i3=function(r2Q1$)
	{
		this.selected=true;
		MEvent.M7R6(this,"mousedown",r2Q1$);
		if(this.maplet==null&&r2Q1$.target==this.img)
		{
			if(!this.img.selected)
			{
				this.img.selected=true;
				this.img.offsetX=parseInt(this.TNB1.style.left)-parseInt(r2Q1$.clientX);
				this.img.offsetY=parseInt(this.TNB1.style.top)-parseInt(r2Q1$.clientY)
			}
		}
	};
	this.eO38=function(r2Q1$)
	{
		if(this.selected)
		{
			MEvent.M7R6(this,"mousemove",r2Q1$);
			if(this.maplet==null&&this.img.selected)
			{
				this.TNB1.style.left=parseInt(r2Q1$.clientX)+this.img.offsetX;
				this.TNB1.style.top=parseInt(r2Q1$.clientY)+this.img.offsetY
			}
		}
	};
	this.$$9_=function(r2Q1$)
	{
		this.img.selected=false;
		MEvent.M7R6(this,"mouseup",r2Q1$);
		if(this.selected)
		{
			this.Q4Wq0();
			this.selected=false
		}
	};
	this.addControl=function(aYC0)
	{
		var i=this.GO2.length;
		this.GO2[i]=aYC0;
		aYC0.S8Q(this);
		this._L$C["ctrl_"+i+"_mouseover"]=MEvent.bind(aYC0,"mouseover",this,this.Kr$J);
		this._L$C["ctrl_"+i+"_mouseout"]=MEvent.bind(aYC0,"mouseout",this,this.Kr$J)
	};
	this.removeControl=function(aYC0)
	{
		for(var i=0;i<this.GO2.length;i++)
		{
			if(this.GO2[i]==aYC0)
			{
				this.GO2[i].vh71();
				this.GO2[i]=null
			}
		}
	};
	this.E$56=function(_tj,l9_R2,A9E6l)
	{
		if(l9_R2==_$70)
		{
			_tj.style.left=0
		}
		else if(l9_R2==tY4j0)
		{
			_tj.style.left=parseInt(this.TNB1.style.width)-parseInt(_tj.width)-2
		}
		if(A9E6l==Ty59)
		{
			_tj.style.top=0
		}
		else if(A9E6l==y3u6)
		{
			_tj.style.top=parseInt(this.TNB1.style.height)-parseInt(_tj.height)-2
		}
	};
	this.appendChild=function(_tj,l9_R2,A9E6l)
	{
		this.E$56(_tj,l9_R2,A9E6l);
		this.TNB1.appendChild(_tj)
	};
	this.Kr$J=function(Jv3x9)
	{
		if(Jv3x9==false)
		{
			this.TNB1.style.borderColor="#fff"
		}
		else
		{
			this.TNB1.style.borderColor="#00f"
		}
	};
	this.gl595=function()
	{
		this.JROSS=!this.JROSS;
		this.Q4Wq0()
	};
	this.addHotspot=function(W3CI8,left,top,width,height,n0d)
	{
		var xI9=new MHotspot(W3CI8,width,height,n0d);
		xI9.S8Q(this,left,top);
		var i=this.H1K.length;
		this.H1K[i]=xI9;
		this._L$C["hot_"+i+"_mouseover"]=MEvent.bind(xI9,"mouseover",this,this.Kr$J);
		this._L$C["hot_"+i+"_mouseout"]=MEvent.bind(xI9,"mouseout",this,this.Kr$J)
	};
	this.B31=function()
	{
		return this.img.src+","+this.width()+","+this.height()
	};
	this.$93H=function(WM70N)
	{
		for(var i=0;i<this.H1K.length;i++)
		{
			if(this.H1K[i]==WM70N)
			{
				this.H1K[i].vh71();
				this.H1K[i]=null
			}
		}
	};
	this.vh71=function()
	{
		this.TNB1.removeChild(this.img);
		this.img.onload=null;
		this.img.onmousedown=null;
		this.img.onmouseover=null;
		this.img.onmouseout=null;
		this.img.Q7K0Q=null;
		for(var i=0;i<this.GO2.length;i++)
		{
			if(this.GO2[i]!=null)
			{
				this.GO2[i].vh71();
				this.GO2[i]=null
			}
		}
		this.GO2=null;
		for(var i=0;i<this.H1K.length;i++)
		{
			if(this.H1K[i]!=null)
			{
				this.H1K[i].vh71();
				this.H1K[i]=null
			}
		}
		this.H1K=null;
		for(var gaNF in this._L$C)
		{
			try
			{
				if(this._L$C[gaNF]!=null)
				{
					MEvent.M3E$(this.OA30M,gaNF,this._L$C[gaNF]);
					this._L$C[gaNF]=null
				}
			}
			catch(r2Q1$)
			{
			}
		}
		this._L$C=null;
		this.OA30M.removeChild(this.TNB1);
		this.OA30M=null
	};
	this.remove=this.vh71;
	this.toString=function()
	{
		return "com.mapbar.img.MEditableImage"
	}
};
function MHotspot(W3CI8,ua215,q2X,n0d)
{
	this.JROSS=false;
	this.ua215=parseFloat(ua215);
	this.q2X=parseFloat(q2X);
	this.IE4=0;
	this.y6Y4=0;
	this.TNB1=document.createElement("div");
	this.TNB1.unselectable="on";
	this.TNB1.style.position="absolute";
	this.TNB1.style.zIndex=1;
	this.N6$=function()
	{
		return this.JROSS
	};
	this.width=function()
	{
		return parseInt(this.TNB1.style.width)
	};
	this.height=function()
	{
		return parseInt(this.TNB1.style.height)
	};
	this.img=new Image();
	this.img.unselectable="on";
	this.img.style.position="absolute";
	this.img.Q7K0Q=this;
	this.img.selected=false;
	this.img.alt=W3CI8;
	this.img.style.left=0;
	this.img.style.top=0;
	this.img.style.borderColor="#00f";
	this.img.border="0";
	this.TNB1.appendChild(this.img);
	this.yw702=null;
	this._L$C=new Array();
	this.GO2=new Array();
	this.n0d=n0d;
	this.resize=function(width,height)
	{
		this.ua215=parseFloat(width)/this.OA30M.width();
		this.q2X=parseFloat(height)/this.OA30M.height();
		this.TNB1.style.width=parseInt(width);
		this.TNB1.style.height=parseInt(height);
		this.img.width=parseInt(width);
		this.img.height=parseInt(height)
	};
	this.S8Q=function(OA30M,IE4,y6Y4)
	{
		this.IE4=parseFloat(IE4);
		this.y6Y4=parseFloat(y6Y4);
		this.OA30M=OA30M;
		this.Q4Wq0();
		this.OA30M.appendChild(this.TNB1);
		this._L$C["mousedown"]=MEvent.bind(this.OA30M,"mousedown",this,this.U56i3);
		this._L$C["mousemove"]=MEvent.bind(this.OA30M,"mousemove",this,this.eO38);
		this._L$C["mouseup"]=MEvent.bind(this.OA30M,"mouseup",this,this.$$9_);
		this._L$C["update"]=MEvent.bind(this.OA30M,"update",this,this.Q4Wq0);
		this.addControl(new MResizeControl())
	};
	this.Q4Wq0=function()
	{
		if(this.OA30M!=null)
		{
			this.JROSS=this.OA30M.N6$();
			if(this.OA30M.N6$())
			{
				this.img.style.cursor="move";
				this.img.border="2"
			}
			else
			{
				this.img.style.cursor=(W$kh1)?"hand":"pointer";
				this.img.border="0"
			}
			if(this.OA30M.width()>0)
			{
				this.TNB1.style.width=parseInt(this.OA30M.width()*this.ua215);
				this.img.style.width=this.TNB1.style.width;
				this.img.width=this.TNB1.style.width;
				this.TNB1.style.left=parseInt(this.OA30M.width()*this.IE4)
			}
			if(this.OA30M.height()>0)
			{
				this.TNB1.style.height=parseInt(this.OA30M.height()*this.q2X);
				this.img.style.height=this.TNB1.style.height;
				this.img.height=this.TNB1.style.height;
				this.TNB1.style.top=parseInt(this.OA30M.height()*this.y6Y4)
			}
			MEvent.M7R6(this,"update")
		}
		if(this.yw702!=null&&this.JROSS==false)
		{
			this.yw702.hide()
		}
	};
	this.U56i3=function(r2Q1$)
	{
		if(this.OA30M.selected&&this.OA30M.N6$())
		{
			MEvent.M7R6(this,"mousedown",r2Q1$);
			if(vq55y(r2Q1$.target,this.img)&&!this.img.selected)
			{
				this.img.selected=true;
				this.TNB1.offsetX=parseInt(this.TNB1.style.left)-parseInt(r2Q1$.clientX);
				this.TNB1.offsetY=parseInt(this.TNB1.style.top)-parseInt(r2Q1$.clientY)
			}
		}
	};
	this.eO38=function(r2Q1$)
	{
		if(this.OA30M.selected)
		{
			if(this.OA30M.N6$())
			{
				MEvent.M7R6(this,"mousemove",r2Q1$);
				if(this.img.selected)
				{
					this.TNB1.style.left=parseInt(r2Q1$.clientX)+this.TNB1.offsetX;
					this.TNB1.style.top=parseInt(r2Q1$.clientY)+this.TNB1.offsetY
				}
				else
				{
					this.Q4Wq0()
				}
			}
			else
			{
				if(!(this.OA30M.N6$()||vq55y(r2Q1$.target,this.img)))
				{
					this.img.border="0"
				}
			}
		}
	};
	this.$$9_=function(r2Q1$)
	{
		MEvent.M7R6(this,"mouseup",r2Q1$);
		if(this.img.selected)
		{
			this.IE4=parseFloat(this.TNB1.style.left)/parseFloat(this.OA30M.width());
			this.y6Y4=parseFloat(this.TNB1.style.top)/parseFloat(this.OA30M.height())
		}
		this.img.selected=false
	};
	this.Kr$J=function(Jv3x9)
	{
		this.img.border=(Jv3x9)?"2":"0"
	};
	this.E$56=function(_tj,l9_R2,A9E6l)
	{
		if(l9_R2==_$70)
		{
			_tj.style.left=0
		}
		else if(l9_R2==tY4j0)
		{
			_tj.style.left=parseInt(this.TNB1.style.width)-parseInt(_tj.width)+2
		}
		if(A9E6l==Ty59)
		{
			_tj.style.top=0
		}
		else if(A9E6l==y3u6)
		{
			_tj.style.top=parseInt(this.TNB1.style.height)-parseInt(_tj.height)+2
		}
	};
	this.appendChild=function(_tj,l9_R2,A9E6l)
	{
		this.E$56(_tj,l9_R2,A9E6l);
		this.TNB1.appendChild(_tj)
	};
	this.img.onclick=function(r2Q1$)
	{
		if(this.Q7K0Q.JROSS)
		{
			if(this.yw702==null)
			{
				n8$66.show(XY6R$(r2Q1$).clientX,XY6R$(r2Q1$).clientY,this.Q7K0Q)
			}
		}
		else
		{
			window.open(this.Q7K0Q.n0d)
		}
		MEvent.M7R6(this.Q7K0Q,"click",XY6R$(r2Q1$))
	};
	this.img.onmouseover=function(r2Q1$)
	{
		if(this.Q7K0Q.JROSS)
		{
			this.style.cursor="move"
		}
		else
		{
			this.style.cursor=(W$kh1)?"hand":"pointer"
		}
		this.Q7K0Q.Kr$J(true);
		MEvent.M7R6(this.Q7K0Q,"mouseover",true,XY6R$(r2Q1$))
	};
	this.img.onmouseout=function(r2Q1$)
	{
		if(!this.Q7K0Q.JROSS)
		{
			this.Q7K0Q.Kr$J(false)
		}
		MEvent.M7R6(this.Q7K0Q,"mouseout",false,XY6R$(r2Q1$))
	};
	this.img.onload=function()
	{
		this.width=this.style.width;
		this.height=this.style.height
	};
	this.img.src=PBt;
	this.addControl=function(aYC0)
	{
		var i=this.GO2.length;
		this.GO2[i]=aYC0;
		aYC0.S8Q(this);
		this._L$C["ctrl_"+i+"_mouseover"]=MEvent.bind(aYC0,"mouseover",this,this.Kr$J);
		this._L$C["ctrl_"+i+"_mouseout"]=MEvent.bind(aYC0,"mouseout",this,this.Kr$J)
	};
	this.removeControl=function(aYC0)
	{
		for(var i=0;i<this.GO2.length;i++)
		{
			if(this.GO2[i]==aYC0)
			{
				this.GO2[i].vh71();
				this.GO2[i]=null
			}
		}
	};
	this.vh71=function()
	{
		for(var i=0;i<this.GO2.length;i++)
		{
			if(this.GO2[i]!=null)
			{
				this.GO2[i].vh71();
				this.GO2[i]=null
			}
		}
		this.GO2=null;
		for(var gaNF in this._L$C)
		{
			try
			{
				if(this._L$C[gaNF]!=null)
				{
					MEvent.removeListener(this._L$C[gaNF]);
					this._L$C[gaNF]=null
				}
			}
			catch(r2Q1$)
			{
			}
		}
		this._L$C=null;
		this.TNB1.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.Q7K0Q=null;
		this.img=null;
		this.TNB1=null;
		this.OA30M=null
	};
	this.toString=function()
	{
		return "com.mapbar.img.MHotspot"
	};
	this.Co_=function()
	{
		return this.n0d
	};
	this.K0r=function(K1Mj)
	{
		this.n0d=K1Mj
	}
};
function Vgf12()
{
	this.TNB1=document.createElement("div");
	this.TNB1.style.position="absolute";
	this.TNB1.style.width=0;
	this.TNB1.style.height=0;
	this.table=document.createElement("table");
	this.table.border=0;
	this.table.cellPadding=0;
	this.table.cellSpacing=0;
	this.oA03W=document.createElement("input");
	this.oA03W.setAttribute("name","query");
	this.oA03W.setAttribute("type","text");
	this.oA03W.setAttribute("size","40");
	this.oA03W.value=v4Wk("%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.oA03W.onfocus=function()
	{
		if(!this.N4F.Co_())
		{
			this.value=""
		}
	};
	this.k3q8=document.createElement("input");
	this.k3q8.setAttribute("name","query");
	this.k3q8.setAttribute("type","button");
	this.k3q8.value=v4Wk("%u5B8E%uBD9C");
	this.k3q8.yw702=this;
	this.k3q8.onclick=function()
	{
		this.yw702.AU9()
	};
	this.Lb6=document.createElement("input");
	this.Lb6.setAttribute("name","query");
	this.Lb6.setAttribute("type","button");
	this.Lb6.value=v4Wk("%u53D8%uC15E");
	this.Lb6.yw702=this;
	this.Lb6.onclick=function()
	{
		this.yw702.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.oA03W);
	this.table.rows[1].cells[0].appendChild(this.k3q8);
	this.table.rows[1].cells[0].appendChild(this.Lb6);
	this.TNB1.appendChild(this.table);
	this.TNB1.style.visibility="hidden";
	if(W$kh1)
	{
		document.body.appendChild(this.TNB1)
	}
	else
	{
		document.firstChild.appendChild(this.TNB1)
	}
	this.show=function(x,y,N4F)
	{
		this.TNB1.style.zIndex=1000;
		this.TNB1.style.left=x;
		this.TNB1.style.top=parseInt(y)-10;
		if(this.N4F!=null&&this.N4F.yw702!=null)
		{
			this.N4F.yw702=null
		}
		this.N4F=N4F;
		this.N4F.yw702=this;
		this.oA03W.N4F=this.N4F;
		this.oA03W.value=(this.N4F.Co_())?this.N4F.Co_():v4Wk("%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.TNB1.style.visibility="visible"
	};
	this.AU9=function()
	{
		if(this.N4F!=null&&this.N4F.JROSS)
		{
			this.N4F.K0r(this.oA03W.value);
			if(this.N4F!=null&&this.N4F.yw702!=null)
			{
				this.N4F.yw702=null;
				this.N4F=null
			}
		}
		this.TNB1.style.visibility="hidden"
	};
	this.hide=function()
	{
		if(this.N4F!=null&&this.N4F.yw702!=null)
		{
			this.N4F.yw702=null;
			this.N4F=null
		}
		this.TNB1.style.visibility="hidden"
	}
};
var n8$66=new Vgf12();
function E3y()
{
	this.e_jHQ=function(id,Q56,u0a,B44W6,callback)
	{
		Q56=parseInt(Q56);
		u0a=parseInt(u0a);
		B44W6=parseInt(B44W6);
		if(Q56==u0a)
		{
			P8_.B92(Q56,id,u0a,callback);
			return
		}
		this.B92(Q56,id);
		var Fjj09=Math.max(100,Math.round(B44W6/Math.abs(u0a-Q56)));
		var N0b=Math.max(1,Math.abs((u0a-Q56)/(B44W6/Fjj09)));
		var _w9e8=Q56+N0b;
		if(Q56>u0a)
		{
			_w9e8=Q56-N0b
		}
		setTimeout("P8_.e_jHQ('"+id+"',"+_w9e8+","+u0a+","+(B44W6-Fjj09)+",'"+callback+"')",(Fjj09))
	};
	this.XV43=function(id,B44W6)
	{
		if(typeof B44W6=="undefined")
		{
			B44W6=1000
		}
		this.e_jHQ(id,0,100,B44W6)
	};
	this.pc4UA=function(id,B44W6)
	{
		if(typeof B44W6=="undefined")
		{
			B44W6=1000
		}
		this.e_jHQ(id,100,0,B44W6)
	};
	this.B92=function(opacity,id,_uW,callback)
	{
		var pWvW7=document.getElementById(id).style;
		pWvW7.opacity=(opacity/100);
		pWvW7.MozOpacity=(opacity/100);
		pWvW7.$0A08=(opacity/100);
		pWvW7.filter="alpha(opacity="+opacity+")";
		if(opacity==_uW&&callback!=null)
		{
			eval(callback)
		}
	};
	this.Gm54=function(id,od54t,Lf4)
	{
		document.getElementById(id).style.left=parseInt(od54t);
		document.getElementById(id).style.top=parseInt(Lf4)
	};
	this.move=function(id,q12,eeq,od54t,Lf4,B44W6,callback)
	{
		this.Gm54(id,q12,eeq);
		this.panTo(id,od54t,Lf4,B44W6,callback)
	};
	this.panTo=function(id,od54t,Lf4,B44W6,callback)
	{
		od54t=parseInt(od54t);
		Lf4=parseInt(Lf4);
		var q12=parseInt(document.getElementById(id).style.left);
		var eeq=parseInt(document.getElementById(id).style.top);
		B44W6=parseInt(B44W6);
		var i7KL=od54t-q12;
		var SA4=Lf4-eeq;
		if(i7KL==0&&SA4==0)
		{
			if(callback!=null)
			{
				eval(callback)
			}
			return
		}
		var O7451=Math.abs(i7KL)+Math.abs(SA4);
		var sM9=Math.max(5,O7451/(B44W6/100));
		var Fjj09=Math.max(100,Math.round(B44W6/(O7451/sM9)));
		var t524q=i7KL*sM9/O7451;
		var O27q=SA4*sM9/O7451;
		var _3K9=q12+t524q;
		var eQN=eeq+O27q;
		if(O7451<sM9)
		{
			_3K9=od54t;
			eQN=Lf4
		}
		this.Gm54(id,_3K9,eQN);
		setTimeout("P8_.panTo('"+id+"',"+od54t+","+Lf4+","+(B44W6-Fjj09)+",'"+callback+"')",(Fjj09))
	}
};
var P8_=new E3y();
function R2Q25(maplet)
{
	this.cfL=null;
	this.Q4Wq0=function()
	{
		if(this.cfL!=null)
		{
			this.cfL.e1CK2();
			this.cfL=null
		}
		if(hbo)
		{
			this.cfL=new WHn6("/share/update.jsp?"+this.maplet.YGR+"@"+this.maplet.mJW00+"@"+((new Date().getTime())%86400000).toString(36));
			this.cfL.v69();
			this.cfL.YBJ()
		}
	};
	this.stop=function()
	{
		hbo=false;
		if(this.Fjj09!=null)clearInterval(this.Fjj09);
		this.Fjj09=null
	};
	this.vh71=function()
	{
		hbo=false;
		if(this.cfL!=null)
		{
			this.cfL.e1CK2();
			this.cfL=null
		}
		this.cfL=new WHn6("/share/leave.jsp?"+this.maplet.mJW00+"@"+((new Date().getTime())%86400000).toString(36));
		this.cfL.v69();
		this.cfL.YBJ();
		this.cfL=null;
		this.stop();
		MEvent.removeListener(this.jA2G)
	};
	this.start=function()
	{
		this.stop();
		hbo=true;
		this.Fjj09=u$0(this,this.Q4Wq0,5000)
	};
	this.maplet=null;
	if(maplet)
	{
		this.maplet=maplet;
		this.jA2G=MEvent.bind(maplet,"update",this,this.Q4Wq0)
	}
};
function usu(d42)
{
	if(hbo)
	{
		var maplet=document["mapbar-maplet"];
		if(maplet!=null)
		{
			if(maplet.S2g6V!=null&&maplet.S2g6V.length>0)
			{
				for(var i=0;i<maplet.S2g6V.length;i++)
				{
					maplet.removeOverlay(maplet.S2g6V[i]);
					maplet.S2g6V[i]=null
				}
				maplet.S2g6V=new Array()
			}
			if(d42!=null&&d42.length>0)
			{
				d42=sdc(d42);
				var nWT$=d42.split(";");
				var h3qw=0;
				for(var i=0;i<nWT$.length;i++)
				{
					if(nWT$[i]!=null&&nWT$[i].length>0&&nWT$[i].indexOf("@")>0)
					{
						var k39=nWT$[i].split("@");
						var i8o44=k39[0].split("*");
						var a8b$=new MMarker(new MPoint(k39[1]),new MIcon("<img src="+strImgsvrUrl+"images/share/stay.gif width=50 height=50>",50,50),new MInfoWindow(i8o44[1],"content"));
						if(a8b$.$k71)
						{
							a8b$.$k71(k39[0])
						}
						maplet.addOverlay(a8b$);
						maplet.M8L_[k39[0]].pt.pid=k39[1];
						maplet.M8L_[k39[0]].paint();
						maplet.S2g6V[maplet.S2g6V.length]=maplet.M8L_[k39[0]]
					}
				}
			}
		}
	}
};
-->

