if (typeof adingoDA0111500003 == 'undefined') {
    var adingoDA0111500003 = null;
}
var hybridPlus0111500003 = {
    keywordSets : [{"word":"\u30cb\u30ad\u30d3\u6cbb\u7642","ref":"HS_biyou_ORG_41036de1ef76f9c20c42a4d4b563c504"},{"word":"\u3057\u308f\u9664\u53bb","ref":"HS_biyou_ORG_07747abb9e09221e8d7f6d1741be82c8"},{"word":"\u8c4a\u80f8\u624b\u8853","ref":"HS_biyou_ORG_13ba52ac4b009659d2e499bb9805b51e"},{"word":"\u30db\u30af\u30ed \u9664\u53bb","ref":"HS_biyou_ORG_2a5ab3ea247a7b1d9521309db9200b72"},{"word":"\u30c0\u30a4\u30a8\u30c3\u30c8","ref":"HS_biyou_ORG_9a090b17c6df369624457b0a13970221"},{"word":"\u7f8e\u5bb9\u6574\u5f62","ref":"HS_biyou_ORG_019ff0ce4e022467bb11d2933dce731f"}],
    target : true,
    url : "http://ad.myclinic.ne.jp/sponsor/?Keywords=",
    apikey : "0111500003",
    
    run : function()
    {
        hybridPlus0111500003.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 < hybridPlus0111500003.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0111500003.url + encodeURIComponent(unescape(hybridPlus0111500003.keywordSets[i]['word'])) + '&ref=' + hybridPlus0111500003.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0111500003!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0111500003.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0111500003.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0111500003.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 (hybridPlus0111500003.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0111500003 = new adingoPageTracker("PDA-1115-0008-0111500003", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0111500003.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0111500003.run();
