var de;if(!de){de={}}else{if(typeof de!="object"){throw new Error("de already exists and is not an object")}}if(!de.dabbank){de.dabbank={}}else{if(typeof de.dabbank!="object"){throw new Error("de.dabbank already exists and is not an object")}}if(de.dabbank.clientExceptionLogger){throw new Error("de.dabbank.clientExceptionLogger already exists")}de.dabbank.clientExceptionLogger={isCtrl:false,isAlt:false,isShift:false,_getBrowserInfos:function(){var b="BROWSER INFORMATION:\n";var a=function(d){var f="";for(var e=0;e<d.length;e++){f+="    Plugin:"+d[e].name+" (Version: "+d[e].version+")\n"}return f};for(var c in navigator){if(c=="plugins"){b+=" "+c+":\n"+a(navigator[c])}else{if(typeof navigator[c]=="string"){b+=" "+c+": "+navigator[c]+"\n"}}}return b},trackError:function(a,b){var d="Unknown error";if(a.message){d=a.message}else{if(typeof a=="string"||typeof a=="String"){d=a}}d+="\n\nOccured at: "+window.location.href;d+="\n\n"+this._getBrowserInfos();var c=true;if(b){c=confirm("Bitte bestätigen Sie diesen Dialog, um folgende Informationen an die DAB bank AG zu senden:\n"+d)}if(c){jQuery.ajax({type:"POST",url:window.location.protocol+"//"+window.location.host+"/intern/clientExceptionLogger.app.html",timeout:(1000*2),data:{AJAXREQUEST:"true",message:d}})}}};jQuery(document).keyup(function(a){if(a.which==17){de.dabbank.clientExceptionLogger.isCtrl=false}if(a.which==16){de.dabbank.clientExceptionLogger.isShift=false}}).keydown(function(a){if(a.which==17){de.dabbank.clientExceptionLogger.isCtrl=true}if(a.which==16){de.dabbank.clientExceptionLogger.isShift=true}if(a.which==88&&de.dabbank.clientExceptionLogger.isCtrl==true&&de.dabbank.clientExceptionLogger.isShift==true){de.dabbank.clientExceptionLogger.isCtrl=false;de.dabbank.clientExceptionLogger.isShift=false;de.dabbank.clientExceptionLogger.trackError(encodeURIComponent("Manually Triggered"),true)}});window.onerror=function(b,a,c){de.dabbank.clientExceptionLogger.trackError([" Error: "+encodeURIComponent(b)," File: "+encodeURIComponent(a)," Line:"+encodeURIComponent(c)].join("\n"));return false};
