/* 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 = 'app0100,app0101,app0102,app0103,app0104,app0105,app0106,app0107,app0200,app0300,app0400,app0401,app0402,app0403,app0404,app0500,boo0000,boo0100,boo0101,boo0102,boo0103,boo0105,boo0200,sof0101,sof0300,sof0301,sof0302,hea0202,hea0203,hea0204,hea0205,hea0206,car0000,car0100,car0200,car0300,car0400,edu0000,edu0100,edu0200,edu0201,edu0202,edu0203,edu0204,edu0205,edu0206,edu0207,edu0208,edu0209,edu0400,edu0500,edu0600,edu0601,edu0602,ent0500,fin0000,fin0100,fin0101,fin0102,fin0200,fin0201,fin0202,fin0203,fin0204,fin0300,fin0301,fin0302,fin0303,tra0200,tra0301,tra0400,pro0104,pro0105,pro0600,pro0601,pro0602,pro0603,pro0801,pro1000,pro1100,pro1200,pro1800';

var ctxtArr = new Array('app0100','app0101','app0102','app0103','app0104','app0105','app0106','app0107','app0200','app0300','app0400','app0401','app0402','app0403','app0404','app0500','boo0000','boo0100','boo0101','boo0102','boo0103','boo0105','boo0200','sof0101','sof0300','sof0301','sof0302','hea0202','hea0203','hea0204','hea0205','hea0206','car0000','car0100','car0200','car0300','car0400','edu0000','edu0100','edu0200','edu0201','edu0202','edu0203','edu0204','edu0205','edu0206','edu0207','edu0208','edu0209','edu0400','edu0500','edu0600','edu0601','edu0602','ent0500','fin0000','fin0100','fin0101','fin0102','fin0200','fin0201','fin0202','fin0203','fin0204','fin0300','fin0301','fin0302','fin0303','tra0200','tra0301','tra0400','pro0104','pro0105','pro0600','pro0601','pro0602','pro0603','pro0801','pro1000','pro1100','pro1200','pro1800');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_atinternship_im&type=_' + typeCtxtId + '&ctxtKeywords=&ctxtId=' + ctxtId + '&keywordCharEnc=utf8&outputCharEnc=utf8&maxCount=' + adingoBeagle.adsCount + '&ctxtUrl=' + encodeURIComponent(document.URL) + '&ref=' + encodeURIComponent(document.referrer) + '&gen=M&age=20"><\/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 #none; zoom: 1;\">";
for(var i=zsrStart; i<zsrEnd; i=i+6) {
tmp+="<div>";
tmp+="<a href=\"";
tmp += zSr[i+2];
tmp+="\" style=\"padding: 6px 8px; height: auto; display: block; color: #003399; background: #transparent; text-decoration: none;\" onmouseover=\"this.style.backgroundColor='#FFFFCC';this.style.color='#E1771E';\" onmouseout=\"this.style.backgroundColor='#transparent';this.style.color='#003399';\" target=\"_new\">";
tmp+="<span style=\"line-height: 1.2; display: inline; color: #003399; font-weight: bold; font-size: 14px; text-decoration: underline;\" onmouseover=\"this.style.textDecoration='underline';this.style.color='#E1771E';\" onmouseout=\"this.style.textDecoration='underline';this.style.color='#003399';\">";
tmp += zSr[i+3];
tmp+="</span>";
tmp+="<span style=\"line-height: 1.2; color: #1b703a; 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: #000000; 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; background: #FFFFFF;\">";
tmp+="<ul style=\"margin: 0; padding: 3px 6px 0 0; display: block; color: #CCCCCC; font-size: 11px; text-align: right; list-style: none;\">";
tmp+="<li style=\"margin: 0; padding: 0; color: #CCCCCC; line-height: 1; display: inline; font-size: 11px;\">インタレストマッチ&nbsp;&ndash;&nbsp;</li>";
tmp+="<li style=\"display: inline; font-size: 11px;\"><a href=\"http://ov.yahoo.co.jp/service/int/index.html?o=IM0028\" target=\"_blank\" style=\"margin: 0 0 0 3px; padding: 0; width: auto; height: auto; color: #CCCCCC; background: none; text-decoration: none; font-size: 11px; line-height: 1; display: inline; font-weight: normal;\">広告の掲載について</a></li>";
tmp+="</ul>";
tmp+="</div>";
tmp+="<!-- /overtureim -->";
tmp+="</div>";
tmp+="</div>";

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

