/* 20180316 131557 */

var GOO_AD_SMARTTAG_BASE_URL = "\/\/a1.goo.ne.jp\/jserver\/SITE=BLOG\/AREA=BLOGARTICLE\/OENCJP=EUC\/CRTG01=\/KEYWORD=\/DCDC=\/DFP=\/APS=\/OXB=\/BXB=\/AAMSZ=";
var GOO_AD_SMARTTAG_CHARSET = "euc-jp";
var GOO_AD_SMARTTAG_URL_LIST = {
    "pc":{
        "articletext_1"    :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "ARTICLETEXT_1",     "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "articletext_2"    :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "ARTICLETEXT_2",     "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "articletext_3"    :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "ARTICLETEXT_3",     "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "articletext_4"    :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "ARTICLETEXT_4",     "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge105_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE105_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge105_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE105_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge140_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE140_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge140_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE140_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge150_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE150_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge150_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE150_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge175_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE175_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge180_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE180_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge250_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE250_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge250_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE250_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge250_3"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE250_3",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge250_4"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE250_4",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge250_5"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE250_5",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge250_6"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE250_6",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_0"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_0",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_3"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_3",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_4"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_4",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_5"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_5",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_6"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_6",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_7"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_7",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge300_8"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE300_8",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge345_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE345_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge345_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE345_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge640_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE640_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge640_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE640_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge640_3"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE640_3",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge945_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE945_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "badge970_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "BADGE970_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "codir_badge250_1" :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "CODIR_BADGE250_1",  "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "codir_badge250_2" :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "CODIR_BADGE250_2",  "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "codir_badge250_3" :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "CODIR_BADGE250_3",  "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "codir_square425_1":[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "CODIR_SQUARE425_1", "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "jx_badge350_1"    :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "JX_BADGE350_1",     "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "jx_tbanner"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "JX_TBANNER",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "klong"            :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "KLONG",             "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ldtext_1"         :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "LDTEXT_1",          "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ldtext_2"         :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "LDTEXT_2",          "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "long"             :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "LONG",              "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "long_gourmet"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "LONG_GOURMET",      "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "long468"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "LONG468",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "mbadge300_1"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "MBADGE300_1",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "mbadge300_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "MBADGE300_2",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "mbadge300_3"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "MBADGE300_3",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "mkkbadge300_1"    :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "MKKBADGE300_1",     "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "mkktext_1"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "MKKTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_badge300_1"   :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_BADGE300_1",    "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_badge300_2"   :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_BADGE300_2",    "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_badge330_1"   :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_BADGE330_1",    "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_badge360_1"   :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_BADGE360_1",    "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_long"         :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_LONG",          "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_longdown"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_LONGDOWN",      "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_square200_1"  :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_SQUARE200_1",   "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "ocn_square425_1"  :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OCN_SQUARE425_1",   "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "os_recommend"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "OS_RECOMMEND",      "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pcinfeed_1"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PCINFEED_1",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pcinfeed_2"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PCINFEED_2",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pcinfeed_3"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PCINFEED_3",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pcinfeed_4"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PCINFEED_4",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pcinfeed_5"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PCINFEED_5",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pcinfeed_6"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PCINFEED_6",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "pc_overlay"       :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "PC_OVERLAY",        "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "rnbadge160_1"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "RNBADGE180_1",      "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "rnbadge180_1"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "RNBADGE180_1",      "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "skyscraper "      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "SKYSCRAPER ",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "square160_1"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "SQUARE160_1",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "square300_1"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "SQUARE300_1",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "square425"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "SQUARE425_1",       "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "text_1"           :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TEXT_1",            "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "text_2"           :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TEXT_2",            "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "textdown"         :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TEXTDOWN",          "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_1"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_3"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_4"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_5"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_6"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_1_7"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_1"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_3"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_4"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_5"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_6"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "toptext_2_7"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TOPTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_1"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_1_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_2"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_2_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_3"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_3_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_4"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_4_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_5"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_5_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_6"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_6_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_7"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_7_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_8"          :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_1",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxad_8_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXAD_2",           "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_1"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_1_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_2"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_2_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_3"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_3_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_4"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_4_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_5"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_5_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_6"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_6_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_7"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_7_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_8"        :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_1",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "tpxtext_8_2"      :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "TPXTEXT_2",         "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "xnbadge160_1"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "RNBADGE180_1",      "charset":GOO_AD_SMARTTAG_CHARSET } } ],
        "xnbadge180_1"     :[ { "script":{ "src": GOO_AD_SMARTTAG_BASE_URL + "RNBADGE180_1",      "charset":GOO_AD_SMARTTAG_CHARSET } } ]
        }
};
// Start CUSTOM_CODE 

// End CUSTOM_CODE 
gooad(GOO_AD_SMARTTAG_URL_LIST[window._goo_display_type || 'pc']);


