/* カスタマイズ用のJavaScriptコードをここに記述してください */ function searchAdcd(adcd) { document.formAddrL.adcd.value = adcd; document.formAddrL.AddrLSubmit.click(); } $(function(){ // リサイズイベントでのコンテンツの高さ調整 var $window = $(window); function init_resize_event(){ function do_resize(){ if( !$(".nearest-wrap").length ) return; var win_height = $window.height(), win_width = $window.width(), result_top = $(".nearest-wrap").offset().top, sidebar_width = $(".nearest-left").width(), // contents_height = $(".map-details").height(), contents_height = $(".map-details").height(), header_width = $(".bg-breadcrumb").width(), footer_height = 0; $("#ZdcEmapList").css({ // height: (win_height - result_top - footer_height) + "px" // height: contents_height + "px" height: "600px" }); $("#ZdcEmapMap").css({ // "height": (win_height - result_top - footer_height) + "px", // "height": contents_height + "px", "height": "600px", // "width": (win_width - sidebar_width) + "px", "width": (header_width - sidebar_width) + "px", "overflow": "hidden" }); } $window.resize(do_resize); do_resize(); } init_resize_event(); }); /* add 20160629 */ /* Googleアナリティクスの基本コード */ (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-77698625-1', 'auto', {'allowLinker': true}); ga('require', 'linker'); ga('linker:autoLink', ['keishuku.jp']); ga('require', 'displayfeatures'); ga('require', 'linkid', 'linkid.js'); ga('send', 'pageview'); // 印刷画面表示 function ZdcEmapDispNListPrint(baseurl) { //リストを表示させる var url = baseurl + "&lat="+ZdcEmapNearShop.opts.lat+"&lon="+ZdcEmapNearShop.opts.lon+"&latlon="+ZdcEmapNearShop.opts.latlon+ "&radius="+ZdcEmapNearShop.opts.radius+"&jkn="+encodeURI(ZdcEmapNearShop.opts.jkn)+"&page=1"; url += ZdcEmapCondParms; var w=window.open(); w.location.href = url; }