if (typeof adingoDA0066200001 == 'undefined') {
    var adingoDA0066200001 = null;
}
var hybridPlus0066200001 = {
    keywordSets : [{"word":"\u79cb\u306e\u9023\u4f11","ref":"HS_link_ORG_499c5864ce6bbe67f0ec7a01f8446a25"},{"word":"\u81ea\u7136\u4f53\u9a13","ref":"HS_link_ORG_ba7f487d3d54f872f98a6091d84c42c8"},{"word":"\u30b9\u30dd\u30fc\u30c4\u4f53\u9a13","ref":"HS_link_ORG_93e94faabe2e5be0d99b976a10cbb0ec"},{"word":"\u4e57\u99ac\u4f53\u9a13","ref":"HS_link_ORG_399824335523075d3ff84e316582bc19"},{"word":"\u7530\u820e\u4f53\u9a13","ref":"HS_link_ORG_09d70b23004a343d617e5919300e9091"},{"word":"\u4f53\u9a13\u9676\u82b8","ref":"HS_link_ORG_74948b71619ee789b0b258d111290167"},{"word":"\u30ab\u30e4\u30c3\u30af","ref":"HS_link_ORG_e47ae6c9bef0d823baabb1201b7337b8"}],
    target : true,
    url : "http://ad.tikitabi.com/sponsor/?Keywords=",
    apikey : "0066200001",
    
    run : function()
    {
        hybridPlus0066200001.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 < hybridPlus0066200001.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0066200001.url + encodeURIComponent(unescape(hybridPlus0066200001.keywordSets[i]['word'])) + '&ref=' + hybridPlus0066200001.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0066200001!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0066200001.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0066200001.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0066200001.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 (hybridPlus0066200001.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0066200001 = new adingoPageTracker("PDA-662-0008-0066200001", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0066200001.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0066200001.run();
