window.onerror=function(g,e,b,d,c){if(g!="Script error."&&!e){return true;}setTimeout(function(){var j={};d=d||(window.event&&window.event.errorCharacter)||0; j.url=e;j.line=b;j.col=d;j.agent=navigator.userAgent;if(!!c&&!!c.stack){j.msg=c.stack.toString();}else{if(!!arguments.callee){var h=[];var i=arguments.callee.caller,m=5; while(i&&(--m>0)){h.push(i.toString());if(i===i.caller){break;}i=i.caller;}h=h.join(",");j.msg=h;}else{j.msg=l;}}var l="?errorInfo="+encodeURIComponent(JSON.stringify(j)); var k="https://repo.tuterm.com/logger/"+l;a(k);},0);var f=(function(){var j=(new Date()).getTime()+"-",h=0;return function(){return j+(h++);};})();var a=function(i){var k=window.imgLogData||(window.imgLogData={}); var h=new Image();var j=f();h.onload=h.onerror=function(){h.onload=h.onerror=null;h=null;delete k[j];};h.src=i+"&_uid="+j;};return true;};