function myErrorHandler(errorMessage,url,line) {   
 //Netscape6 has a bug regarding the errorhandler, until that is fixed or we find alternate solution
 if(navigator.userAgent.toUpperCase().indexOf('NETSCAPE6') == -1) {
  	//user is not informed
	//alert("JavaScript Error at "+line+": "+errorMessage);
  	window.open("/s/javascript?r=javascript-error&message="+escape(" at  "+line+" "+errorMessage+" "+url),'', 'toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,left=15,top=100,width=60,height=45');
 }
}
onerror = myErrorHandler;