if (typeof adingoDA0117400001 == 'undefined') {
    var adingoDA0117400001 = null;
}
var hybridPlus0117400001 = {
    keywordSets : [{"word":"\u5206\u7159","ref":"CBL_kuchikomi_ORG_09e1e0eac5f47551d54dcb8187593a12"},{"word":"\u7981\u7159 \u30ab\u30e9\u30aa\u30b1","ref":"CBL_kuchikomi_ORG_e4bf5e84f4b043907c7aaa5ab0b76f77"},{"word":"\u7981\u7159 \u30c4\u30a2\u30fc","ref":"CBL_kuchikomi_ORG_8d2c860e6633d882a252a0d17387eccb"},{"word":"\u7981\u7159\u6cbb\u7642","ref":"CBL_kuchikomi_ORG_26e28447d0dd1bbc30a57ae9d18ccb84"},{"word":"\u7981\u7159 \u65c5\u9928","ref":"CBL_kuchikomi_ORG_5c5c080bc7f3754f81ebe6bd3c5cb5fb"}],
    target : false,
    url : "http://search.kinen-style.com/search?type=site&q=",
    apikey : "0117400001",
    
    run : function()
    {
        hybridPlus0117400001.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 < hybridPlus0117400001.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0117400001.url + encodeURIComponent(unescape(hybridPlus0117400001.keywordSets[i]['word'])) + '&ref=' + hybridPlus0117400001.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0117400001!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0117400001.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0117400001.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0117400001.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 (hybridPlus0117400001.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0117400001 = new adingoPageTracker("PDA-1174-0008-0117400001", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0117400001.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0117400001.run();
