f43972_source_key = '8dc428ac650fedc91177bdf84d09c03c'; function f43972_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 = f43972_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+"__"+f43972_source_key+"__"+f43972_urlencode(ref); }else{ ref = f43972_urlencode(ref); uri = f43972_urlencode(uri); } try{ if(ad_count == undefined){ var ad_count = 0; } }catch(e){ var ad_count = 0; } ad_count++; if(ad_count <= 3){ function f43972_writeFrame(){ var frame_html = '
'; document.write(frame_html); frame_html = ""; } f43972_writeFrame(); }else{ document.write(''); } function f43972_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; }