サンドラッグ　万力店 | リアップX5プラスネオ取扱店検索｜大正製薬
リアップX5プラスネオ取扱販売店検索
検索トップ
>
山梨県
>
山梨市
>
サンドラッグ　万力店
※薬剤師が不在の場合は販売できません。
印刷する
サンドラッグ　万力店
住所
〒405-0031 山梨県山梨市万力77番 [ ←地図の中心にする ]
電話番号
0553-21-7027
最初の位置へ
地図について
×Close
地図について
一部収録していない地図、地点があります。ご了承ください。
本サービスで表示する地図の作成にあたっては、国土地理院長の承認を得て､同院発行の数値地図250mメッシュ(標高)を使用しております｡
(承認番号 平15総使第76号)
株式会社ゼンリン地図の作成にあたっては、国土地理院長の承認を得て、同院発行の50万分の1地方図及び2万5千分の1地形図を使用しております。
(承認番号平26情使、第244－B34号)
また、一般財団法人日本デジタル道路地図協会発行の全国デジタル道路地図データベース((c)2012一般財団法人日本デジタル道路地図協会)を基に株式会社ゼンリンが追加・加工したものを使用しています。
(測量法第44条に基づく成果使用承認12-162N)
閉じる
周辺の店舗（周囲10キロ）
{{/if}}
{{:name}}
{{:address_name}}
{{distanceConverter:distance}}
出発地を入力してルート検索
車や電車のルートを検索できます
×Close
候補からスポットを選択してください
駅
住所
入力したキーワードに該当する '駅' が見つかりませんでした
入力したキーワードに該当する 'バス停' が見つかりませんでした
入力したキーワードに該当する '住所' が見つかりませんでした
入力したキーワードに該当する '施設' が見つかりませんでした
{{/for}} {{/for}} {{if categories && true}} <{{:categories[0].name}}> {{/if}} {{:address_name}}
最寄駅からの徒歩ルート
{{:gateway}} ({{distanceConverter:distance}}) {{if time}} 約 {{timeConverter:time}} {{/if}}
最寄ICからの車ルート
{{getIcUpDown:name}} {{getIcInOut:name}} ({{distanceConverter:distance}}) {{timeConverter:time}}
スマートフォンからも見られる！
スマートフォンで店舗情報を確認することができます
Powered by
/g,">").replace(/"/g,""").replace(/'/g,"'");return A}function unescapeHtml(A){A=A.replace("&","&").replace("<","<").replace(">",">").replace(""",'"').replace("'","'");return A}function unescapeAllHtml(A){A=A.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'");return A}function selectMultiJson(A,B){if(typeof A[B]==="undefined"){return{}}return A[B]}function addRefererParam(A,B){if(typeof A==="undefined"||A===null||typeof B==="undefined"||B===null){return A}if(A.toString().indexOf("?")===-1){A=A+"?_from="+B}else{A=A+"&_from="+B}return A}function setJsonCookie(A){$.cookie.json=A}function getCookie(A){return $.cookie(A)}function addCookie(B,C,A){$.cookie(B,C,A);return }function createAddressInitialData(D){var C=getRequestParameter(),A={};var B=(C.lang&&C.lang!=="ja")?"en":"ja";if(!B||B==="ja"){A.addressList={a:[],k:[],s:[],t:[],n:[],h:[],m:[],y:[],r:[],w:[]},initialList={a:["あ","い","う","え","お"],k:["か","き","く","け","こ","が","ぎ","ぐ","げ","ご"],s:["さ","し","す","せ","そ","ざ","じ","ず","ぜ","ぞ"],t:["た","ち","つ","て","と","だ","ぢ","づ","で","ど"],n:["な","に","ぬ","ね","の"],h:["は","ひ","ふ","へ","ほ","ば","び","ぶ","べ","ぼ","ぱ","ぴ","ぷ","ぺ","ぽ"],m:["ま","み","む","め","も"],y:["や","ゐ","ゆ","ゑ","よ"],r:["ら","り","る","れ","ろ"],w:["わ","を","ん"]}}else{A.addressList={a:[],b:[],c:[],d:[],e:[],f:[],g:[],h:[],i:[],j:[],k:[],l:[],m:[],n:[],o:[],p:[],q:[],r:[],s:[],t:[],u:[],v:[],w:[],x:[],y:[],z:[]}}if(!B||B==="ja"){$.each(D,function(F,G){var E=G.address.ruby.substr(0,1);if($.inArray(E,initialList.a)>-1){A.addressList.a.push(G)}else{if($.inArray(E,initialList.k)>-1){A.addressList.k.push(G)}else{if($.inArray(E,initialList.s)>-1){A.addressList.s.push(G)}else{if($.inArray(E,initialList.t)>-1){A.addressList.t.push(G)}else{if($.inArray(E,initialList.n)>-1){A.addressList.n.push(G)}else{if($.inArray(E,initialList.h)>-1){A.addressList.h.push(G)}else{if($.inArray(E,initialList.m)>-1){A.addressList.m.push(G)}else{if($.inArray(E,initialList.y)>-1){A.addressList.y.push(G)}else{if($.inArray(E,initialList.r)>-1){A.addressList.r.push(G)}else{if($.inArray(E,initialList.w)>-1){A.addressList.w.push(G)}}}}}}}}}}});A.existInitials=[];$.each(initialList,function(E,F){if(A.addressList[E].length>0){A.existInitials.push({initial_view:F[0],initial_en:E})}})}else{$.each(D,function(F,G){var E=G.address.name.substr(0,1).toLowerCase();A.addressList[E].push(G)});A.existInitials=[];$.each(A.addressList,function(E,F){if(F.length>0){A.existInitials.push({initial_view:E.toUpperCase(),initial_en:E})}})}$.each(A.addressList,function(E,F){if(E.length>0){A.addressList[E]=sortByRuby(F)}});return A}function sortByRuby(C){var B={},F=[],A=[],E=getRequestParameter();var D=(E.lang&&E.lang!=="ja")?"en":"ja";$.each(C,function(I,H){var G=null;if(!D||D==="ja"){G=H.address.ruby}else{G=H.address.name}B[G]=H;F.push(G)});F.sort();$.each(F,function(H,G){A.push(B[G])});return A}window.sendAccessLog=function(A){$.ajax({type:"HEAD",url:"//pkg.navitime.co.jp/citrus/log/log.html?"+$.param(A),cache:false,async:false});fireGTMEvent(A,"citrus-event-search")};function fireGTMEvent(B,A){dataLayer.push({params:B,event:A})}function fireGTMCVEvent(A){if(A.action==="imp"){setTimeout(function(){fireGTMEvent(A,"citrus-event-log")},Math.random()*1000)}else{fireGTMEvent(A,"citrus-event-log")}if(getRequestParameter()["eventcheck"]==="true"){console.log(A.action+": "+A.label);console.log(A)}}function trimAndNormalize(A){return A.trim().replace(/\s\s+/g," ")}(function(F){var J=[],E={datum:"wgs84",type:"station",coord:"35.686503,138.667706",limit:"5",add:"detail",option:"to_gateway"},D="5",C=null,I="drawroute",B=[],A=false,H="0000004732";function L(M){if("walk"==="car"){F.each(M,function(O,P){P.time=Math.round(P.time/6)})}F.each(M,function(O,P){if(P.details!==undefined){P.linkId=P.details[0].link.id}else{P.linkId=O}if(A){var Q=P.name.split(" ");if(Q.length<=1){return }if(P.details===undefined){return }F.each(P.details,function(S,R){Q[0]=Q[0].replace("（","(").replace("）",")");Q[1]=Q[1].replace("（","(").replace("）",")");R.company.name=R.company.name.replace("（","(").replace("）",")");R.link.name=R.link.name.replace("（","(").replace("）",")");if(R.company.name==Q[0]&&R.link.name==Q[1]){P.linkId=R.link.id;return }})}});F("#w_7_aroundstation_1_2-stations").append(F("#w_7_aroundstation_1_2-station-template").render(M));if(M.length>0){F("#w_7_aroundstation_1_2-not-found").hide()}else{var N="約 5 km 圏内に駅が見つかりませんでした";F("#w_7_aroundstation_1_2-not-found").text(N);F("#w_7_aroundstation_1_2-not-found").show()}}if(!A){if("by_link_double"!=="default"){E.option+=".by_link"}if("walk"==="walk"){C=D/5*60}else{if("walk"==="car"){C=D/5*6*60}}E.term=Math.round(C);E["_detail-only-link"]=true;getJsonData("//maps.taisho.co.jp/riup/api/proxy1/transport/node/around",E,function(M){L(M.items)})}else{nodes=F.parseJSON("${SpotDetailBean.aroundJson}").nodes;var K=[];nodes.forEach(function(O){O.id=O.node_id;var P=new F.Deferred;K.push(P.promise());if(O.extra){var M=O.extra;if(M.link_name&&M.company_name&&"by_link_double"!=="default"){O.name=M.company_name+" "+M.link_name+" "+O.name}if(M.gateway){O.gateway=M.gateway}if(M.route_type){O.route_type=M.route_type}}var N=O.route?O.route:null;B.push(N);if("false"==="true"){getJsonData("//maps.taisho.co.jp/riup/api/proxy1/transport/node",{id:O.node_id,add:"detail"},function(Q){O.details=Q.items[0].details;P.resolve()})}else{P.resolve()}});F.when.all(K).done(function(){L(nodes)})}F("#w_7_aroundstation_1_2-stations").on("click",".w_7_aroundstation_1_2-around-station",function(W){var X=W.target;if(X.parentElement.className=="w_7_aroundstation_1_2-td-infomation-route"){return }var Y=F(this).attr("nt-lat"),M=F(this).attr("nt-lon"),O=F(this).attr("nt-id"),Q=F("meta[name=deviceType]").attr("content"),N=F(this).find(".w_7_aroundstation_1_2-td-name").text().trim(),P=new navitime.geo.LatLng(F(this).attr("nt-lat"),F(this).attr("nt-lon")),a=new navitime.geo.LatLng(35.686503,138.667706),V=F(".w_7_aroundstation_1_2-around-station").index(this),c=null,U=null,T=false,Z=F(this).attr("nt-route-type"),b=Z==="order"?1:0,S={widget:"w_7_aroundstation_1_2",id:O,name:N,lat:Y,lon:M,code:H};if(V in B&&B[V]!==null){c=B[V];U=JSON.stringify(c);T=true}gaTrackEvent("w_7_aroundstation_1_2",document.title,"最寄り駅からのルート表示/最寄駅",N);sendAccessLog(S);F(".route-active").removeClass("route-active");F(this).addClass("route-active");navitimeMap.config.name=N;if(I==="movepage"){location.href="//maps.taisho.co.jp/riup/spot/detail/map"+location.search+"&start="+Y+","+M+"&walk=only"}viewLoading(".navitimeMap");var R=new navitime.geo.service.RouteSearchService();if(navitimeMap.parts.routes.length!==0){navitimeMap.deleteRoute(navitimeMap.parts.routes)}if(T&&Z==="line"){navitimeMap.drawLine(P,a,c);clearLoading();navitimeMap.fitZoom([P,a])}else{searchRoute(P,a,U,"walk",b).done(function(d){if("walk"==="total"){navitimeMap.drawRoute(d,N)}else{navitimeMap.drawRoute(d,G("walk"),false,N,T)}clearLoading();navitimeMap.fitZoom([P,a])})}navitimeMap.hideInfoWindow();navitimeMap.deletePin("start");navitimeMap.deletePin("goal");navitimeMap.dropPin("start",{icon:"//maps.taisho.co.jp/riup/resources/img/common/center_pin_start.png",draggable:false,map:navitimeMap.map,position:P})});F("#w_7_aroundstation_1_2-stations").on("touchstart",".w_7_aroundstation_1_2-around-station",function(){F(this).css("background-color","rgba(242,242,242,1)")});F("#w_7_aroundstation_1_2-stations").on("touchend",".w_7_aroundstation_1_2-around-station",function(){F(this).css("background-color","rgba(255,255,255,0)")});function G(M){if(M==="car"){return"10"}else{if(M==="walk"){return"255"}}return"255"}})(jQuery);(function(B){var C={datum:"wgs84",coord:"35.686503,138.667706",limit:"5",radius:"20"*1000},A="drawroute";if("exit"!=="both"){C.type="exit"}getJsonData("//maps.taisho.co.jp/riup/api/proxy1/drive/ic/around",C,function(E){E.items.forEach(function(F){if(F.road_info&&F.road_info.mnavi_code===2){F.tollRoad="2"}else{F.tollRoad="-1"}});B("#w_7_aroundic_1_2-ics").append(B("#w_7_aroundic_1_2-ic-template").render(E.items));if(E.items.length>0){B("#w_7_aroundic_1_2-not-found").hide()}else{var D="約 20 km 圏内に IC が見つかりませんでした";B("#w_7_aroundic_1_2-not-found").text(D);B("#w_7_aroundic_1_2-not-found").show()}});B("#w_7_aroundic_1_2-ics").on("click",".w_7_aroundic_1_2-around-ic",function(N){var O=N.target;if(O.parentElement.className=="w_7_aroundic_1_2-td-infomation-route"){return }var Q=B(this).attr("nt-lat"),E=B(this).attr("nt-lon"),G=B(this).attr("nt-code"),S=B(this).attr("tollRoad"),H=B("meta[name=deviceType]").attr("content"),R=true,L=B(".w_7_aroundic_1_2-around-ic").index(this),D=B(".w_7_aroundic_1_2-td-label")[L].innerHTML.trim(),K=B(".w_7_aroundic_1_2-td-in-out"),P="",M="exit",J={widget:"w_7_aroundic_1_2",code:G,name:D,lat:Q,lon:E};gaTrackEvent("w_7_aroundic_1_2",document.title,"最寄りICからのルート表示/最寄IC",D);sendAccessLog(J);B(".route-active").removeClass("route-active");B(this).addClass("route-active");if(K.length>0){P=K[L].innerHTML.trim()}if(A==="movepage"){location.href="//maps.taisho.co.jp/riup/spot/detail/map"+location.search+"&car=only&start="+Q+","+E+""}if(D.match(/.*入口$/)||P==="入口"||M==="entrance"){R=false}var F={latlng:new navitime.geo.LatLng("35.686503","138.667706")},I={latlng:new navitime.geo.LatLng(B(this).attr("nt-lat"),B(this).attr("nt-lon")),};B.ajaxPrefilter(function(T,V,U){if(V.type.toLowerCase()=="get"){T.data=jQuery.param(B.extend(V.data||{},{timeStamp:new Date().getTime()}))}});I.tollLoad=S;navitimeMap.config.name=D.trim();if(!R){start=F;goal=I;if(S===2){navitimeMap.config.toll="goal"}}else{start=I;goal=F;if(S===2){navitimeMap.config.toll="start"}}viewLoading(".navitimeMap");if(navitimeMap.parts.routes.length!==0){navitimeMap.deleteRoute(navitimeMap.parts.routes)}navitimeMap.parts.routes.push(navitimeMap.drawPolyline(start,goal,10,true,D));clearLoading();navitimeMap.hideInfoWindow();navitimeMap.deletePin("start");navitimeMap.deletePin("goal");if(!R){navitimeMap.dropPin("goal",{icon:"//maps.taisho.co.jp/riup/resources/img/common/center_pin_goal.png",draggable:false,map:navitimeMap.map,position:goal.latlng})}else{navitimeMap.dropPin("start",{icon:"//maps.taisho.co.jp/riup/resources/img/common/center_pin_start.png",draggable:false,map:navitimeMap.map,position:start.latlng})}});B("#w_7_aroundic_1_2-ics").on("touchstart",".w_7_aroundic_1_2-around-ic",function(){B(this).css("background-color","rgba(242,242,242,1)")});B("#w_7_aroundic_1_2-ics").on("touchend",".w_7_aroundic_1_2-around-ic",function(){B(this).css("background-color","rgba(255,255,255,0)")})})(jQuery);(function(E){var P={datum:"wgs84",coord:35.686503+","+138.667706,radius:Number("10")*1000,limit:Number("3")+1},K=null,C=false,S="viewinfo",M=null,L=[],G="distance",R=false,F=false;if("internal"=="external"){var C=true}E.each("".split("&"),function(T,U){P[U.split("=")[0]]=U.split("=")[1]});P["use-group"]="self";addDcCondition({},P);addDefaultCondition({details:[{code:"00006",visible:false,parameter:"d6",value:"either"},{code:"00001",visible:true,parameter:"d1",value:"either"},{code:"00002",visible:true,parameter:"d2",value:"either"},{code:"00005",visible:false,parameter:"d5",value:"true"},{code:"00004",visible:false,parameter:"d4",value:"either"},{code:"00008",visible:false,parameter:"d8",value:"either"},{code:"00003",visible:false,parameter:"d3",value:"either"},{code:"00007",visible:false,parameter:"d7",value:"either"}]},P);getJsonData("//maps.taisho.co.jp/riup/api/proxy2/shop/list",P,function(U){var T=null;K=U.items;E.each(K,function(V,W){if(W.code==="0000004732"){T=V;return }});if(T!==null){K.splice(T,1)}else{if(K.length>=P.limit){K.splice(K.length-1,1)}}if(!R){A()}E("#w_7_nearbyshop_1_2-spots").append(E("#w_7_nearbyshop_1_2-spot-template").render(K));if(K.length>0){E("#w_7_nearbyshop_1_2-not-found").hide()}else{E("#w_7_nearbyshop_1_2-not-found").text("最寄店舗が見つかりませんでした");E("#w_7_nearbyshop_1_2-not-found").show()}E(document).trigger("shops:loaded")});E("#w_7_nearbyshop_1_2-spots").on("click",".w_7_nearbyshop_1_2-spot",function(T){if(F&&!E(T.target).hasClass("w_7_nearbyshop_1_2_spotIconButton")){return }J(this)});E(document).on("map:loaded shops:loaded",function(){if(O==null||R){return }var T=navitimeMap.parts.pins.aroundPins.length;E.each(O,function(U,V){if("cate"==="none"){return }navitimeMap.dropPin("around",Q(V),"touchend click",function(){gaTrackEvent("w_7_nearbyshop_1_2",document.title,"infoWindowを開く/周辺店舗",V.name);if(!navitimeMap.parts.infoWindow){navitimeMap.viewInfoWindow(B(V))}else{navitimeMap.changeInfoContent(D(V),V.coord.lat,V.coord.lon,true)}changeAroundPinZIndex(U+T)})});R=true});function Q(T){return{icon:T.icon,draggable:false,map:navitimeMap.map,title:T.name,position:new navitime.geo.LatLng(T.coord.lat,T.coord.lon),iconPosition:navitime.geo.ControlPosition.CENTER,zIndex:T.zindex}}function B(T){return{map:navitimeMap.map,position:new navitime.geo.LatLng(T.coord.lat,T.coord.lon),content:D(T),zIndex:200,pixelOffset:{x:0,y:0}}}E("#w_7_nearbyshop_1_2-spots").on("touchstart",".w_7_nearbyshop_1_2-spot",function(){E(this).css("background-color","rgba(242,242,242,1)")});E("#w_7_nearbyshop_1_2-spots").on("touchend",".w_7_nearbyshop_1_2-spot",function(){E(this).css("background-color","rgba(255,255,255,0)")});function D(Y){var W=E('
'),V=E("
"),Z=E("
"),U=E(""),a=E('
'),T=E('
'),X=E('
');V.text(Y.name);if(Y.address_name){Z.append(Y.address_name+"
")}if(Y.phone){Z.append(Y.phone+"
")}if(M){T.append(' ');X.append(M[0]["forecasts"][0].name+"
");Z.append(T);Z.append(X)}U.addClass("pull-right");if(C&&Y.external_url){U.attr("href",Y.external_url)}else{U.attr("href","//maps.taisho.co.jp/riup/spot/detail?code="+Y.code+"")}U.attr("target","_self");U.text("詳細情報");Z.append(U);W.append(V);W.append(a);W.append(Z);return W[0]}function N(W,X){var U=0,Y=0,V="center";if(V==="left"){U=E("#w_7_nearbyshop_1_2-widget").outerWidth(true)/(-2)}else{if(V==="right"){U=E("#w_7_nearbyshop_1_2-widget").outerWidth(true)/2}else{if(V==="top"){Y=E(".navitimeMap").height()/(-4)}else{if(V==="bottom"){Y=E(".navitimeMap").height()/4}}}}var T=navitimeMap.getMovedLatLng(U,Y,W,X);navitimeMap.panTo(T.lat,T.lon)}function I(U,W){var T=new E.Deferred(),V={coord:U+","+W,forecast:"daily"};getJsonData("//maps.taisho.co.jp/riup/api/proxy1/weather",V,function(X){M=X.items;T.resolve()});return T.promise()}function H(U,W){var V=null;if("cate"!=="none"&&"cate"!=="around"){E.each([],function(X,Y){if(W.code.indexOf(Y.prefix_code)!==0){return true}if(!("icon" in Y.information)){return false}V=Y.information.icon})}if(V!==null){return{path:V,zIndex:100}}if("cate"==="cate"&&W.categories&&W.categories[0]&&W.categories[0].image_path){V=W.categories[0].image_path}else{if("cate"==="map"&&"//image.pkg.navitime.co.jp/citrus/218/other_image/riup_logo_new.png"!==""){V="//image.pkg.navitime.co.jp/citrus/218/other_image/riup_logo_new.png"}else{var T=parseInt(U)+1;if(T.toString().length===1){V="//maps.taisho.co.jp/riup/resources/img/common/map_icon/icon_map_spot_0"+T+"_blue.png"}else{V="//maps.taisho.co.jp/riup/resources/img/common/map_icon/icon_map_spot_"+T+"_blue.png"}}}return{path:V,zIndex:150}}var O=null;function A(){if(K==null||R){return }var T=null;E.each(K,function(U,W){if(false){I(W.coord.lat,W.coord.lon)}if("cate"==="none"){return }T=H(U,W);W.icon=T.path;var V;if(G==="category"){if(W.categories&&W.categories[0]){V=100-getCategoryListNo(L,W.categories[0].code)}}else{V=T.zIndex-U}W.zindex=V});O=K}function J(c){var b=E(c).attr("nt-lat"),T=E(c).attr("nt-lon"),W=E(c).attr("nt-code"),X=E("meta[name=deviceType]").attr("content"),a=E(".w_7_nearbyshop_1_2-spot").index(c),V=K[a],U=E(c).find(".w_7_nearbyshop_1_2-td-name").text().trim(),Y={widget:"w_7_nearbyshop_1_2",code:W,name:U,lat:b,lon:T};gaTrackEvent("w_7_nearbyshop_1_2",document.title,"店舗を表示/最寄り店舗",U);sendAccessLog(Y);E(".route-active").removeClass("route-active");E(this).addClass("route-active");if(S==="movepage"){var d=C?V.external_url:"//maps.taisho.co.jp/riup/spot/detail?code="+V.code+"";if("_self"==="_blank"){window.open(d,"_blank")}else{if("_self"==="_top"){top.location.href=d}else{if("_self"==="_parent"){parent.location.href=d}else{location.href=d}}}return }if(X==="SMART_PHONE"&&C&&V.external_url){window.location.href=V.external_url;return }var Z=new navitime.geo.LatLng(b,T);if(!navitimeMap.parts.infoWindow){navitimeMap.viewInfoWindow({map:navitimeMap.map,position:Z,content:D(V),zIndex:200})}else{navitimeMap.changeInfoContent(D(V),V.coord.lat,V.coord.lon,true)}changeAroundPinZIndex(a);N(b,T)}})(jQuery);var navitimeMap={};if(parseStrToBool("false")){$("#w_7_detailmap_1_1-widget").parent().css("height","").css("overflow","")}navitimeMap.parts={defaultPosition:null,pins:{startPin:null,goalPin:null,aroundPins:[],currentPin:null,guidePin:null},start:null,goal:null,routes:[],infoWindow:null,anotherInfoWindow:null,nameWindow:null,defaultPositionButton:$("#w_7_detailmap_1_1-button-default-position"),polygon:{}};navitimeMap.config={method:null,routeIndex:null};navitimeMap.map=(function(){var J=JSON.parse('{"request":{"members":{"code":"0000004732"}},"coord":{"members":{"lon":138.667706,"lat":35.686503}}}'),D=J.request.members,F={disableZoomBar:!parseStrToBool("true"),wheelzoom:parseStrToBool("true")};var H="null";if(H!=""&&H!="null"){F.hidden=H}var E="36.27085,138.054199";if(E!=""){var K=E.split(",");navitimeMap.parts.defaultPosition=new navitime.geo.LatLng(parseFloat(K[0]),parseFloat(K[1]))}else{navitimeMap.parts.defaultPosition=new navitime.geo.LatLng(35.689614,139.691634)}if(D.coord){var I=D.coord.split(",")[0],C=D.coord.split(",")[1];navitimeMap.parts.defaultPosition=new navitime.geo.LatLng(I,C)}if(J.coord){navitimeMap.parts.defaultPosition=new navitime.geo.LatLng(J.coord.members.lat,J.coord.members.lon)}if("ah-store"==="riup"||"ah-store_test"==="riup"){F.url="//geo.alt.navitime.biz/map/"}var G="";if(G!=""){F.url=G}var B=new navitime.geo.Map("w_7_detailmap_1_1-map",navitimeMap.parts.defaultPosition,Number("17"),F);if(!parseStrToBool("true")){B.disableTouchPanel()}if(parseStrToBool("false")){var A=new navitime.geo.parts.CenterMarker();A.setMap(B)}return B})();navitimeMap.drawRoute=function(I,A,C,B,F,K,H,L,G,D,E,J){if(typeof C==="undefined"){C=true}if(typeof F==="undefined"){F=false}if(A!=null&&!F){if("riup"==="tokyo-marathon"||"riup"==="tokyo-marathon-sp"||"riup"==="mgc"||"riup"==="mgc-sp"||"riup"==="ah-store"||"riup"==="ah-store_test"){navitimeMap.drawPolylineForAltile(I.summary.start,I.summary.goal,A,C,B,K,H,L).done(function(M){navitimeMap.parts.routes.push(M)})}else{if(G){navitimeMap.drawPolylineForAltile(I.summary.start,I.summary.goal,A,C,B,K,H,L,G,D,E,J).done(function(M){navitimeMap.parts.routes.push(M)})}else{navitimeMap.parts.routes.push(navitimeMap.drawPolyline(I.summary.start,I.summary.goal,A,C,B,K,H))}}return }$.each(I.sections,function(M,N){if(N.type==="point"){return true}if((N._method>=1&&N._method<=8)||N._method===11||N._method===12||N._mthod===17||N._mthod===19){return true}if("riup"==="tokyo-marathon"||"riup"==="tokyo-marathon-sp"||"riup"==="mgc"||"riup"==="mgc-sp"||"riup"==="ah-store"||"riup"==="ah-store_test"){navitimeMap.drawPolylineForAltile(I.sections[M-1],I.sections[M+1],N._method,C,B,K,H,L).done(function(O){navitimeMap.parts.routes.push(O)})}else{navitimeMap.parts.routes.push(navitimeMap.drawPolyline(I.sections[M-1],I.sections[M+1],N._method,C,B,K,H))}})};navitimeMap.drawPolyline=function(C,I,A,D,B,K,H){var F={method:A},E=new navitime.geo.service.RouteSearchService(),J=new navitime.geo.layer.PolylineLayer({displayArrow:true});navitimeMap.parts.start=C;navitimeMap.parts.goal=I;navitimeMap.parts.name=B;navitimeMap.config.method=A;J.setDisplayAllRoute(D);J.setMap(navitimeMap.map);if(typeof C.latlng==="undefined"){F.startPos=new navitime.geo.LatLng(C.coord.lat,C.coord.lon);F.endPos=new navitime.geo.LatLng(I.coord.lat,I.coord.lon)}else{F.startPos=C;F.endPos=I}var G=getRequestParameter()["toll"];if(typeof G!=="undefined"){if(G==="start"){F.startPos.tollLoad=2}else{if(G==="goal"){F.endPos.tollLoad=2}}}if(A===10||A===129){F.queryParameter={smic:"1"}}if(parseStrToBool("false")){if(A===10){F.endPos.alongside=1}}if(K){F.searchtime=K;if(H==="0"){F.basis="goal"}else{if(H==="1"){F.basis="start"}}}E.draw(F,J);navitimeMap.viewDefaultPositionButton(true);navitimeMap.config.method=A;return J};navitimeMap.drawPolylineForAltile=function(C,I,B,L,R,E,O,A,M,K,D,H){navitimeMap.parts.start=C;navitimeMap.parts.goal=I;navitimeMap.parts.name=R;navitimeMap.config.method=B;var Q=new $.Deferred(),P={start:C.coord.lat+","+C.coord.lon,goal:I.coord.lat+","+I.coord.lon,limit:4,datum:"wgs84",no:A?A:1},F=E?moment(E,"YYYYMMDDHHmmss").format("YYYY-MM-DDTHH:mm:ss"):moment().format("YYYY-MM-DDTHH:mm:ss"),N="#00FFFA",G="#00FA46";if(getRequestParameter().isConstructionDate){F="2020-11-22T11:30:00"}if(O==="1"){P["start-time"]=F}else{P["goal-time"]=F}if(B===10||B===129){P.car="only.multi.turn";P["car-route"]="smic";if(M!==undefined){P["car-regulation"]=encodeURI("{regulation-type:8, toll-type:4}")}}else{if(B===255){P.walk="only"}}if(K){P["use-traffic"]=K}if(D){P["additional-traffic-restriction"]=D;P["move-priority"]="car_recommend"}var J=[];J.push(getJsonData("//maps.taisho.co.jp/riup/api/proxy1/route/shape",P));J.push(getJsonData("//maps.taisho.co.jp/riup/api/proxy1/route/shape",$.extend(P,{no:1})));$.when.all(J).done(function(U){var c=U[0];if(!c||!c.features||c.features.length===0){c=U[1]}navitimeMap.parts.kiseiToppaOrvWindow=null;navitimeMap.parts.kiseiToppaArvWindow=null;if("${variables.w_7_routeresult_1_1_marathonFukidashiFlg}"=="true"||"${variables.w_7_mapcontrol_1_1_marathonFukidashiFlg}"=="true"){function a(g){var f=$('
'),d=$(" ");d.on("load",function(){var h={widget:"w_7_mapcontrol_1_1",identifier:g.id,action:"imp"};fireGTMEvent(h,"citrus-track-event")});if(g.link){f.on("click touchstart",function(){var h={widget:"w_7_mapcontrol_1_1",identifier:g.id,action:"click"};fireGTMEvent(h,"citrus-track-event");location.href=g.link})}d.attr("src",g.path);f.append(d);return f[0]}function S(h){var g=$('
'),d=$(" ");d.on("load",function(){var i={widget:"w_7_routeresult_1_1",identifier:h.id,action:"imp"};fireGTMEvent(i,"citrus-track-event")});if(h.link){var f=$("");f.attr("href",h.link);f.attr("target","${variables.w_7_routeresult_1_1_destinationTarget}");f.on("click touchstart",function(){var i={widget:"w_7_routeresult_1_1",identifier:h.id,action:"click"};fireGTMEvent(i,"citrus-track-event")});g.append(f)}d.attr("src",h.path);if(f){f.append(d)}else{g.append(d)}return g[0]}function T(g,i){var l=35.715211,d=139.807677,f=35.625489,h=139.684811,j=parseFloat(g),k=parseFloat(i);if(j>l){return false}if(jd){return false}if(k";if("${variables.w_7_routeresult_1_1_marathonFukidashiFlg}"=="true"){j.content=S(JSON.parse("${variables.w_7_routeresult_1_1_startFukidashiInfo}"))}if("${variables.w_7_mapcontrol_1_1_marathonFukidashiFlg}"=="true"){j.content=a(JSON.parse("${variables.w_7_mapcontrol_1_1_startFukidashiInfo}"))}navitimeMap.parts.kiseiToppaOrvWindow=new navitime.geo.overlay.InfoWindow(j)}}if(f){if(T(f.getLat(),f.getLng())){j.position=f;j.content="
";if("${variables.w_7_routeresult_1_1_marathonFukidashiFlg}"=="true"){j.content=S(JSON.parse("${variables.w_7_routeresult_1_1_goalFukidashiInfo}"))}if("${variables.w_7_mapcontrol_1_1_marathonFukidashiFlg}"=="true"){j.content=a(JSON.parse("${variables.w_7_mapcontrol_1_1_goalFukidashiInfo}"))}navitimeMap.parts.kiseiToppaArvWindow=new navitime.geo.overlay.InfoWindow(j)}}})}}$.each(c.features,function(f,d){if(!H){if(""&&d.properties.inline.color===N){d.properties.inline.color=""}else{if(""&&d.properties.inline.color===G){d.properties.inline.color=""}}}else{if(""&&d.properties.inline.color===N){d.properties.inline.color=""}else{if(""&&d.properties.inline.color===G){d.properties.inline.color=""}}}if(d.properties.restriction===true){d.properties.inline={line_style:"auxiliary",color:"#BFBFBF",width:7,opacity:0.76};d.properties.outline={line_style:"dashed",color:"#0A6400",width:10,opacity:0.5}}});var X={map:navitimeMap.map,unit:"degree",arrow:true,allRoute:L};if(""||""||""){var V={};if(""){V.color=""}if(""){V.weight=""}if(""){V.opacity=""}X.lineAttr=V}var b=new navitime.geo.route.Renderer(c,X);b.draw();Q.resolve(b)});return Q.promise()};navitimeMap.drawLine=function(D,B,A){navitimeMap.parts.start=D;navitimeMap.parts.goal=B;var C=[];if(typeof D.lng==="undefined"){C.push(new navitime.geo.LatLng(D.coord.lat,D.coord.lon))}else{C.push(D)}$.each(A,function(F,E){if(typeof E.lng==="undefined"){C.push(new navitime.geo.LatLng(E.lat,E.lon))}else{C.push(E)}});if(typeof B.lng==="undefined"){C.push(new navitime.geo.LatLng(B.coord.lat,B.coord.lon))}else{C.push(B)}navitimeMap.parts.routes.push(new navitime.geo.overlay.Polyline({map:navitimeMap.map,path:C,strokeColor:"#55ff00",strokeOpacity:0.765,strokeWeight:7,zIndex:1001}))};navitimeMap.deleteRoute=function(A){if(!A){return }$.each(A,function(B,C){C.destroy()})};navitimeMap.getMovedLatLng=function(A,E,C,D){var B=navitimeMap.map.getMovedLatLng(A,E,new navitime.geo.LatLng(C,D));return{lat:B.lat,lon:B.lng}};navitimeMap.panTo=function(A,B){navitimeMap.map.panTo(new navitime.geo.LatLng(A,B));navitimeMap.viewDefaultPositionButton()};navitimeMap.zoomTo=function(A){if(A<6||A>19){return }navitimeMap.map.moveTo(navitimeMap.map.getCenter(),Math.floor(A))};navitimeMap.dropPin=function(H,E,D,C,J,F){var A=new navitime.geo.overlay.Pin(E);if(H==="center"){navitimeMap.parts.pins.centerPin=A}else{if(H==="start"){navitimeMap.parts.pins.startPin=A}else{if(H==="goal"){navitimeMap.parts.pins.goalPin=A}else{if(H==="current"){navitimeMap.parts.pins.currentPin=A}else{if(H==="guide"){navitimeMap.parts.pins.guidePin=A}else{var B={id:null,pin:A};if(E.id!=null){B.id=E.id}navitimeMap.parts.pins.aroundPins.push(B);if(J){var I=$(A._icon.imageDiv);var G=I.children("div.text");if(!G.get(0)){G=$("
").addClass("text");I.append(G)}G.text(J);if(F){G.css(F)}else{}}}}}}}if(!D||!C||!(C instanceof Function)){return }$.each(D.split(" "),function(K,L){navitime.geo.util.addListener(A,L,C)})};navitimeMap.deletePin=function(A){if(A==="center"&&navitimeMap.parts.pins.centerPin){navitimeMap.parts.pins.centerPin.setMap(null)}else{if(A==="start"&&navitimeMap.parts.pins.startPin){navitimeMap.parts.pins.startPin.setMap(null)}else{if(A==="goal"&&navitimeMap.parts.pins.goalPin){navitimeMap.parts.pins.goalPin.setMap(null)}else{if(A==="around"&&navitimeMap.parts.pins.aroundPins){$.each(navitimeMap.parts.pins.aroundPins,function(B,C){C.pin.setMap(null)})}else{if(A==="current"&&navitimeMap.parts.pins.currentPin){navitimeMap.parts.pins.currentPin.setMap(null)}else{if(A==="guide"&&navitimeMap.parts.pins.guidePin){navitimeMap.parts.pins.guidePin.setMap(null)}}}}}}if(A==="around"&&navitimeMap.parts.pins.aroundPins){navitimeMap.parts.pins.aroundPins=[]}else{navitimeMap.parts.pins[A+"Pin"]=null}};navitimeMap.deleteAroundPinById=function(A){if(A==null){$.each(navitimeMap.parts.pins.aroundPins,function(B,C){C.pin.setMap(null)});navitimeMap.parts.pins.aroundPins=[]}else{$.each(navitimeMap.parts.pins.aroundPins,function(B,C){if(C.id==null){return true}if(C.id===A){C.pin.setMap(null);navitimeMap.parts.pins.aroundPins[B]=null}});navitimeMap.parts.pins.aroundPins=navitimeMap.parts.pins.aroundPins.filter(function(B){return B!=null})}};navitimeMap.viewInfoWindow=function(A){if("false"==="true"){A.closeButtonDisplay=navitime.geo.DisplayType.ALWAYS}if(!A.isMouseover){navitimeMap.parts.infoWindow=new navitime.geo.overlay.InfoWindow(A)}else{navitimeMap.parts.anotherInfoWindow=new navitime.geo.overlay.InfoWindow(A)}resizeTextAreaInWindow()};navitimeMap.viewNameWindow=function(A){navitimeMap.parts.nameWindow=new navitime.geo.overlay.InfoWindow(A);resizeTextAreaInWindow()};navitimeMap.changeInfoContent=function(B,C,E,D,A){navitimeMap.parts.infoWindow.setContent(B);navitimeMap.parts.infoWindow.setPosition(new navitime.geo.LatLng(C,E));navitimeMap.parts.infoWindow.setVisible(D);resizeTextAreaInWindow()};navitimeMap.hideInfoWindow=function(){if(navitimeMap.parts.infoWindow){navitimeMap.parts.infoWindow.setVisible(false)}};navitimeMap.hideAnotherInfoWindow=function(){if(navitimeMap.parts.anotherInfoWindow){navitimeMap.parts.anotherInfoWindow.setVisible(false)}};function resizeTextAreaInWindow(){$(".ntgeo-popup-text p:first-child").css("padding-right","15px")}navitimeMap.initInfoHover=function(A){if(A!=null&&A!=""){$("#w_7_detailmap_1_1-information").on("click",A,function(){gaTrackEvent("w_7_detailmap_1_1",document.title,"店舗詳細ページへ遷移/周辺店舗",$($(this).children().children()[0]).text());var B;if("internal"=="external"&&this.dataset.url){B=this.dataset.url}else{B="//maps.taisho.co.jp/riup/spot/detail?code="+this.id+""}var C="_self";if(C==="_blank"){window.open(B,"_blank")}else{if(C==="_top"){top.location.href=B}else{if(C==="_parent"){parent.location.href=B}else{location.href=B}}}});$("#w_7_detailmap_1_1-information").on("touchstart",A,function(){$(this).css("background-color","#DCDCDC")});$("#w_7_detailmap_1_1-information").on("touchend",A,function(){$(this).css("background-color","rgba(255, 255, 255, 0)")})}};navitimeMap.showInfoHover=function(A){if(A!=null&&A!=""){$("#w_7_detailmap_1_1-information").empty().append(A);$("#w_7_detailmap_1_1-information").css("top",$("#w_7_detailmap_1_1-widget").position().top);$("#w_7_detailmap_1_1-information").show()}};navitimeMap.hideInfoHover=function(){if($("#w_7_detailmap_1_1-information").is(":hidden")==false){$("#w_7_detailmap_1_1-information").hide()}};navitimeMap.viewDefaultPositionButton=function(B){if(!navitimeMap.parts.defaultPositionButton.hasClass("hidden")){return }var E=JSON.parse('{"request":{"members":{"code":"0000004732"}},"coord":{"members":{"lon":138.667706,"lat":35.686503}}}').coord.members,D=navitimeMap.map.getCenter();if(!B&&Math.sqrt(Math.pow(parseFloat(E.lat)-D.getLat(),2)+Math.pow(parseFloat(E.lon)-D.getLng(),2))<0.0003){return }navitimeMap.parts.defaultPositionButton.removeClass("hidden").css("opacity","1");if("leftTop"=="leftTop"){var A=navitimeMap.parts.defaultPositionButton.height();navitimeMap.parts.defaultPositionButton.css("top",A+"px");navitimeMap.parts.defaultPositionButton.animate({top:"0"},140,"swing")}else{var C=navitimeMap.parts.defaultPositionButton.width();navitimeMap.parts.defaultPositionButton.css("left",C+"px");navitimeMap.parts.defaultPositionButton.animate({left:"0"},140,"swing")}};navitimeMap.fitZoom=function(B){var A=navitime.geo.Util.calcAutomaticAdjustmentViewPort(navitimeMap.map,B);navitimeMap.map.moveTo(A.latlng,A.zoom)};navitimeMap.deletePolygon=function(A){if(typeof A==="undefined"){A="polygon"}if(navitimeMap.parts.polygon[A]){navitimeMap.parts.polygon[A].setMap(null)}};navitimeMap.drawPolygon=function(D,C,B,A){if(typeof C==="undefined"||C){navitimeMap.fitZoom(D.paths)}if(typeof B==="undefined"){B="polygon"}navitimeMap.deletePolygon(B);if(A==="reachable"){navitimeMap.parts.polygon[B]=new navitime.geo.overlay.Polygon(D)}else{if(A==="circle"){navitimeMap.parts.polygon[B]=new navitime.geo.overlay.Circle(D)}}};navitimeMap.drawPinByGeoJson=function(A,B){$.each(A,function(D,C){if(!C.geometry||C.geometry.type!=="Point"){return true}var F=C.geometry.coordinates[0][1],G=C.geometry.coordinates[0][0],E=C.properties.icon?C.properties.icon:"//maps.taisho.co.jp/riup/resources/img/common/icon_map_spot_aqua.png";navitimeMap.dropPin("around",{icon:new navitime.geo.Icon(E,{size:{width:40,height:40},centerType:navitime.geo.ControlPosition.BOTTOM}),draggable:false,map:navitimeMap.map,position:new navitime.geo.LatLng(F,G),zIndex:100},"click touchend",function(H){if(!navitimeMap.parts.infoWindow){navitimeMap.viewInfoWindow({map:navitimeMap.map,position:new navitime.geo.LatLng(F,G),content:C.properties.infowindow.message,zIndex:200,pixelOffset:{x:0,y:-10}})}else{navitimeMap.changeInfoContent(C.properties.infowindow.message,F,G,true)}})})};navitimeMap.drawByGeoJson=function(A,C){var D="degree",E=false,B=false;if(C&&C.unit){D=C.unit}if(C&&C.arrow){E=C.arrow}if(C&&C.allRoute){B=C.allRoute}var F;$.each(A,function(H,I){var G=I.features[0].properties.inline;if(C&&C.color&&C.width&&C.opacity){G.color=C.color;G.width=C.width;G.opacity=C.opacity}F=new navitime.geo.route.Renderer(I,{map:navitimeMap.map,unit:D,arrow:E,allRoute:B,lineAttr:{color:G.color,weight:G.width,opacity:G.opacity}});F.draw()});if("riup"==="mgc"||"riup"==="mgc-sp"){return }navitimeMap.parts.routes.push(F)};function parseStrToBool(A){return(A=="true")?true:false}(function(F){var O=F(".navitimeMap");if("leftTop"=="rightBottom"){navitimeMap.parts.defaultPositionButton.removeClass("hidden");var D=O.height()+parseInt(O.css("padding-top"),10)-navitimeMap.parts.defaultPositionButton.height()-"20";F("#w_7_detailmap_1_1-button-default-position-base").css("top",D+"px");navitimeMap.parts.defaultPositionButton.addClass("hidden")}var P="bottomLeft";if(P=="topLeft"||P=="topRight"){var B=F("#w_7_detailmap_1_1-scale-icon"),K=O.height()+parseInt(O.css("padding-bottom"),10)-B.height()-24;B.css("bottom",K+"px")}var C="bottomRight";if(C=="topLeft"||C=="topRight"){var E=F("#w_7_detailmap_1_1-current-position-icon"),A=-(O.height()+parseInt(O.css("padding-bottom"),10));E.css("top",A+"px")}var J={};var N="";if(N==""){J.inactive="//maps.taisho.co.jp/riup/resources/img/common/location_black.png"}else{J.inactive=""}var G="";if(G==""){J.active="//maps.taisho.co.jp/riup/resources/img/common/location_green.png"}else{J.active=""}F("#w_7_detailmap_1_1-current-position-icon-img").attr("src",J.inactive);F("#w_7_detailmap_1_1-widget").on("switchhide",function(){navitimeMap.hideInfoHover()});F("#w_7_detailmap_1_1-aboutmap").on("click",function(){gaTrackEvent("w_7_detailmap_1_1",document.title,"地図についてを表示/地図");F("#modal-aboutmap").modal("show")});F("#w_7_detailmap_1_1-aboutroute").on("click",function(){gaTrackEvent("w_7_detailmap_1_1",document.title,"ルートについてを表示/地図");F("#modal-aboutroute").modal("show")});F("#w_7_detailmap_1_1-button-default-position").on("click",function(R){gaTrackEvent("w_7_detailmap_1_1",document.title,"元に戻す/地図");R.preventDefault();navitimeMap.panTo(navitimeMap.parts.defaultPosition.getLat(),navitimeMap.parts.defaultPosition.getLng());navitimeMap.parts.defaultPositionButton.animate({opacity:"0"},100,"swing",function(){navitimeMap.parts.defaultPositionButton.addClass("hidden")})});F("#w_7_detailmap_1_1-button-larger-map").on("click",function(){var R=JSON.parse('{"request":{"members":{"code":"0000004732"}},"coord":{"members":{"lon":138.667706,"lat":35.686503}}}');var T="//maps.taisho.co.jp/riup/spot/list/map?search=coord&coord="+R.coord.members.lat+","+R.coord.members.lon;var S=getRequestParameter()["code"];if(!S){window.location.href=T+"";return }window.location.href=T+"&code="+S+""});navitime.geo.event.addListener(navitimeMap.map,"dragend",function(){navitimeMap.viewDefaultPositionButton()});navitime.geo.event.addListener(navitimeMap.map,"mousewheel",function(){navitimeMap.viewDefaultPositionButton()});navitime.geo.event.addListener(navitimeMap.map,"zoomend",function(){navitimeMap.viewDefaultPositionButton()});navitime.geo.event.addListener(navitimeMap.map,"touchend",function(){navitimeMap.viewDefaultPositionButton()});F("#modal-aboutmap, #modal-aboutroute").on("show.bs.modal",function(){var R=getScrollTop();F(".w_7_detailmap_1_1-modal-dialog").css("top",R+"px")});F("#w_7_detailmap_1_1-scale-up").on("click",function(){navitimeMap.map.zoomTo(1,0,0)});F("#w_7_detailmap_1_1-scale-down").on("click",function(){navitimeMap.map.zoomTo(-1,0,0)});if(parseStrToBool("true")){F("#w_7_detailmap_1_1-map").resize(function(){navitimeMap.map.changeSize(new navitime.geo.BoundsInfo(0,F(this).width(),0,F(this).height()))})}var I;var L=false;var Q=false;F("#w_7_detailmap_1_1-current-position-icon").on("click",function(R){gaTrackEvent("w_7_detailmap_1_1",document.title,"現在地/地図");R.preventDefault();if(Q){return }Q=true;if(navitimeMap.parts.pins.currentPin){navigator.geolocation.clearWatch(I);navitimeMap.deletePin("current");F("#w_7_detailmap_1_1-current-position-icon-img").attr("src",J.inactive);if(L){F("#w_7_detailmap_1_1-current-position-icon-img").find("#Shape").attr("fill","#e1e1e1")}Q=false;return }F("#w_7_detailmap_1_1-current-position-icon-img").attr("src",J.active);getCurrentPosition().done(function(S){navitimeMap.dropPin("current",{icon:new navitime.geo.Icon("//maps.taisho.co.jp/riup/resources/img/common/icon_current_position.png",{size:{width:40,height:40},centerType:navitime.geo.ControlPosition.CENTER}),draggable:false,map:navitimeMap.map,position:new navitime.geo.LatLng(S.latitude,S.longitude)});navitimeMap.panTo(S.latitude,S.longitude);I=watchCurrentPosition(function(T){navitimeMap.parts.pins.currentPin.setPosition(new navitime.geo.LatLng(T.coords.latitude,T.coords.longitude))});if(L){F("#w_7_detailmap_1_1-current-position-icon-img").find("#Shape").attr("fill","rgba(0,71,155,1)")}Q=false})});var M="";if(M){getJsonData(M,{},function(R){navitimeMap.drawByGeoJson(R)})}var H="";if(H){getJsonData(H,{},function(R){navitimeMap.drawPinByGeoJson(R)})}F(document).trigger("map:loaded")})(jQuery);(function(B){var A="",C="";if((A==""||(C=="condition"))&&false==true){B("#w_7_pagetitle_1_1-widget").hide()}})(jQuery);(function(E){var D="facebook",B="",F="";E(".w_7_sns_1_1_3-button-share").on("click",function(G){gaTrackEvent("w_7_sns_1_1_3",document.title,"SNSでシェア/SNS","facebook");G.preventDefault();if(B===""){B=A()}if(F===""){F=E("title").text().split("|")[0].trim()}C()});function A(){var G=getRequestParameter(),H="";if(G.bc){delete G.bc}E.each(G,function(I,J){if(I==="bc"){return true}if(I==="name"){J=decodeURIComponent(J).trim()}if(H===""){H+="?"+I+"="+J;return true}H+="&"+I+"="+J});return encodeURIComponent(location.protocol+"//"+location.host+location.pathname+H)}function C(){var G=null;if(D==="mail"){location.href="mailto:?body="+F+" "+B;return }else{if(D==="line"){G="http://line.me/R/msg/text/"+F+" "+B}else{if(D==="facebook"){G="http://www.facebook.com/sharer.php?t="+F+"&u="+B}else{if(D==="twitter"){G="http://twitter.com/intent/tweet?text="+F+" "+B}}}}window.open(G,"sharewindow","width=550, height=450, personalbar=0, toolbar=0, scrollbars=1, resizable=!")}})(jQuery);(function(E){var D="twitter",B="",F="";E(".w_7_sns_1_1_4-button-share").on("click",function(G){gaTrackEvent("w_7_sns_1_1_4",document.title,"SNSでシェア/SNS","twitter");G.preventDefault();if(B===""){B=A()}if(F===""){F=E("title").text().split("|")[0].trim()}C()});function A(){var G=getRequestParameter(),H="";if(G.bc){delete G.bc}E.each(G,function(I,J){if(I==="bc"){return true}if(I==="name"){J=decodeURIComponent(J).trim()}if(H===""){H+="?"+I+"="+J;return true}H+="&"+I+"="+J});return encodeURIComponent(location.protocol+"//"+location.host+location.pathname+H)}function C(){var G=null;if(D==="mail"){location.href="mailto:?body="+F+" "+B;return }else{if(D==="line"){G="http://line.me/R/msg/text/"+F+" "+B}else{if(D==="facebook"){G="http://www.facebook.com/sharer.php?t="+F+"&u="+B}else{if(D==="twitter"){G="http://twitter.com/intent/tweet?text="+F+" "+B}}}}window.open(G,"sharewindow","width=550, height=450, personalbar=0, toolbar=0, scrollbars=1, resizable=!")}})(jQuery);(function(E){var D="line",B="",F="";E(".w_7_sns_1_1_5-button-share").on("click",function(G){gaTrackEvent("w_7_sns_1_1_5",document.title,"SNSでシェア/SNS","line");G.preventDefault();if(B===""){B=A()}if(F===""){F=E("title").text().split("|")[0].trim()}C()});function A(){var G=getRequestParameter(),H="";if(G.bc){delete G.bc}E.each(G,function(I,J){if(I==="bc"){return true}if(I==="name"){J=decodeURIComponent(J).trim()}if(H===""){H+="?"+I+"="+J;return true}H+="&"+I+"="+J});return encodeURIComponent(location.protocol+"//"+location.host+location.pathname+H)}function C(){var G=null;if(D==="mail"){location.href="mailto:?body="+F+" "+B;return }else{if(D==="line"){G="http://line.me/R/msg/text/"+F+" "+B}else{if(D==="facebook"){G="http://www.facebook.com/sharer.php?t="+F+"&u="+B}else{if(D==="twitter"){G="http://twitter.com/intent/tweet?text="+F+" "+B}}}}window.open(G,"sharewindow","width=550, height=450, personalbar=0, toolbar=0, scrollbars=1, resizable=!")}})(jQuery);(function(E){var D=function(I){return trimAndNormalize(E(I).attr("href"))};var F=function(I){return trimAndNormalize(E(I).find("img").attr("src"))};var A={selector:".w_7_imagelink_1_1_2_link",label:"【画像バナー】リンク",href:D,src:F};var B=new IntersectionObserver(function(I,J){E.each(I,function(L,M){if(M.isIntersecting){J.unobserve(M.target);var K=E(A.selector).index(E(M.target));fireGTMCVEvent({action:"imp",widget:"w_7_imagelink_1_1_2",selector:A.selector,index:K,label:A.label,identifier:"",href:A.href(M.target),src:A.src(M.target)})}})},{});if(document.querySelector(A.selector)){B.observe(document.querySelector(A.selector));E(A.selector).on("click",function(){var I=E(A.selector).index(this);fireGTMCVEvent({action:"click",widget:"w_7_imagelink_1_1_2",selector:A.selector,index:I,label:A.label,identifier:"",href:A.href(this),src:A.src(this)})})}var C="";var H=false;if(H){E("a.w_7_imagelink_1_1_2_link").on("click","img",function(){G()})}var G=function(){var I={widget:"w_7_imagelink_1_1_2",identifier:C};fireGTMEvent(I,"citrus-track-event")}})(jQuery);(function(H){var D=0,F=getRequestParameter(),K="",E="",L="",G={code:"0000004732",postalCode:"4050031",lon:"138.667706",postalDisplayCode:"405-0031",ruby:"",detailColumns:[{code:"00001",columns:{flag:[{code:"00005",description_link:"",label:"riup",value:"true"},{code:"00006",description_link:"",label:"claritin",value:"true"},{code:"00007",description_link:"",label:"meditreat",value:"false"},{code:"00008",description_link:"",label:"herpecia",value:"false"}]},name:"表示グループ"},{code:"00002",columns:{},name:"riup"},{code:"00003",columns:{flag:[{code:"00003",image_path:"//image.pkg.navitime.co.jp/citrus/218/detail_image/ex.png",description_link:"",label:"クラリチンEX",value:"true"},{code:"00004",image_path:"//image.pkg.navitime.co.jp/citrus/218/detail_image/exod.png",description_link:"",label:"クラリチンEX OD錠",value:"false"}]},name:"claritin"},{code:"default",columns:{}}],phone:"0553-21-7027",lastUpdate:"2020/03/29 17:28",today:"20210116",name:"サンドラッグ　万力店",detailAddress:{code:"19205030000",name:"山梨県山梨市万力",coord:{datum:"WGS84",lat:128463440,lon:499246228},address:[{code:"19",name:"山梨県",ruby:"やまなしけん",level:"1"},{code:"19205",name:"山梨市",ruby:"やまなしし",level:"2"},{code:"19205030",name:"万力",ruby:"まんりき",level:"3"}],types:["address"],old:false},addressName:"山梨県山梨市万力77番",external_code:"A230562529",lat:"35.686503"};H("#table-route-list").on("click",".tr-route",function(){D=H(".tr-route").index(this);K=H(".tr-route").eq(D).attr("nt-car-type");E=H(".tr-route").eq(D).attr("nt-result-index");L=H(".tr-route").eq(D).attr("nt-route-type")});H("#w_1_printicon_1_1-icon").on("click",function(){if(I()){url="//maps.taisho.co.jp/riup/spot/print/"+J()+"?"+H.param(A())}else{if(C()){url="//maps.taisho.co.jp/riup/spot/print?"+H.param(A())}else{if(B()){url="//maps.taisho.co.jp/riup/spot/print/car?"+H.param(A())}else{url="//maps.taisho.co.jp/riup/spot/print?"+H.param(A())}}}window.open(addRefererParam(url,"printicon")+"","_blank","width=970,height=920,scrollbars=yes,resizable=no")});function A(){var P={datum:"wgs84",code:G.code},O=null;if(!N()&&!I()){P.start=G.lat+","+G.lon;return P}if(B()){P.car="only.turn";if(typeof navitimeMap.config.toll!=="undefined"){P.toll=navitimeMap.config.toll}if(K!==""){P.carType=K}}else{if(C()){P.walk="only";P.name=F.name?F.name.trim():G.name}}if(E===undefined){P.routeIndex=navitimeMap.config.routeIndex}else{P.routeIndex=E}if(!P.car){P.total="1"}if(F.isLargeCar!==undefined){P.isLargeCar=F.isLargeCar}if(I()){if(typeof F.name!=="undefined"){P.sname=F.name}P.gname=G.name;if(L==="total"){delete P.walk;P.total="1"}if(typeof F.start!=="undefined"){P.start=F.start}else{P.start=navitimeMap.parts.pins.startPin.getPosition().getLat()+","+navitimeMap.parts.pins.startPin.getPosition().getLng()}return P}O=M();P.start=O.start;P.goal=O.goal;if(typeof O.sname!=="undefined"){P.sname=O.sname}else{if(typeof navitimeMap.config.name!=="undefined"){P.sname=navitimeMap.config.name}}if(typeof O.gname!=="undefined"){P.gname=O.gname}else{if(typeof navitimeMap.config.name!=="undefined"){P.gname=navitimeMap.config.name}}P.routeIndex=D;return P}function J(){if(navitimeMap.config.method===10){return"car"}else{return"total"}}function I(){return(location.host+location.pathname).lastIndexOf("/spot/route")!==-1}function N(){return navitimeMap.parts.routes.length!==0}function C(){return navitimeMap.config.method===255||navitimeMap.config.method==="255"}function B(){return navitimeMap.config.method===10||navitimeMap.config.method==="10"}function M(){var R=navitimeMap.parts.start,O=navitimeMap.parts.goal,P={lat:G.lat,lon:G.lon},Q={};if(typeof navitimeMap.parts.start.latlng==="undefined"){R={lat:navitimeMap.parts.start.coord.lat.toString(),lon:navitimeMap.parts.start.coord.lon.toString()}}else{R={lat:navitimeMap.parts.start.latlng.getLat(),lon:navitimeMap.parts.start.latlng.getLng()}}if(typeof navitimeMap.parts.goal.latlng==="undefined"){O={lat:navitimeMap.parts.goal.coord.lat.toString(),lon:navitimeMap.parts.goal.coord.lon.toString()}}else{O={lat:navitimeMap.parts.goal.latlng.getLat(),lon:navitimeMap.parts.goal.latlng.getLng()}}if(parseFloat(P.lat)===parseFloat(R.lat)&&parseFloat(P.lon)===parseFloat(R.lon)){Q.goal=O.lat+","+O.lon;Q.sname=F.name?F.name.trim():G.name}else{if(parseFloat(P.lat)===parseFloat(O.lat)&&parseFloat(P.lon)===parseFloat(O.lon)){Q.start=R.lat+","+R.lon;Q.gname=F.name?F.name.trim():G.name}else{return }}return Q}})(jQuery);(function(A){A("#w_7_detailimage_2_1-widget").hide()})(jQuery);(function(D){var T={selector:'#w_1_detail_2_1_2-table a[href^="tel:"]',label:"【店舗詳細】電話リンク"};var J=new IntersectionObserver(function(U,V){D.each(U,function(X,Y){if(Y.isIntersecting){V.unobserve(Y.target);var W=D(T.selector).index(D(Y.target));fireGTMCVEvent({action:"imp",widget:"w_1_detail_2_1_2",selector:T.selector,index:W,label:T.label})}})},{});if(document.querySelector(T.selector)){J.observe(document.querySelector(T.selector));D(T.selector).on("click",function(){var U=D(T.selector).index(this);fireGTMCVEvent({action:"click",widget:"w_1_detail_2_1_2",selector:T.selector,index:U,label:T.label})})}var L={code:"0000004732",postalCode:"4050031",lon:"138.667706",postalDisplayCode:"405-0031",ruby:"",detailColumns:[{code:"00001",columns:{flag:[{code:"00005",description_link:"",label:"riup",value:"true"},{code:"00006",description_link:"",label:"claritin",value:"true"},{code:"00007",description_link:"",label:"meditreat",value:"false"},{code:"00008",description_link:"",label:"herpecia",value:"false"}]},name:"表示グループ"},{code:"00002",columns:{},name:"riup"},{code:"00003",columns:{flag:[{code:"00003",image_path:"//image.pkg.navitime.co.jp/citrus/218/detail_image/ex.png",description_link:"",label:"クラリチンEX",value:"true"},{code:"00004",image_path:"//image.pkg.navitime.co.jp/citrus/218/detail_image/exod.png",description_link:"",label:"クラリチンEX OD錠",value:"false"}]},name:"claritin"},{code:"default",columns:{}}],phone:"0553-21-7027",lastUpdate:"2020/03/29 17:28",today:"20210116",name:"サンドラッグ　万力店",detailAddress:{code:"19205030000",name:"山梨県山梨市万力",coord:{datum:"WGS84",lat:128463440,lon:499246228},address:[{code:"19",name:"山梨県",ruby:"やまなしけん",level:"1"},{code:"19205",name:"山梨市",ruby:"やまなしし",level:"2"},{code:"19205030",name:"万力",ruby:"まんりき",level:"3"}],types:["address"],old:false},addressName:"山梨県山梨市万力77番",external_code:"A230562529",lat:"35.686503"},R=new navitime.geo.LatLng(L.lat,L.lon),G="map",N=null,M=null,E=30,F=5;var C={draggable:false,map:navitimeMap.map,position:R,iconPosition:navitime.geo.ControlPosition.CENTER,zIndex:180};var K=function(){navitimeMap.panTo(L.lat,L.lon);if(false){H(L.lat,L.lon).done(function(V){M=V})}C.icon=S(G);O();if(true){B()}setJsonCookie(true);var U=getCookie("ntj-spot-history");if(!U){U=[]}if(!I(U)){U=A(U);addCookie("ntj-spot-history",U,Q())}};D("#w_1_detail_2_1_2-button-default-position").on("click",function(U){gaTrackEvent("w_1_detail_2_1_2",document.title,"元の場所に戻る/店舗詳細");U.preventDefault();navitimeMap.panTo(navitimeMap.parts.defaultPosition.getLat(),navitimeMap.parts.defaultPosition.getLng());navitimeMap.parts.defaultPositionButton.animate({opacity:"0"},100,"swing",function(){navitimeMap.parts.defaultPositionButton.addClass("hidden")})});D(".w_1_detail_2_1_2-td-value a").on("click",function(U){if(this.id!="w_1_detail_2_1_2-button-default-position"){gaTrackEvent("w_1_detail_2_1_2",document.title,"外部遷移/店舗詳細",this.href)}});function O(){navitimeMap.dropPin("center",C,"click touchend",function(){gaTrackEvent("w_1_detail_2_1_2",document.title,"infoWindowを開く/詳細店舗",L.name);B()})}function B(){var U=P(L);if(!navitimeMap.parts.infoWindow){navitimeMap.viewInfoWindow({map:navitimeMap.map,position:new navitime.geo.LatLng(L.lat,L.lon),content:U,zIndex:200,pixelOffset:{x:0,y:-32}})}else{navitimeMap.changeInfoContent(U,L.lat,L.lon,true)}}function P(Y){var W=D('
'),V=D("
"),Z=D("
"),a=D('
'),U=D('
'),X=D('
');V.text(Y.name);if(Y.addressName){Z.append(Y.addressName+"
")}if(Y.phone){Z.append(Y.phone+"
")}if(M){U.append(' ');X.append(M[0]["forecasts"][0].name);Z.append(U);Z.append(X)}W.append(V);W.append(a);W.append(Z);return W[0]}function H(V,X){var U=new D.Deferred(),W={coord:V+","+X,forecast:"daily"};getJsonData("//maps.taisho.co.jp/riup/api/proxy1/weather",W,function(Y){U.resolve(Y.items)});return U.promise()}var Q=function(){var U=getCookie("ntj-spot-expires")?getCookie("ntj-spot-expires"):E;var W="/"+"//maps.taisho.co.jp/riup".split("/").slice(3).join("/");var V={expires:U,path:W};return V};var I=function(V){var U=false;V.forEach(function(W){if(W.code===L.code){U=true}});return U};var A=function(U){U.unshift({code:L.code,name:L.name});if(U.length>F){U=U.slice(0,F)}return U};var S=function(U){if(U==="map"&&"//image.pkg.navitime.co.jp/citrus/218/other_image/riup_logo_new.png"!==""){N="//image.pkg.navitime.co.jp/citrus/218/other_image/riup_logo_new.png"}else{if(U==="category"&&L.categoryImagePath){N=L.categoryImagePath}else{N="//maps.taisho.co.jp/riup/resources/img/common/center_pin.png"}}if(U!=="none"&&U!=="center"){D.each([],function(V,W){if(L.code.indexOf(W.prefix_code)!==0){return true}if(!("icon" in W.information)){return false}N=W.information.icon})}return N};K()})(jQuery);(function(G){var P={selector:'.w_1_detail_1_1_2-tbody a[href^="tel:"]',label:"【店舗詳細】電話リンク"};var L=new IntersectionObserver(function(Q,R){G.each(Q,function(T,U){if(U.isIntersecting){R.unobserve(U.target);var S=G(P.selector).index(G(U.target));fireGTMCVEvent({action:"imp",widget:"w_1_detail_1_1_2",selector:P.selector,index:S,label:P.label})}})},{});if(document.querySelector(P.selector)){L.observe(document.querySelector(P.selector));G(P.selector).on("click",function(){var Q=G(P.selector).index(this);fireGTMCVEvent({action:"click",widget:"w_1_detail_1_1_2",selector:P.selector,index:Q,label:P.label})})}var N={code:"0000004732",postalCode:"4050031",lon:"138.667706",postalDisplayCode:"405-0031",ruby:"",detailColumns:[{code:"00001",columns:{flag:[{code:"00005",description_link:"",label:"riup",value:"true"},{code:"00006",description_link:"",label:"claritin",value:"true"},{code:"00007",description_link:"",label:"meditreat",value:"false"},{code:"00008",description_link:"",label:"herpecia",value:"false"}]},name:"表示グループ"},{code:"00002",columns:{},name:"riup"},{code:"00003",columns:{flag:[{code:"00003",image_path:"//image.pkg.navitime.co.jp/citrus/218/detail_image/ex.png",description_link:"",label:"クラリチンEX",value:"true"},{code:"00004",image_path:"//image.pkg.navitime.co.jp/citrus/218/detail_image/exod.png",description_link:"",label:"クラリチンEX OD錠",value:"false"}]},name:"claritin"},{code:"default",columns:{}}],phone:"0553-21-7027",lastUpdate:"2020/03/29 17:28",today:"20210116",name:"サンドラッグ　万力店",detailAddress:{code:"19205030000",name:"山梨県山梨市万力",coord:{datum:"WGS84",lat:128463440,lon:499246228},address:[{code:"19",name:"山梨県",ruby:"やまなしけん",level:"1"},{code:"19205",name:"山梨市",ruby:"やまなしし",level:"2"},{code:"19205030",name:"万力",ruby:"まんりき",level:"3"}],types:["address"],old:false},addressName:"山梨県山梨市万力77番",external_code:"A230562529",lat:"35.686503"},A=new navitime.geo.LatLng(N.lat,N.lon),F="map",M=null,E=null;if(F==="map"&&"//image.pkg.navitime.co.jp/citrus/218/other_image/riup_logo_new.png"!==""){M="//image.pkg.navitime.co.jp/citrus/218/other_image/riup_logo_new.png"}else{if(F==="category"&&N.categoryImagePath){M=N.categoryImagePath}else{if(F==="none"){M=null}else{M="//maps.taisho.co.jp/riup/resources/img/common/center_pin.png"}}}if(F!=="none"&&F!=="center"){G.each([],function(Q,R){if(N.code.indexOf(R.prefix_code)!==0){return true}if(!("icon" in R.information)){return false}M=R.information.icon})}navitimeMap.panTo(N.lat,N.lon);if(false){C(N.lat,N.lon)}D();if(false){H()}G.cookie.json=true;var J=G.cookie("ntj-spot-history");if(!J){J=[]}var I=false;J.forEach(function(Q){if(Q.code===N.code){I=true;return false}});if(!I){J.unshift({code:N.code,name:N.name});if(J.length>5){J=J.slice(0,5)}var B=G.cookie("ntj-spot-expires")?G.cookie("ntj-spot-expires"):30;var O="/"+"//maps.taisho.co.jp/riup".split("/").slice(3).join("/");G.cookie("ntj-spot-history",J,{expires:B,path:O})}G("#w_1_detail_1_1_2-button-default-position").on("click",function(Q){gaTrackEvent("w_1_detail_1_1_2",document.title,"元の場所に戻る/店舗詳細");Q.preventDefault();navitimeMap.panTo(navitimeMap.parts.defaultPosition.getLat(),navitimeMap.parts.defaultPosition.getLng());navitimeMap.parts.defaultPositionButton.animate({opacity:"0"},100,"swing",function(){navitimeMap.parts.defaultPositionButton.addClass("hidden")})});G(".w_1_detail_1_1_2-td-value a").on("click",function(Q){if(this.id!="w_1_detail_1_1_2-button-default-position"){gaTrackEvent("w_1_detail_1_1_2",document.title,"外部遷移/店舗詳細",this.href)}});function D(){if(!M){return }var Q;if(false==true){Q=new navitime.geo.Icon(M,{size:{height:"",width:""},centerType:navitime.geo.ControlPosition.CENTER})}else{Q=M}navitimeMap.dropPin("center",{icon:Q,draggable:false,map:navitimeMap.map,position:A,iconPosition:navitime.geo.ControlPosition.CENTER,zIndex:180},"click touchend",function(){gaTrackEvent("w_1_detail_1_1_2",document.title,"infoWindowを開く/詳細店舗",N.name);H()})}function H(){var Q=K(N);if(!navitimeMap.parts.infoWindow){navitimeMap.viewInfoWindow({map:navitimeMap.map,position:new navitime.geo.LatLng(N.lat,N.lon),content:Q,zIndex:200,pixelOffset:{x:0,y:-32}})}else{navitimeMap.changeInfoContent(Q,N.lat,N.lon,true)}}function K(U){var S=G('
'),R=G("
"),V=G("
"),W=G('
'),Q=G('
'),T=G('
');R.text(U.name);if(U.addressName){V.append(U.addressName+"
")}if(U.phone){V.append(U.phone+"
")}if(E){Q.append(' ');T.append(E[0]["forecasts"][0].name);V.append(Q);V.append(T)}S.append(R);S.append(W);S.append(V);return S[0]}function C(R,T){var Q=new G.Deferred(),S={coord:R+","+T,forecast:"daily"};G.ajaxSetup({async:false});getJsonData("//maps.taisho.co.jp/riup/api/proxy1/weather",S,function(U){E=U.items;Q.resolve()});G.ajaxSetup({async:true});return Q.promise()}})(jQuery);(function(D){var F=false;D("#modal-search-result").on("shown.bs.modal",function(){D(".result-tmpl").scrollTop(0);F=true});var B={},E={station:"//maps.taisho.co.jp/riup/api/proxy1/transport/node/list?type=station.airport",address:"//maps.taisho.co.jp/riup/api/proxy1/address/list"},C=D("meta[name=deviceType]").attr("content");D("#form-search-spot").on("submit",function(J){J.preventDefault();var I=D("#input-from-spot").val().trim();I=encodeURIComponent(I);if(!I){alert("検索文字を入力してください。");return }gaTrackEvent("w_7_departuresearch_1_2",document.title,"出発地を検索する/出発地検索",I);if(C==="SMART_PHONE"){if("false"=="true"){location.href="//maps.taisho.co.jp/riup/freeword/result?code=0000004732&word="+I+"&isLargeCar=true"}else{location.href="//maps.taisho.co.jp/riup/freeword/result?code=0000004732&word="+I+""}}else{A(I)}});D("#w_7_departuresearch_1_2-button").on("touchstart",function(){D("#w_7_departuresearch_1_2-button").css("background-color","rgba(238,238,238,1)")});D("#w_7_departuresearch_1_2-button").on("touchend",function(){D("#w_7_departuresearch_1_2-button").css("background-color","rgba(104,104,104,1)")});D("#modal-search-result").on("show.bs.modal",function(){var I=getScrollTop();D(".modal-dialog").css("top",I+"px")});D("#modal-search-result").on("hidden.bs.modal",function(){F=false});D(".tab-pane").on("scroll",function(){if(!F){return }var J=this.id.match(/spot|station|busstop|address/),K=this.scrollHeight,I=D(this).scrollTop()+D(this).height();if(K-I<25){H(J)}});D(".result-tmpl").on("click",".search-result",function(L){L.preventDefault();var I=D(this).text().trim(),O=D(this).data("lon"),K=D(this).data("lat"),N=D(this).data("node");var M={code:"0000004732",start:K+","+O,lat:K,lon:O,name:I};if("false"=="true"){M.isLargeCar="true";M.carOnly="true"}if(N!==""){M.start=N}var P="";if(P){M[P]="true"}viewLoading();gaTrackEvent("w_7_departuresearch_1_2",document.title,"経路検索結果ページへ遷移/出発地検索",I);var J="//maps.taisho.co.jp/riup/spot/route?";location.href=J+D.param(M)+""});function A(J){var K={word:J,datum:"wgs84",limit:20};this.word=J;var I=[];for(key in E){if(key=="busstop"){K.type="busstop";K.add="detail"}else{K.type="station"}I.push(getJsonData(E[key],K))}D.when.all(I).done(function(M){D(".tab-pane > div").remove();D(".tab-pane > p").show();var P=0;for(key in E){var L=M[P++];B[key]=L.count;if(L.count.total===0){continue}var O=D("#w_7_departuresearch_1_2_tab_result_"+key);O.append("
");if(key=="busstop"){var N=0;L.items.forEach(function(Q){N+=Q.details.length});B[key].total+=N;O.find("div").append(D("#"+key+"ListTmpl").render(L))}else{O.find("div").append(D("#"+key+"ListTmpl").render(L.items))}O.find("p").hide()}D("#w_7_departuresearch_1_2-modal-tab").find("a[href='#"+G()+"']").click();D("#modal-search-result").modal("show")})}function G(){var I=null;for(key in E){if(B[key].total>0){I=key;break}}if(!I){I="station"}return"w_7_departuresearch_1_2_tab_result_"+I}function H(I){var J={word:this.word,datum:"wgs84",offset:B[I].offset+B[I].limit};if(I[0]=="busstop"){J.add="detail"}if(B[I].total 