/**/_jsload2&&_jsload2('panoramaflash', 'A.extend(Ra.prototype,{Vi:function(){for(var a=0;aa.pitch&&(a.pitch=-90),this.ld?this.Kr?this.Kq.setPov=a:this.kd.set("pov",a):this.Oa=a)},Xc:function(a){a!=this.Rc&&(a>kf&&(a=kf),ag)return 1}return 0}, CR:function(a){a=a||{};a.movie=a.url||"";a.altHtml=a.errorMessage||"";if(a.vars){var b=a.vars,c=[],e=q,f=q;for(e in b)f=b[e],c.push(e+"="+encodeURIComponent(f));a.flashvars=c.join("&")}a.minVer=a.ver;b=a.minVer;c=a.maxVer;if(b||c)if(e=this.sX(),!e||b&&0>this.fH(e,b)||c&&0");for(b=0;b\');e.push("");return e.join("")}});function fl(a,b){this.W=a;this.yR=b;this.Rh={};this.rz()}A.extend(fl.prototype,{rz:function(){var a=this,b=a.W;b.addEventListener("add_overlay",function(b){b=b.overlay;b.za(a.W,a.yR);a.Rh[b.od]=b});b.addEventListener("remove_overlay",function(b){b=b.overlay;b.remove();delete a.Rh[b.od]})}});A.extend(pf.prototype,{za:function(a,b){this.W=a;this.ma()||this.va(this.W.ma());this.Ha=b;this.ob()},ob:function(){var a=this.ma(),a=Oc.ae.Hg(a),a={markerId:this.od,catalog:"FD01",name:this.Dk(),rank:this.jp(),x:a.x,y:a.y,color:this.Gm(),hoverColor:this.XL,backgroundHoverColor:this.XJ,borderColor:this.borderColor,borderHoverColor:this.aK,backgroundColor:this.backgroundColor,padding:this.padding,fontSize:this.fontSize,borderWidth:this.borderWidth};if(this.cE||this.getImageData())a.imageUrl=this.cE, a.imageData=this.getImageData(),a.size=this.zb(),a.image=this.ox(),a.catalog="FD02",this.zb()&&(a.width=this.zb()[0],a.height=this.zb()[1]);this.Ha.GN(a)},hide:function(){this.Wa=t;this.Ha&&this.Ha.Qo(this.od,"visible",t)},show:function(){this.Wa=p;this.Ha&&this.Ha.Qo(this.od,"visible",p)},isVisible:x("Wa"),Rf:function(a,b){this.Ha&&("position"==a&&(b=Oc.ae.Hg(b),b={lng:b.x,lat:b.y}),this.Ha.Qo(this.od,a,b))},remove:function(){this.dispatchEvent(new P("onremove"),{type:"remove",target:this});this.Ha.BK([this.od])}});var gl={none:"",transit:"FE0A",hotel:"FE02",catering:"FE01",movie:"FE06",indoor_scene:"FEFE"},hl={none:["-1",""],transit:["0","m_transit.png"],hotel:["1","m_hotel.png"],catering:["2","m_catering.png"],movie:["3","m_movie.png"],transit:["4","m_transit.png"],indoor_scene:["5","m_indoor_scene.png"]}; A.extend(sf.prototype,{za:function(a,b){this.W=a;this.Ha=b;this.ob()},ob:function(){var a=this.ma(),a=Oc.ae.Hg(a),b=this.VR(),c=this.ND();this.Ha.GN({markerId:this.od,catalog:b,name:this.rp(),rank:this.jp(),x:a.x,y:a.y,heading:c.heading,pitch:c.pitch,pid:c.panoId,panoIId:c.panoIId})},VR:function(){var a=this.lp().match(/.*\\/(.*)/)[1],b;for(b in hl)if(hl[b][1]==a)return gl[b]},hide:function(){this.Wa=t;this.Ha.Qo(this.od,"visible",t)},show:function(){this.Wa=p;this.Ha.Qo(this.od,"visible",p)},isVisible:x("Wa"), Rf:function(a,b){"position"==a&&(b=Oc.ae.Hg(b),b={lng:b.x,lat:b.y});this.Ha.Qo(this.od,a,b)},remove:function(){this.dispatchEvent(new P("onremove"),{type:"remove",target:this});this.Ha.BK([this.od])}});dl.mo=new Oc(q,{Ye:"api"});function dl(a){A.lang.Ja.call(this);a&&(this.W=a,this.Yg=q,this.sH=a.R.clientWidth,this.rH=a.R.clientHeight,new fl(a,this))}dl.JP=D.mi("pano");A.lang.xa(dl,A.lang.Ja,"PanoramaFlashWraper"); A.extend(dl.prototype,{GN:function(a){this.Fs("addMarkers",[a])},BK:function(a){this.Fs("removeMarkers",[a])},Qo:function(a,b,c){var e={};e.markerId=a;e[b]=c;this.set("markerProperty",e)},get:function(a){var b=q;"position"==a?(b=this.Yg.get("mercatorPosition"),b=Oc.ae.Ej(new R(b.mercatorX,b.mercatorY))):b=this.Yg.get(a);return b},set:function(a,b){var c=this;"position"==a?dl.mo.tj(b,function(a){a&&a.id?c.W.Gc(a.id):c.dispatchEvent(new P("pano_error"))}):"id"==a?c.Yg==q?c.AS(c.W):c.Yg.set&&c.Yg.set("panoOptions", {id:b.id,panoType:b.type,width:c.sH,height:c.rH}):c.Yg&&c.Yg.set&&c.Yg.set(a,b)},Fs:function(a,b){return this.Yg.doAction(a,b)},J3:x("wr"),AS:function(a){var b=this,c=a.m.swfSrc.match(/.*\\//)[0]+"BDStreetScape.swf";b.Yg=p;dl.mo.xx(function(e){var f="",g="";"inter"===a.Pe?g=a.hb:f=a.hb;f={pid:f,iid:g,panoType:a.Pe,heading:a.Oa.heading,pitch:a.Oa.pitch,width:b.sH,height:b.rH,panoUrl:c,panoTileUrl:dl.JP.join("|"),domain:Oc.Mu,jsInterfaceNamespace:"BMap.PanoramaFlashInterface",swfIndex:b.da};g=a.m.swfSrc; e&&(e.panoUdt&&e.panoUdt.version&&f)&&(f.udtVersion=e.panoUdt.version);e&&(e.panoSwfAPI&&e.panoSwfAPI.version&&f)&&(f.panoUrl=f.panoUrl+"?version="+e.panoSwfAPI.version,g=g+"?version="+e.panoSwfAPI.version);b.Yg=b.UQ(a.R,f,g)})},UQ:function(a,b,c){var e=new el,f="PanoramaFlash"+this.da,g=q,g=H("div");g.style.position="absolute";g.id="PanoramaFlashWraper"+this.da;g.style.top="0";g.style.left="0";g.style.height="100%";g.style.width="100%";g.style.zIndex=1200;this.wr=g;a.appendChild(g);e.create({id:f, width:"100%",height:"100%",allowscriptaccess:"always",scale:"showall",wmode:"opaque",quality:"best",url:c,ver:"10.2",errorMessage:"\\u60a8\\u672a\\u5b89\\u88c5Flash Player\\u64ad\\u653e\\u5668\\u6216\\u8005\\u7248\\u672c\\u8fc7\\u4f4e",vars:b},g);return e.HL(f)}});var il=dl.prototype;V(il,{get:il.get,set:il.set,doAction:il.Fs}); ');