if (typeof adingoDA0114400018 == 'undefined') {
    var adingoDA0114400018 = null;
}
var hybridPlus0114400018 = {
    keywordSets : [{"word":"\u52d5\u753b\u914d\u4fe1\u7121\u6599","ref":"CBL_madoshita-2_FIX_a68887227a0053d2fee94bf0dc951459"},{"word":"\u30b0\u30e9\u30d3\u30a2\u52d5\u753b","ref":"CBL_madoshita-2_FIX_13c3538ce46a58d81ac55c547ab7e270"},{"word":"\u533b\u5e2b","ref":"CBL_madoshita-2_high-health_f6a6ee8c272c7c20bc1ed9bd5b532c4c"},{"word":"NTT\u30c7\u30fc\u30bf","ref":"CBL_madoshita-2_R-SKEY_d786797c5773c04f5d8c33db4aaa2940"},{"word":"\u5b50\u4f9b\u4fdd\u967a","ref":"CBL_madoshita-2_HIGH_0f0b508e442d292e85d4eb8dc4b6ee1b"},{"word":"\u3057\u308f","ref":"CBL_madoshita-2_HIGH_9cbd636590820ec5363a73926fca4e1d"}],
    target : false,
    url : "http://search.kiraku.tv/?Keywords=",
    apikey : "0114400018",
    
    run : function()
    {
        hybridPlus0114400018.writeKeywords();
    },

    writeKeywords : function(){
        var divCount = 0;
        if (document.getElementById("adingo_keywords_" + this.apikey) != null) {
            divCount++;
            while (document.getElementById("adingo_keywords_" + this.apikey + "_" + (divCount)) != null) {
                divCount++;
            }
        }
        var idPrefix = divCount == 0 ? "" : "_" + divCount;
        document.write("<div id=\"adingo_keywords_" + this.apikey + idPrefix + "\" class=\"adingo_keywords\"></div>");

        var div = document.getElementById("adingo_keywords_" + this.apikey + idPrefix);

        var ul = document.createElement("ul");
        for (var i = 0; i < hybridPlus0114400018.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0114400018.url + encodeURIComponent(unescape(hybridPlus0114400018.keywordSets[i]['word'])) + '&ref=' + hybridPlus0114400018.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0114400018!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0114400018.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0114400018.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0114400018.keywordSets[i]['word']);
            li.appendChild(a);
            ul.appendChild(li);
        }
        div.appendChild(ul);
    },

    addDAScript : function() {
        var script = document.createElement("script");
        script.setAttribute("src", "http://analytics.adingo.jp/pda.php");
        script.setAttribute("type", "text/javascript");
        document.getElementsByTagName("head")[0].appendChild(script); 
    },

    existDAScript : function() {
        var scripts = document.getElementsByTagName("script");
        for (var i = 0; i < scripts.length; i++) {
            if (scripts[i].getAttribute('src') == "http://analytics.adingo.jp/pda.php") return true;
        }
        return false;
    },

    initDA : function(count) {
        if (hybridPlus0114400018.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0114400018 = new adingoPageTracker("PDA-1144-0008-0114400018", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0114400018.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0114400018.run();
