f841_source_key = '5b024dec248b05f99230e0d5b11f14a3'; function f841_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 = f841_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+"__"+f841_source_key+"__"+f841_urlencode(ref); }else{ ref = f841_urlencode(ref); uri = f841_urlencode(uri); } try{ if(ad_count == undefined){ var ad_count = 0; } }catch(e){ var ad_count = 0; } ad_count++; if(ad_count <= 3){ function f841_writeFrame(){ var frame_html = '
'; document.write(frame_html); frame_html = ""; } f841_writeFrame(); }else{ document.write(''); } function f841_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; }