if (typeof adingoDA0079100001 == 'undefined') {
    var adingoDA0079100001 = null;
}
var hybridPlus0079100001 = {
    keywordSets : [{"word":"\u30d7\u30c1\u6574\u5f62","ref":"HS_trend_ORG_46bf8fb70f8348623d70221b2ac74823"},{"word":"\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u6bd4\u8f03","ref":"HS_trend_ORG_f428299a819f6cbb145d769aada87b5c"},{"word":"FX\u4f1a\u793e\u30e9\u30f3\u30ad\u30f3\u30b0","ref":"HS_trend_ORG_4843cf71374ae76794fe80f26e9363e8"},{"word":"\u6700\u65b0\u6d77\u5916\u30c9\u30e9\u30de","ref":"HS_trend_ORG_6bb55070534e74dcd04233424bdfa720"},{"word":"\u6700\u65b0\u30ce\u30fc\u30c8PC","ref":"HS_trend_ORG_936e6b14903509e1b2c4f195ae0fe5c0"},{"word":"\u5927\u4eba\u306e\u30de\u30f3\u30ac","ref":"HS_trend_ORG_0aad1295aaf901c1574e6f55eb6de8cb"},{"word":"\u6577\u91d1\u793c\u91d1\u30bc\u30ed","ref":"HS_trend_ORG_2555192aeea196322c4fb22960005449"},{"word":"\u5a5a\u6d3b","ref":"HS_trend_ORG_3ab9c020fd2dc91785bfaeaafdfb75ee"},{"word":"\u7d2b\u5916\u7dda\u5bfe\u7b56","ref":"HS_trend_ORG_f6700ae87cd0f7576467da0f944d7b3e"},{"word":"\u6620\u753b\u8a66\u5199\u4f1a","ref":"HS_trend_ORG_f2542900d27431b5f1a04968b87b231b"}],
    target : true,
    url : "http://search.diamondblog.jp/sponsor/?Keywords=",
    apikey : "0079100001",
    
    run : function()
    {
        hybridPlus0079100001.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 < hybridPlus0079100001.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0079100001.url + encodeURIComponent(unescape(hybridPlus0079100001.keywordSets[i]['word'])) + '&ref=' + hybridPlus0079100001.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0079100001!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0079100001.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0079100001.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0079100001.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 (hybridPlus0079100001.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0079100001 = new adingoPageTracker("PDA-791-0008-0079100001", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0079100001.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0079100001.run();
