if (typeof adingoDA0111500001 == 'undefined') {
    var adingoDA0111500001 = null;
}
var hybridPlus0111500001 = {
    keywordSets : [{"word":"\u6c34\u866b","ref":"HS_nayami_ORG_bb709173728cd7377aebd5d0a4fb6f57"},{"word":"\u4fbf\u79d8","ref":"HS_nayami_ORG_623c4fc4a2862856b39a068f9bb80c77"},{"word":"\u8170\u75db","ref":"HS_nayami_ORG_3286d31d8d37b9136b31aab8eb1f23df"},{"word":"\u6b6f\u79d1\u7528\u30a4\u30f3\u30d7\u30e9\u30f3\u30c8","ref":"HS_nayami_ORG_bfbc502964d16e5d0ae88706b577cec6"},{"word":"\u30ef\u30ad\u30ac\u6cbb\u7642","ref":"HS_nayami_ORG_494bb8f1497ca2a1d63b56ac31e82f9d"},{"word":"\u30ec\u30fc\u30b7\u30c3\u30af","ref":"HS_nayami_ORG_99390951557f55f251de94a5e022ac58"}],
    target : true,
    url : "http://ad.myclinic.ne.jp/sponsor/?Keywords=",
    apikey : "0111500001",
    
    run : function()
    {
        hybridPlus0111500001.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 < hybridPlus0111500001.keywordSets.length; i++) {
            var li  = document.createElement("li");
            var a   = document.createElement("a");
            a.setAttribute("href", hybridPlus0111500001.url + encodeURIComponent(unescape(hybridPlus0111500001.keywordSets[i]['word'])) + '&ref=' + hybridPlus0111500001.keywordSets[i]['ref'] + "&e=ut");
            a.onclick = function() {
                if (adingoDA0111500001!= null && typeof adingoPageTracker != 'undefined') {
                    adingoDA0111500001.adingoClickTracker(this);
                    return false;
                }
            }
            if (hybridPlus0111500001.target) a.setAttribute("target", "_blank");
            a.innerHTML = unescape(hybridPlus0111500001.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 (hybridPlus0111500001.existDAScript() && typeof adingoPageTracker != 'undefined') {
            adingoDA0111500001 = new adingoPageTracker("PDA-1115-0008-0111500001", "UTF-8", "00001");
        } else if(count < 10) {
            setTimeout("hybridPlus0111500001.initDA(" + (count + 1) + ")", 100);
        }
    }
}
hybridPlus0111500001.run();
