/* v20100608 */
if(typeof(adingoBeagle)=="undefined"){
    adingoBeagle = new Array();
    adingoBeagle.adsCount = 0;
    adingoBeagle.showCount = 0;
    adingoBeagle.outputCount = 0;
    adingoBeagle.requestFlag = 0;
    
    adingoBeagle.adingoAdsRequest = function(){
        if(typeof(adingoBeagle.adsCount)!="undefined" && adingoBeagle.showCount!="undefined"){
            if(adingoBeagle.adsCount!=0 && adingoBeagle.showCount!=0){
                var ctxtId = 'ret0201,pro0105,rea0102,fin0300,aut0200,pro0502,pro1900,pro0802,com1000,tra0400,fin0100,edu0100,pro0100,ret0100,hea0400,hea0201,fin0101,ent0400,pro0102,pro1000,rea0302,rea0104,rea0103,rea0100,com0200';

var ctxtArr = new Array('ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','ret0201','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','pro0105','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','rea0102','fin0300','fin0300','fin0300','fin0300','aut0200','aut0200','aut0200','aut0200','pro0502','pro0502','pro0502','pro0502','pro1900','pro1900','pro1900','pro1900','pro0802','pro0802','pro0802','pro0802','com1000','com1000','com1000','com1000','tra0400','tra0400','tra0400','tra0400','fin0100','fin0100','fin0100','fin0100','edu0100','edu0100','edu0100','edu0100','pro0100','pro0100','pro0100','pro0100','ret0100','ret0100','ret0100','ret0100','hea0400','hea0400','hea0400','hea0400','hea0201','hea0201','hea0201','hea0201','fin0101','fin0101','fin0101','fin0101','ent0400','ent0400','ent0400','ent0400','pro0102','pro0102','pro0102','pro0102','pro1000','pro1000','pro1000','pro1000','rea0302','rea0302','rea0302','rea0302','rea0104','rea0104','rea0104','rea0104','rea0103','rea0103','rea0103','rea0103','rea0100','rea0100','rea0100','rea0100','com0200','com0200','com0200','com0200');var randNum = Math.floor(Math.random() * ctxtArr.length);ctxtId = ctxtArr[randNum];

var typeCtxtId = ctxtId;

document.write('<script type="text/javascript" src="http://im.ecnavi.ov.yahoo.co.jp/js_flat/?source=ecnavi_jp_techinsight_im&type=news_' + typeCtxtId + '&ctxtKeywords=&ctxtId=' + ctxtId + '&keywordCharEnc=utf8&outputCharEnc=utf8&maxCount=' + adingoBeagle.adsCount + '&ctxtUrl=' + encodeURIComponent(document.URL) + '&ref=' + encodeURIComponent(document.referrer) + '&gen=&age="><\/script>');

                adingoBeagle.requestFlag = 1;
            }
            document.write('<scr'+'ipt type="text/javascript" src="http://contents.adingo.jp.eimg.jp/adingoExecAds.js"><\/scr'+'ipt>');
        }
    }
    
    adingoBeagle.showAds = function(){
        if(adingoBeagle.requestFlag==1) {
            for(var i=1; i<=adingoBeagle.showCount; i++) {
                adingoBeagle["showAdingoBeagle"+i](i);
            }
        }
    }
    
}

adingoBeagle.showCount += 1;
adingoBeagle.adsCount += 3;

document.write('<div id="adingoBeagle'+adingoBeagle.showCount+'"  >&nbsp;</div>');
adingoBeagle["showAdingoBeagle"+adingoBeagle.showCount] = function(no){
    var tmp='';
    
    if(typeof(zSr)=="undefined") return;
    var zsrStart = (adingoBeagle.outputCount + 1) * 6;
    adingoBeagle.outputCount += 3;
    var zsrEnd = (adingoBeagle.outputCount + 1) * 6;
    if(zSr.length<zsrEnd) return;
    var i=zsrStart;
    
    tmp+="<!-- banner start-->";
tmp+="<div style=\"margin: 0; padding: 0; width: auto; height: auto; text-align: left !important;	letter-spacing: normal !important; font-family: 'Lucida Grande','Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','ＭＳ Ｐゴシック',Geneva,Arial,Verdana,sans-serif !important;\">";
tmp+="<div style=\"border: 1px solid #f4f6f6; zoom: 1;\">";
for(var i=zsrStart; i<zsrEnd; i=i+6) {
tmp+="<div>";
tmp+="<a href=\"";
tmp += zSr[i+2];
tmp+="\" style=\"padding: 8px 10px; height: auto; display: block; color: #336699; background: #f4f6f6; text-decoration: none;\" onmouseover=\"this.style.backgroundColor='#d1ebed';this.style.color='#D90000';\" onmouseout=\"this.style.backgroundColor='#f4f6f6';this.style.color='#336699';\" target=\"_new\">";
tmp+="<span style=\"line-height: 1.2; display: inline; font-weight: bold;	font-size: 16px; text-decoration: none;\" onmouseover=\"this.style.textDecoration='underline';\" onmouseout=\"this.style.textDecoration='none';\">";
tmp += zSr[i+3];
tmp+="</span>";
tmp+="<span style=\"line-height: 1.2; color: #ADC3C7; font-size: 10px; display: inline; text-decoration: none !important;\" >&nbsp;&ndash;&nbsp;";
tmp += zSr[i+4];
tmp+="</span>";
tmp+="<span style=\"width: auto; height: auto; line-height: 1.2; color: #333333; font-size: 12px; display: block; text-decoration: none !important;\">";
tmp += zSr[i];
tmp+="</span>";
tmp+="</a>";
tmp+="</div>";
}
tmp+="<!-- overtureim -->";
tmp+="<div style=\"margin: 0; padding: 0; width: 100% !important; height: 16px; clear: both; text-align: right; background: #f4f6f6;\">";
tmp+="<ul style=\"margin: 0; padding: 3px 6px 0 0; display: block; color: #ADC3C7; font-size: 11px; list-style: none;\">";
tmp+="<li style=\"margin: 0; padding: 0; line-height: 1; display: inline;\">インタレストマッチ</li>";
tmp+="<li style=\"display: inline;\"><a href=\"http://ov.yahoo.co.jp/service/int/index.html?o=IM0028\" target=\"_blank\" style=\"margin: 0; padding: 0; width: auto; height: auto; color: #ADC3C7; background: none; text-decoration: none;\">広告の掲載について</a></li>";
tmp+="</ul>";
tmp+="</div>";
tmp+="<!-- /overtureim -->";
tmp+="</div>";
tmp+="</div>";

    
    if (tmp != "") document.getElementById('adingoBeagle'+no).innerHTML = tmp;
}

