f99508_source_key = '6acdaec6d2b3fe480eb6cf10b1d69e07'; function f99508_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 = f99508_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+"__"+f99508_source_key+"__"+f99508_urlencode(ref); }else{ ref = f99508_urlencode(ref); uri = f99508_urlencode(uri); } try{ if(ad_count == undefined){ var ad_count = 0; } }catch(e){ var ad_count = 0; } ad_count++; if(ad_count <= 3){ function f99508_writeFrame(){ var frame_html = '
'; document.write(frame_html); frame_html = ""; } f99508_writeFrame(); }else{ document.write(''); } function f99508_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; }