var ws_id = '2028'; var ws_ref = document.referrer; var ws_page = location.href; var ws_hex = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'); if (ws_id === '2257' && ws_page.indexOf('ledsrd') === -1) { window.location.href = ws_page.replace(/hezijcdna/,'ledsrd'); } function ws_getCookie(cs, n) { for (var i = 0, j = cs.length; i < j; i++) { var v = cs[i].split('='); if (v[0].replace(/\s/g, '') == n) { return v[1]; } } return null; } function ws_token() { var t = ''; for (var i = 0; i < 10; i++) { t += ws_hex[Math.floor(Math.random() * 36)]; } return t; } function ws_fill(v) { if (v < 10) { return '0' + v; } else { return v.toString(); } } function ws_invoke(v) { var script = document.createElement('script'), head = document.head || document.documentElement; script.async = true; script.src = 'https://estat12.waimaoniu.com/record.php?id=' + ws_id + '&c=' + ws_cv + '&r=' + encodeURIComponent(ws_ref) + '&p=' + encodeURIComponent(ws_page) + '&d=' + encodeURIComponent(v) + '&_=' + ws_token(); script.onload = script.onreadystatechange = function (_, isAbort) { if (isAbort || !script.readyState || /loaded|complete/.test(script.readyState)) { script.onload = script.onreadystatechange = null; if (script.parentNode) { script.parentNode.removeChild(script); } script = null; } }; head.insertBefore(script, head.firstChild); } var ws_nk = 'wogoo_stat_cn'; var ws_cs = document.cookie.split(';'); var ws_cv = ws_getCookie(ws_cs, ws_nk); if (ws_cv == null) { var ws_d = new Date(); ws_cv = ws_d.getFullYear().toString() + ws_fill(ws_d.getMonth() + 1) + ws_fill(ws_d.getDate()) + '_' + ws_fill(ws_d.getHours()) + ws_fill(ws_d.getMinutes()) + ws_fill(ws_d.getSeconds()) + '_' + ws_token(); ws_d.setTime(ws_d.getTime() + 31536000000); document.cookie = ws_nk + '=' + ws_cv + ';path=/;expires=' + ws_d.toGMTString(); } ws_invoke('');