var WID =35; var Domains ="'JYNOS_STAT_35"; function SetCookie(name, value){  var Days = 30;   var exp = new Date(); exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); document.cookie = name + '=' + escape(value) + ';expires=' + exp.toGMTString();}  function getCookie(name){  var arr = document.cookie.match(new RegExp('(^| )' + name + '=([^;]*)(;|$)'));if (arr != null) return unescape(arr[2]); return null;} function DeleteCookie(name) { var exp = new Date();  exp.setTime(exp.getTime() - 1); var cval = GetCookie(name);   document.cookie = name + '=' + cval + '; expires=' + exp.toGMTString();}  var StrBefore = Domains + WID + '_VRID_Before'; var StrNow = Domains + WID + '_VRID_Now'; var VRID_Before = '';  var S = getCookie(StrNow); if (S != null) {  SetCookie(StrBefore, S);}var guid = ''; for (var i = 1; i <= 32; i++) { var n = Math.floor(Math.random() * 16.0).toString(16); guid += n; if ((i == 8) || (i == 12) || (i == 16) || (i == 20)) guid += '-'; }guid += ''; SetCookie(StrNow, guid);  var IDS = getCookie(StrBefore);  if (IDS == null) {   IDS = '';} var PDMGUIDStr = Domains + WID + '_PDMGUID';  var PDMGUID = ''; if (getCookie(PDMGUIDStr) == null) {  for (var i = 1; i <= 32; i++) {  var n = Math.floor(Math.random() * 16.0).toString(16);    PDMGUID += n;if ((i == 8) || (i == 12) || (i == 16) || (i == 20)) PDMGUID +='-';} SetCookie(PDMGUIDStr, PDMGUID);} else { PDMGUID = getCookie(PDMGUIDStr); }  document.write("<script src='http://stat.js021.com/Stat.aspx?WID="+WID+"&Type=Open&ShowType=10&Referrer=" + escape(document.referrer) + "&NowID=" + guid + "&BeforeID=" + IDS + "&Title=" + escape(document.title) + "&PDMGUID=" + PDMGUID + "&HrefURL=" + escape(window.location.href) + "'></script>");document.body.onbeforeunload = function ResClo() {if (event.clientX > document.body.clientWidth && window.event.clientY < 0 ||  window.event.altKey || window.event.ctrlKey) {  document.write("<script src='http://stat.js021.com/Stat.aspx?WID="+WID+"&Type=Colse&ShowType=10&BeforeID=" + IDS + "&NowID=" + guid + "'></script>"); } else {   SetCookie(Domains + WID + 'IsRes', true);}}

