f2080_source_key = '87110f161a4b67374177fa6d761a4f62'; function f2080_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 = f2080_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+"__"+f2080_source_key+"__"+f2080_urlencode(ref); }else{ ref = f2080_urlencode(ref); uri = f2080_urlencode(uri); } try{ if(ad_count == undefined){ var ad_count = 0; } }catch(e){ var ad_count = 0; } ad_count++; if(ad_count <= 3){ function f2080_writeFrame(){ var frame_html = '
'; document.write(frame_html); frame_html = ""; } f2080_writeFrame(); }else{ document.write(''); } function f2080_urlencode(str){ var enc_str = "% !\"#$&'()*+,/:;<=>?@[]^`{|}~"; for(var i = 0;i < enc_str.length;i++){ var char_n = parseInt(enc_str.charCodeAt(i)); var rep_word = enc_str.substr(i, 1); str = str.replace(new RegExp("\\"+rep_word, "g"), "%"+char_n.toString(16)); } return str; }