f36215_source_key = '2f0bd74122ebf2082c429ecc63f637c4'; function f36215_getparentobj(){ cfn=1; cf_crdc=window.parent; while(cfn){ if(cf_crdc.parent.document.URL==cf_crdc.document.URL){ cfn=0; }else{ cf_crdc=cf_crdc.parent; } } return cf_crdc; } parentobj = f36215_getparentobj(); uri = parentobj.document.URL; ref = parentobj.document.referrer; reg_obj_1 = new RegExp("^http:\/\/img\.shinobi\.jp\/test\/axad2.html\\?(.*)$", "g"); if(window.location.href.match(reg_obj_1)){ ref = RegExp.$1+"__"+f36215_source_key+"__"+f36215_urlencode(ref); }else{ ref = encodeURIComponent(ref); uri = encodeURIComponent(uri); } try{ if(ad_count == undefined){ var ad_count = 0; } }catch(e){ var ad_count = 0; } ad_count++; if(ad_count <= 3){ function f36215_writeFrame(){ var iframeurl= 'http://axad.mad.team.shinobi.jp/ad/frame/index/'; var param = '?'; param = (ref) ? param.concat('ref='+ref+'&') : param.concat('') ; param = (f36215_source_key) ? param.concat('source-key='+f36215_source_key+'&') : param.concat('') ; param = (uri) ? param.concat('uri='+uri+'&') : param.concat('') ; var frame_html = '
'; document.write(frame_html); frame_html = ""; } f36215_writeFrame(); }else{ document.write(''); } function f36215_urlencode(str){ return str; }