(function(){function egc(o){var a = document.cookie.split("; ");for(var i = 0; i < a.length; i++){var t = a[i].split("=");if(t[0] == o){return unescape(t[1]);}}return null;}try{function fr(){var r;if(window.opener==null || window.opener==self || document.referrer || typeof(window.opener.location) != 'unknown'){r= document.referrer;}else{r = window.opener.location;}return encodeURIComponent(r);}var yd='date='+new Date().getTime()+'&ref='+fr()+'&location='+encodeURIComponent(document.location)+'&color='+screen.colorDepth+'x&resolution='+screen.width+'x'+screen.height+'&language='+navigator.systemLanguage+'&ua='+escape(navigator.userAgent);var cusidx=document.cookie.indexOf("CustomerId");if(cusidx==-1){yd = yd + '&cusName=';}else{var cn=egc("CustomerId");yd = yd + '&cusName=' + encodeURIComponent(cn);}var cx=document.cookie.indexOf("CustomerSysNo");if(cx==-1){ yd = yd + '&cusSysNo=';}else{var cs = egc("CustomerSysNo");yd = yd + '&cusSysNo=' + cs;}var sc=document.createElement('script');sc.type='text/javascript';sc.src='http://lab.newegg.com.cn/LogRecorder/servlet/SetLogServlet?'+yd;document.getElementsByTagName('head')[0].appendChild(sc);}catch(err){}})();