Function.prototype.method=function(_1,_2){
this.prototype[_1]=_2;
return this;
};
if(typeof ErrorManager=="undefined"){
ErrorManager=function(_3){
function Constructor(){
this.manager=(_3)?_3:this;
this.errorReportURL="http://video-test.nbcuni.com/player/services/jserror/add.php?url=[URL]&message=[MSG]&line_num=[LINENUMBER]&browser_name=[BROWSER]&browser_ver=[BROWSERVERSION]&os_name=[OS]&os_ver=[OSVERSION]&window_url=[WINDOWLOCATION]";
this.errorReportUseRandom=false;
}
with(Constructor){
method("errorReport",function(_4,_5,_6){
if((typeof frameworkManager=="undefined"||frameworkManager.environment=="prod")&&typeof systemDetectionManager!="undefined"){
var _7=systemDetectionManager.getInfo()["browser"];
var _8=systemDetectionManager.getInfo()["browserversion"];
var os=systemDetectionManager.getInfo()["os"];
var _a=systemDetectionManager.getInfo()["osversion"];
var _b=window.location;
var _c=new Image();
var _d=errorManager.errorReportURL.replace("[URL]",encodeURIComponent(_5)).replace("[MSG]",encodeURIComponent(_4)).replace("[LINENUMBER]",encodeURIComponent(_6)).replace("[BROWSER]",encodeURIComponent(_7)).replace("[BROWSERVERSION]",encodeURIComponent(_8)).replace("[OS]",encodeURIComponent(os)).replace("[OSVERSION]",encodeURIComponent(_a)).replace("[WINDOWLOCATION]",encodeURIComponent(_b));
_d=(errorManager.errorReportUseRandom==true)?_d+"&rand="+Math.round(Math.random()*1000000000000):_d;
}
return false;
});
}
return new Constructor();
};
}
if(typeof errorManager=="undefined"){
errorManager=new ErrorManager();
}


