(function(){function r(i,r,u,f,e){if(!(++t>n)){var o=new XMLHttpRequest;o.open("POST","/Error/CaptureClientSideException");o.setRequestHeader("Content-Type","application/x-www-form-urlencoded");o.send("Message="+encodeURIComponent(i)+"&Error="+encodeURIComponent(e)+"&Url="+encodeURIComponent(r)+"&Line="+encodeURIComponent(u)+"&Col="+encodeURIComponent(f))}}var n=5,t=0,i=window.onerror||function(){};window.onerror=function(n,t,u,f,e){try{typeof n=="object"&&(n=JSON.stringify(n));r(n,t,u,f,e)}catch(o){}i(n,t,u,f,e)}})()