if (typeof(google_ad_client) == 'undefined' || !google_ad_client) google_ad_client = 'ca-livedoor-blog_js'; if (typeof(google_ad_channel) == 'undefined' || !google_ad_channel) google_ad_channel = 'blog_omoshiro'; if (typeof(google_max_num_ads) == 'undefined' || !google_max_num_ads) google_max_num_ads = '20'; google_ad_output = 'js'; google_ad_type = 'text'; google_language = 'ja'; google_country = 'JP'; google_encoding = (typeof(ld_blog_vars) == 'object' ? ld_blog_vars.charset : 'euc-jp'); if (typeof(google_safe) == 'undefined' || !google_safe) google_safe = 'high'; var ldb_user_ads = { set: function(google_ads){ this.google_ads = google_ads; }, display: function(num){ if(typeof(this.google_ads) == 'undefined') return; if(this.google_ads.length < 1) return; var s = ''; var i; s +='
' + '
Ads by Google
' + '
'; for(i = 0; i < num; i++){ var ads = this.google_ads.shift(); if(ads) s += this.format(ads); } s +='
'; document.write(s); return; }, format: function(ads){ return '
' + '' + ads.line1 + '' + '' + ads.visible_url + '' + '' + ads.line2 + ' ' + ads.line3 + '' + '
'; } } function google_ad_request_done(google_ads) { ldb_user_ads.set(google_ads); } document.write('');