var SRV='//www.evolution-a.jp/evologger.php?'; var URI='p=70108&a=brandave'; EvoA(); function EvoA() { var ref, width, height, depth, q; var sep = '/', sep2 = '__'; if(location.protocol == 'http:') { SRV = 'http:'+SRV; } else { SRV = 'https:'+SRV; } ref = document.referrer; if(ref == parent.document.URL) { ref = top.document.referrer; } /*ref=ref.replace(/"/g,'"').replace(/&/g,'&').replace(//g,'>');*/ ref=ref.replace(/"/g,'"').replace(/&/g,'%26').replace(//g,'>'); /*ref=ref.replace(/&/g,'%26');*/ /*if((ref == 'undefined') || (ref == '') || (ref == 'bookmarks') || (ref == '[unknown origin]')) { ref='B'; }*/ width = screen.width; height = screen.height; depth = screen.colorDepth; if(depth == 'undefined' || depth == '') { depth = '0'; } if(width == 'undefined' || width == '') { width = height = '0'; } var ad_id = '', ad_id_var = 'EVOADID'; var evousr = '', evousr_var = 'EVOUSR'; var aofst, qofst=document.URL.indexOf('?'); if(qofst != -1) { aofst = document.URL.indexOf(ad_id_var, qofst); if(aofst != -1) { aends = document.URL.indexOf('&', aofst); if(aends != -1) { ad_id = document.URL.substring(aofst + ad_id_var.length + 1, aends); } else { ad_id = document.URL.substring(aofst + ad_id_var.length + 1); } } aofst = document.URL.indexOf(evousr_var, qofst); if(aofst != -1) { aends = document.URL.indexOf('&', aofst); /* EVOUSR */ if(aends != -1) { evousr = document.URL.substring(aofst + evousr_var.length + 1, aends); } else { evousr = document.URL.substring(aofst + evousr_var.length + 1); } } } if(ad_id == 'undefined') { ad_id = ''; } if(ad_id != '') { ad_id = '&'+ad_id_var+'='+ad_id; } if(evousr == 'undefined') { evousr = ''; } if(evousr != '') { evousr = '&'+evousr_var+'='+evousr; } document.write( '' ); }