if (typeof adingoDA0052800001 == 'undefined') {
    var adingoDA0052800001 = null;
}
var hybridPlus0052800001 = {
    keywordSets : [{"word":"\u30ec\u30bb\u30b3\u30f3","ref":"HS_mdesical_FIX_1922a404aad801019213e1bd91a38a31"},{"word":"\u30e1\u30bf\u30dc\u691c\u8a3a","ref":"HS_mdesical_FIX_cbbcc7912355ab769703c4f306764bb2"},{"word":"\u533b\u85ac\u54c1\u696d\u754c\u306e\u8ee2\u8077\u60c5\u5831","ref":"HS_mdesical_FIX_712a8df7759b43a857ca5447de37db90"},{"word":"\u767b\u9332\u8ca9\u58f2\u8005\u8a66\u9a13\u5bfe\u7b56","ref":"HS_mdesical_FIX_61d8185f64a6787094edc9b4c86ddc9b"},{"word":"\u8a3a\u7642\u5831\u916c","ref":"HS_mdesical_FIX_292cde51e0ae991fc439073b9fb3b187"},{"word":"\u30b8\u30a7\u30cd\u30ea\u30c3\u30af","ref":"HS_mdesical_FIX_a6a042a7a5cd9759a4e75a7df457c10a"}],
    target : true,
    url : "http://search.yakuji.co.jp/sponsor/?Keywords=",
    apikey : "0052800001",
    
    run : function()
    {
        hybridPlus0052800001.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 < hybridPlus0052800001.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0052800001.url + encodeURIComponent(unescape(hybridPlus0052800001.keywordSets[i]['word'])) + '&ref=' + hybridPlus0052800001.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0052800001!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0052800001.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0052800001.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0052800001.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 (hybridPlus0052800001.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0052800001 = new adingoPageTracker("PDA-528-0008-0052800001", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0052800001.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0052800001.run();
