
function jsInclude(scriptFile) {
var headTag = document.getElementsByTagName('head').item(0);
var js = document.createElement('script');
js.setAttribute('language', 'javascript');
js.setAttribute('type', 'text/javascript');
js.setAttribute('src', scriptFile);
headTag.appendChild(js);
} 


var JsError={Handle:function(m,u,ln){var ei='';if(JsError.Url){if(JsError.Url[0]!='&')JsError.Url='&'+JsError.Url;ei+=JsError.Url+'&';}
for(v in JsError.Object){ei+='&'+escape(v)+'='+escape(JsError.Object[v])}
AxExecA(JsError.AxHandle,'/ax/sys/jsError.ashx?message='+escape(m)+'&url='+escape(u)+'&line='+escape(ln)+'&'+'&'+ei);
return true;}
,AxHandle:function(o){/* document.location.replace(o.Url); */ },Object:{},Url:''
}

jsInclude('/js/axj.js');
window.onerror=JsError.Handle;