_jsload2&&_jsload2('pservice', 'var ji=5;ec.Ou=B.vg("pano")[0];ec.el=ec.Ou+"?";ec.rG=B.vg("baidumap");ec.QP=B.vg("main_domain_nocdn");ec.Wd=new S;ec.lB=[]; z.extend(ec.prototype,{SQ:function(){var a=this,b;for(b in this.xd)if(0!==this.xd[b].length)switch(b){case "getPanoramaById":z.Fb(this.xd[b],function(b){a.ep.apply(a,b)});break;case "getPanoramaByLocation":z.Fb(this.xd[b],function(b){a.kj.apply(a,b)});break;case "getVisiblePOIs":z.Fb(this.xd[b],function(b){a.lE.apply(a,b)});break;case "getRecommendPanosById":z.Fb(this.xd[b],function(b){a.Kx.apply(a,b)});break;case "getPanoramaVersions":z.Fb(this.xd[b],function(b){a.Jx.apply(a,b)});break;case "checkPanoSupportByCityCode":z.Fb(this.xd[b], function(b){a.nC.apply(a,b)});break;case "getPanoramaByPOIId":z.Fb(this.xd[b],function(b){a.Ix.apply(a,b)});break;case "getCopyrightProviders":z.Fb(this.xd[b],function(b){a.o3.apply(a,b)})}},ep:function(a,b,c){this.NH(ec.el+"qt=sdata&l=17&sid="+a+"&fn=",b,c)},kj:function(a,b,c){"function"==typeof b&&(c=b,b=50);a=ec.Wd.kh(a);this.NH(ec.el+"qt=qsdata&x="+a.x+"&y="+a.y+"&r="+b+"&action=1&fn=",c)},lE:function(a,b,c,e){a=ec.Wd.kh(a);this.Tg(ec.el+"qt=search&x="+a.x+"&y="+a.y+"&radius="+b+"&tag="+c+"&fn=", function(a){for(var a=a.content,b=[],c=s,k=a.length-1;0<=k;k--)c=a[k],b.push({iconType:c.Type,title:c.name,altitude:c.Height,panoInfo:{panoId:c.PID,panoIId:c.IID,heading:c.Dir,pitch:c.Pitch},position:ec.Wd.xj(new Q(c.X,c.Y))});e(b)})},Kx:function(a,b){this.Tg(ec.el+"qt=guide&sid="+a+"&fn=",function(a){if(a.content){for(var a=a.content,e=[],f=s,g=0,i=a.length;g