if (typeof adingoDA0014500003 == 'undefined') {
    var adingoDA0014500003 = null;
}
var hybridPlus0014500003 = {
    keywordSets : [{"word":"\u4e0d\u52d5\u7523\u6295\u8cc7","ref":"HS_article_ORG_081747ec37efebe6c366fc3a4199e918"},{"word":"\u5b9a\u671f\u9810\u91d1","ref":"HS_article_ORG_9491bb2c2b8b600ca0f77aa374a25545"},{"word":"\u6295\u8cc7\u30bb\u30df\u30ca\u30fc","ref":"HS_article_ORG_47aa7067139593d6a3a896bd0c4d55e4"},{"word":"\u81ea\u52d5\u8eca\u8cb7\u53d6","ref":"HS_article_ORG_1fc9a08390e55eda8c4381b6f9ada6bf"},{"word":"\u30ec\u30fc\u30b7\u30c3\u30af","ref":"HS_article_ORG_99390951557f55f251de94a5e022ac58"},{"word":"\u767d\u9aea\u67d3\u3081","ref":"HS_article_ORG_6e52c961020a5130bd62a8304c1a2fc4"},{"word":"\u6295\u8cc7\u4fe1\u8a17","ref":"HS_article_ORG_0029ce765376eed22c9c65f01e900d88"}],
    target : false,
    url : "http://search.toremaga.com/sponsor/?Keywords=",
    apikey : "0014500003",
    
    run : function()
    {
        hybridPlus0014500003.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 < hybridPlus0014500003.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0014500003.url + encodeURIComponent(unescape(hybridPlus0014500003.keywordSets[i]['word'])) + '&ref=' + hybridPlus0014500003.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0014500003!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0014500003.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0014500003.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0014500003.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 (hybridPlus0014500003.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0014500003 = new adingoPageTracker("PDA-145-0008-0014500003", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0014500003.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0014500003.run();