function gooad(g){var j=function(a){this.data=a;this.mode=(location.href.match(/[\/#]gooad\.mode=([\w\-]+)/)||["production"]).pop()};j.prototype={data:null,mode:null,content:document,trace:function(){var a=Array.apply(null,arguments);switch(this.mode){case "development":window.console?console.log.apply(console,a):alert(a)}},render:function(a){var b;try{if("string"===typeof a)b=this.content.getElementById(a);else{var c=this.getCurrentScriptByText("gooad.render()",512);b=c.parentNode;a=b.id;b.removeChild(c)}var d=
a.replace(/^gooad-/,""),f=[].concat(this.data[d]),e,k,h;e=0;for(k=f.length;e<k;e+=1)h=this.content.createElement("div"),h.id=["gooad",d,e].join("-"),this.renderTo(h,f[e]),h.firstChild&&b.appendChild(h)}catch(g){this.trace(g.stack||g.name+": "+g.message)}},renderTo:function(a,b){var c,d,f,e,g,h=a.id;for(c in b){d=b[c];e={};for(f in d)e[f]=d[f];null!=e.text&&(g=e.text,delete e.text);e.id=(h||"gooad".concat("-",c)).concat("-",(new Date).getTime(),Math.random().toString().substr(2,6));switch(c){case "script":"complete"!==
this.content.readyState?this.content.write(this.buildHTMLString(c,e,g)):a.innerHTML=this.buildHTMLString(c,e,g);break;case "iframe":e.name=e.id,e.sandbox="allow-same-origin",e.marginWidth=0,e.marginHeight=0,e.frameBorder=0,e.scrolling="no",e.allowTransparency="true";default:a.innerHTML=this.buildHTMLString(c,e,g)}}},buildHTMLString:function(a,b,c){var d=!0;switch(a){case "script":d=!1;case "iframe":null==c&&(c="");break;default:if(!/[\w\-\.:]+/.test(a))throw new TypeError("INVALID_CHARACTER_ERR");
}var f="";b=this.buildAttributesString(b);return f=null==c?f.concat("<",a," ",b,"/>"):f.concat("<",a," ",b,">",d?this.escapeHTML(c.toString()):c,"</",a,">")},buildAttributesString:function(a){var b="",c=/[\w\-\.:]+/,d,f;for(d in a){if(!c.test(d))throw new TypeError("INVALID_CHARACTER_ERR");f=a[d];b=b.concat(d,'="',null==f?"":this.escapeHTML(f.toString()),'" ')}return b},escapeHTML:function(a){return a.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;")},getCurrentScriptByText:function(a,
b){for(var c=this.content.getElementsByTagName("script"),d=c.length,f;d--&&!(f=c[d],f.text&&-1<f.text.substr(0,b).indexOf(a));)f=null;return f}};return window.gooad=new j(g)}
(function(){var g=window.gooad,j=g.buildAttributesString;g.buildAttributesString=function(a){var b=a.src;if(b){var c=function(a){return a.replace(/\&/g,"%26").replace(/\</g,"%3C").replace(/\>/g,"%3E").replace(/\'/g,"%27").replace(/\"/g,"%22")},d=b.match(/^((?:https?:)?\/\/.*?)(\/(?:j|h)server)(\/.*)/);d&&(window.impAserver=d[1],window.impAtarget=d[3],window.impAlocate=c(encodeURIComponent(document.location)),window.impArefere=c(encodeURIComponent(!document.referrer?"":document.referrer)),window.impArnd=
Math.round(1E8*Math.random()),window.impApid||(window.impApid=Math.round(1E8*Math.random())),b=d[1].concat(d[2],"/acc_random=",window.impArnd,d[3],"/pageid=",window.impApid,"?ref=",encodeURIComponent(window.impArefere),"%09loc=",encodeURIComponent(window.impAlocate)));a.src=b}return j.call(g,a)}})();

(function () {
//DFP
this.dfp = new function() {
    var window;
    var self = this;
    self.key = 'DFP';
    self.value = '';

    self.initialize = function (scope) {
        window = scope;
        var headElem;
        var scriptElem1;
        var scriptElem2;

        if (window.gooad_is_dfp_ready_for_blog) {
            return;
        } else {
            window.gooad_is_dfp_ready_for_blog = true;
        }

        headElem = document.getElementsByTagName('head')[0];

        scriptElem1 = document.createElement('script');
        scriptElem1.src = 'https://www.googletagservices.com/tag/js/gpt.js';
        scriptElem1.type = 'text/javascript';
        scriptElem1.async = 'async';
        scriptElem1.defer = 'defer';
        headElem.appendChild(scriptElem1);

        window.googletag = window.googletag || {};
        googletag.cmd = googletag.cmd || [];

        window.gooadHbVendors = 0;
        window.gooadHbCount = 0;

        window.gooadHbCounter = function() {
            ++window.gooadHbCount;

            if (window.gooadHbCount == window.gooadHbVendors) {
                window.gooadDfpRefresh();
            }
        };

        window.gooadDfpRefresh = function() {
            if (window.gooadDfpRefreshed) return;

            window.gooadDfpRefreshed = true;
            window.googletag.cmd.push(function() {
                if (window.gooadIsCdb) { window.Criteo.SetDFPKeyValueTargeting(); }
                if (window.gooadIsOxb) { window.OX.dfp_bidder.setOxTargeting(); }
                if (window.gooadIsAps) { window.apstag.setDisplayBids(); }
                if (window.gooadIsBxb) { window.pbjs.que.push(function() { window.pbjs.setTargetingForGPTAsync(); }); }
                window.googletag.pubads().refresh();
            });
        };

        scriptElem2 = document.createElement('script');
        scriptElem2.src = '//adcdn.goo.ne.jp/images/0common/map_dfp_hb.js';
        scriptElem2.type = 'text/javascript';
        scriptElem2.async = 'async';
        scriptElem2.defer = 'defer';
        headElem.appendChild(scriptElem2);
    };

    self.update = function () {
    };
};

//Amazon Publisher services
this.aps = new function () {
    var window;
    var self = this;
    self.key = 'APS';
    self.value = '';

    self.initialize = function (scope) {
        window = scope;

        if (window.gooad_is_aps_ready_for_blog) {
            return;
        } else {
            window.gooad_is_aps_ready_for_blog = true;
        }

        ++window.gooadHbVendors;

        var scriptElem;
        var headElem;

        !function(a9,a,p,s,t,A,g){if(a[a9])return;function q(c,r){a[a9]._Q.push([c,r])}a[a9]={init:function(){q("i",arguments)},fetchBids:function(){q("f",arguments)},setDisplayBids:function(){},_Q:[]};A=p.createElement(s);A.async=!0;A.src=t;g=p.getElementsByTagName(s)[0];g.parentNode.insertBefore(A,g)}("apstag",window,document,"script","//c.amazon-adsystem.com/aax2/apstag.js");

        scriptElem = document.createElement('script');
        scriptElem.type = 'text/javascript';
        scriptElem.src = '//adcdn.goo.ne.jp/images/0common/map_aps_bidder.js';
        scriptElem.async = 'async';
        scriptElem.defer = 'defer';
        headElem = document.getElementsByTagName('head')[0];
        headElem.insertBefore(scriptElem, headElem.firstChild);
    };

    self.update = function() {
    };
};

//OpenX Bidder
this.oxb = new function () {
    var window;
    var self = this;
    self.key = 'OXB';
    self.value = '';

    self.initialize = function (scope) {
        window = scope;

        if (window.gooad_is_oxb_ready_for_blog) {
            return;
        } else {
            window.gooad_is_oxb_ready_for_blog = true;
        }

        ++window.gooadHbVendors;

        var scriptElem1;
        var scriptElem2;
        var headElem;

        headElem = document.getElementsByTagName('head')[0];

        scriptElem1 = document.createElement('script');
        scriptElem1.type = 'text/javascript';
        scriptElem1.src = '//adcdn.goo.ne.jp/images/0common/map_ox_bidder.js';
        scriptElem1.async = 'async';
        scriptElem1.defer = 'defer';
        headElem.insertBefore(scriptElem1, headElem.firstChild);

        scriptElem2 = document.createElement('script');
        scriptElem2.type = 'text/javascript';
        scriptElem2.src = '//nttresonant-d.openx.net/w/1.0/jstag?nc=116038490-goo';
        scriptElem2.async = 'async';
        scriptElem2.defer = 'defer';
        headElem.insertBefore(scriptElem2, headElem.firstChild);
    };

    self.update = function() {
    };
};

//BeyondX Header Bidding
this.bxb = new function () {
    var window;
    var self = this;
    self.key = 'BXB';
    self.value = '';

    self.initialize = function (scope) {
        window = scope;

        if (window.gooad_is_bxb_ready_for_blog) {
            return;
        } else {
            window.gooad_is_bxb_ready_for_blog = true;
        }

        ++window.gooadHbVendors;

        var scriptElem1;
        var scriptElem2;
        var scriptElem3;
        var headElem;

        headElem = document.getElementsByTagName('head')[0];

        scriptElem1 = document.createElement('script');
        scriptElem1.type = 'text/javascript';
        scriptElem1.src = '//adcdn.goo.ne.jp/images/0common/map_bx_bidder.js';
        scriptElem1.async = 'async';
        scriptElem1.defer = 'defer';
        headElem.insertBefore(scriptElem1, headElem.firstChild);

        scriptElem2 = document.createElement('script');
        scriptElem2.type = 'text/javascript';
        scriptElem2.src = '//hbw.adjust-net.jp/adserver/ad/bxhb.js';
        scriptElem2.async = 'async';
        scriptElem2.defer = 'defer';
        headElem.insertBefore(scriptElem2, headElem.firstChild);

        scriptElem3 = document.createElement('script');
        scriptElem3.type = 'text/javascript';
        scriptElem3.src = '//hbw.adjust-net.jp/adserver/ad/prebid.js';
        scriptElem3.async = 'async';
        scriptElem3.defer = 'defer';
        headElem.insertBefore(scriptElem3, headElem.firstChild);
    };

    self.update = function() {
    };
};

//CDB
this.cdb = new function () {
    var window;
    var self = this;
    self.key = 'CDB';
    self.value = '';

    self.initialize = function (scope) {
        window = scope;

        if (window.gooad_is_cdb_ready_for_blog) {
            return;
        } else {
            window.gooad_is_cdb_ready_for_blog = true;
        }

        ++window.gooadHbVendors;

        var scriptElem1;
        var scriptElem2;

        scriptElem1 = document.createElement('script');
        scriptElem1.type = 'text/javascript';
        scriptElem1.src = 'https://static.criteo.net/js/ld/publishertag.js';
        scriptElem1.async = 'async';
        scriptElem1.defer = 'defer';
        document.head.appendChild(scriptElem1);

        window.Criteo = window.Criteo || {};
        window.Criteo.events = window.Criteo.events || [];

        scriptElem2 = document.createElement('script');
        scriptElem2.type = 'text/javascript';
        scriptElem2.src = '//adcdn.goo.ne.jp/images/0common/map_crt_direct_bidder.js';
        scriptElem2.async = 'async';
        scriptElem2.defer = 'defer';
        document.head.appendChild(scriptElem2);
    };

    self.update = function() {
    };
};

//KEYWORD
this.KEYWORD = new function() {
    var self = this;
    self.key = 'KEYWORD';
    self.value = '';

    self.initialize = function(scope) {

        var pattern = new RegExp('(?:^|[;\\\s]+)ATA\=([^;\\\s]+)');
        var matches = scope.document.cookie.match(pattern);
        self.value = matches ? self.normalize(decodeURIComponent(matches[1])) : '';

        if (self.value.length > 1 && self.value.substr(0, 2) === '00') {
            scope = null;

            return;
        }

        scope.getOptimizerCode = function(optimizerData) {
            var cookieLimit = (!!Date.now ? Date.now() : new Date().getTime()) + 60 * 1e3;
            self.value = optimizerData.ATA;
            window.gooad.optimizerData = optimizerData;
            document.cookie = 'ATA_OPT=' + optimizerData.ATA + ';domain=.goo.ne.jp;path=/;expires=' + new Date(cookieLimit).toUTCString();
        };

        var scriptObject = scope.document.createElement('script');
        scriptObject.src = '//bwb101.goo.ne.jp/attr/ata.js?type=jsonp&callback=getOptimizerCode&url=' + encodeURIComponent(!location.href ? '' : location.href);
        scriptObject.type = 'text/javascript';
        scope.document.getElementsByTagName('head')[0].appendChild(scriptObject);

        scope = null;
    };

    self.update = function() {
    };

    self.normalize = function(value) {
        value = value.replace(/([^_]+)\_\d{8}$/g, "$1");
        value = value.replace(/([^_]+)\_\d{8}\|/g, "$1");
        return value;
    };
};

//docodoco
this.docodoco = new function () {
    var window;
    var document;
    var self = this;
    self.key = 'DCDC';
    self.value = '';
    
    self.initialize = function (scope) {
        window = scope;
        document = window.document;
        var pattern = new RegExp('(?:^|[;\\\s]+)' + self.key + '=([^;\\\s]+)');
        var matches = document.cookie.match(pattern);
        self.value = matches ? decodeURIComponent(matches[1]) : '';
    };
    
    self.update = function () {
    };
};



}).call(gooad.vendors = {});

(function () {
    var parent = window.gooad;

    // override
    var buildAttributesString = parent.buildAttributesString;
    parent.buildAttributesString = function (attrs) {
        var src = attrs.src;
        if (src) {
            var key, value;
            var pattern;
            for (key in parent.vendors) {
                value = parent.vendors[key];
                pattern = '/' + value.key + '=';
                if (attrs.src.indexOf(pattern) > -1) {
                    value.update();
                    attrs.src = attrs.src.replace(pattern, value.value ? (pattern + encodeURIComponent(value.value)) : '');
                }
            }
        }
        return buildAttributesString.call(parent, attrs);
    };

    var key, value;
    for (key in parent.vendors) {
        try {
            value = parent.vendors[key];
            value.initialize(window);
        }
        catch (error) {
        }
    }
})();


