if (typeof adingoDA0114400010 == 'undefined') {
    var adingoDA0114400010 = null;
}
var hybridPlus0114400010 = {
    keywordSets : [{"word":"\u52dd\u8ca0\u4e0b\u7740","ref":"CBL_fashion_ORG_65e137f2103dfb5ddee06fa0ed57c885"},{"word":"\u901a\u8ca9","ref":"CBL_fashion_ORG_29bdc76182bd8187c75fb00b8fae5de5"},{"word":"\u30c7\u30b6\u30a4\u30f3 \u901a\u8ca9","ref":"CBL_fashion_ORG_cf10be9c6a92aec6aece5017eedacf6d"},{"word":"\u5316\u7ca7\u54c1 \u901a\u8ca9","ref":"CBL_fashion_ORG_5e2e92ec6e4a79ba14e282b467a6f3da"},{"word":"\u4e0b\u7740","ref":"CBL_fashion_ORG_dbc81d7c55e563bd9670e8dcaff71fd7"}],
    target : false,
    url : "http://search.kiraku.tv/?Keywords=",
    apikey : "0114400010",
    
    run : function()
    {
        hybridPlus0114400010.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 < hybridPlus0114400010.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0114400010.url + encodeURIComponent(unescape(hybridPlus0114400010.keywordSets[i]['word'])) + '&ref=' + hybridPlus0114400010.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0114400010!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0114400010.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0114400010.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0114400010.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 (hybridPlus0114400010.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0114400010 = new adingoPageTracker("PDA-1144-0008-0114400010", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0114400010.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0114400010.run();
