if (typeof adingoDA0111500006 == 'undefined') {
    var adingoDA0111500006 = null;
}
var hybridPlus0111500006 = {
    keywordSets : [{"word":"\u533b\u7642\u4e8b\u52d9 \u6c42\u4eba","ref":"HS_kyuujin_ORG_60257ea556087930bd6fa81ef757b0a3"},{"word":"\u6b6f\u79d1\u885b\u751f\u58eb \u6c42\u4eba","ref":"HS_kyuujin_ORG_e63582d686c67b1bc9fbffa0805d350f"},{"word":"\u85ac\u5264\u5e2b \u6c42\u4eba","ref":"HS_kyuujin_ORG_57057d26b37c3837f74878f80b2a8646"},{"word":"\u7406\u5b66\u7642\u6cd5\u58eb \u6c42\u4eba","ref":"HS_kyuujin_ORG_d6a38693a748900df96d9812bf025283"},{"word":"\u533b\u5e2b \u6c42\u4eba","ref":"HS_kyuujin_ORG_be3d48b56395160aa652cb86bef86032"},{"word":"\u770b\u8b77\u58eb \u6c42\u4eba","ref":"HS_kyuujin_ORG_9ce92ca666d8b2176c674a7e99c4c3fa"}],
    target : true,
    url : "http://ad.myclinic.ne.jp/sponsor/?Keywords=",
    apikey : "0111500006",
    
    run : function()
    {
        hybridPlus0111500006.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 < hybridPlus0111500006.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0111500006.url + encodeURIComponent(unescape(hybridPlus0111500006.keywordSets[i]['word'])) + '&ref=' + hybridPlus0111500006.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0111500006!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0111500006.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0111500006.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0111500006.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 (hybridPlus0111500006.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0111500006 = new adingoPageTracker("PDA-1115-0008-0111500006", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0111500006.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0111500006.run();
