JavaScriptが無効です
すべての機能をご利用いただくにはJavaScriptの設定を「有効」にする必要があります。
乗換案内
\
\
\
'+json.JrdCoupon.TopArticle[0].Title+' '+json.JrdCoupon.TopArticle[0].Description+'
\
\
\
\
';
var sub_element = '';
for (var i in json.JrdCoupon.SubArticle) {
sub_element += '\
'+json.JrdCoupon.SubArticle[i].Title+' ';
}
coupon_right_block = coupon_right_block.replace("##SUBARTICLE_LI##",sub_element)
$(target).html(coupon_right_block);
}
function out_html_bimi_right(json,target){
var bimi_right_block='\
';
var sub_element = '';
for (var i in json.Bimi.SubArticle) {
sub_element += '
\
'+json.Bimi.SubArticle[i].Title+' '+json.Bimi.SubArticle[i].Caption+' \
';
}
bimi_right_block = bimi_right_block.replace("##SUBARTICLE_DIV##",sub_element)
$(target).html(bimi_right_block);
}
function ajax_coupon_bimi_right(){
if( Math.floor(Math.random()*2) ){
$.ajax( { url: "/s3/data/com/coupon.json?"+Math.floor((new Date().getTime())/10000), dataType:"json"})
.done( function(json){ out_html_coupon_right(json,"#js_coupon_bimi_right_parent"); });
}else{
$.ajax( { url: "/s3/data/com/bimi.json?"+Math.floor((new Date().getTime())/10000), dataType:"json"})
.done( function(json){ out_html_bimi_right(json,"#js_coupon_bimi_right_parent"); });
}
}
if (window.addEventListener) {
window.addEventListener('DOMContentLoaded', ajax_coupon_bimi_right, false);
}
\
\
\
'+json.JrdNews.TopArticle[0].Title+'
\
\
\
\
';
var sub_element = '';
for (var i in json.JrdNews.SubArticle) {
sub_element += '\
'+json.JrdNews.SubArticle[i].Title+' ';
}
news_right_block = news_right_block.replace("##SUBARTICLE_LI##",sub_element)
$(target).html(news_right_block);
}
function ajax_jnews_right(){
$.ajax( { url: "/s3/data/com/news.json?"+Math.floor((new Date().getTime())/10000), dataType:"json"})
.done( function(json){ out_html_jnews_right(json,"#js_news_right_parent"); } );
}
if (window.addEventListener) {
window.addEventListener('DOMContentLoaded', ajax_jnews_right, false);
}