if (typeof adingoDA0111500002 == 'undefined') {
    var adingoDA0111500002 = null;
}
var hybridPlus0111500002 = {
    keywordSets : [{"word":"\u81ea\u5f8b\u795e\u7d4c\u5931\u8abf\u75c7","ref":"HS_mentaru_ORG_ced7e3cc7c8c7499250d2b34d09fe209"},{"word":"\u4e0d\u7720\u75c7","ref":"HS_mentaru_ORG_7576e9ac72078b0ca33a35a670610879"},{"word":"\u4e0d\u5b89\u969c\u5bb3","ref":"HS_mentaru_ORG_45dcd24d8309425c66024cfbf318ffef"},{"word":"\u30ab\u30a6\u30f3\u30bb\u30ea\u30f3\u30b0","ref":"HS_mentaru_ORG_d374d95049b72c086bb3dc28ad53211f"},{"word":"\u5f15\u304d\u3053\u3082\u308a","ref":"HS_mentaru_ORG_3afb5bcd5eed3b3642cca71469c49f84"},{"word":"\u3046\u3064\u75c5","ref":"HS_mentaru_ORG_0620bfb38e25b5e6981e52964efd27ff"}],
    target : true,
    url : "http://ad.myclinic.ne.jp/sponsor/?Keywords=",
    apikey : "0111500002",
    
    run : function()
    {
        hybridPlus0111500002.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 < hybridPlus0111500002.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0111500002.url + encodeURIComponent(unescape(hybridPlus0111500002.keywordSets[i]['word'])) + '&ref=' + hybridPlus0111500002.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0111500002!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0111500002.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0111500002.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0111500002.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 (hybridPlus0111500002.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0111500002 = new adingoPageTracker("PDA-1115-0008-0111500002", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0111500002.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0111500002.run();
