//START b.Interactive.AjaxControls.NoBot.NoBotBehavior.js
Type.registerNamespace("b.Interactive.AjaxControls");b.Interactive.AjaxControls.NoBotBehavior = function(element) {
b.Interactive.AjaxControls.NoBotBehavior.initializeBase(this, [element]);this._ChallengeScript = "";this._pageRequestManager = null;this._pageLoadedHandler = null;this._pageLoadedDataItems = {};}
b.Interactive.AjaxControls.NoBotBehavior.prototype = {
initialize : function() {
b.Interactive.AjaxControls.NoBotBehavior.callBaseMethod(this, "initialize");var response = eval(this._ChallengeScript);b.Interactive.AjaxControls.NoBotBehavior.callBaseMethod(this, "set_ClientState", [response]);this._pageRequestManager = Sys.WebForms.PageRequestManager.getInstance();this._pageLoadedHandler = Function.createDelegate(this, this._pageLoaded);this._pageRequestManager.add_pageLoaded(this._pageLoadedHandler);},
dispose : function() {
if (this._pageRequestManager && this._pageLoadedHandler) {
this._pageRequestManager.remove_pageLoaded(this._pageLoadedHandler);this._pageLoadedHandler = null;}
this._pageRequestManager = null;this._pageLoadedDataItems = null;b.Interactive.AjaxControls.NoBotBehavior.callBaseMethod(this, "dispose");},
_pageLoaded : function(sender, args) {
this._pageLoadedDataItems = args.get_dataItems();for (var i in this._pageLoadedDataItems) {
eval("var noBotDescriptor = " + this._pageLoadedDataItems[i] + ";");if (noBotDescriptor.noBotID) {
delete this._pageLoadedDataItems[i];if (noBotDescriptor.updateNoBot) {
var response = noBotDescriptor.updateNoBot(noBotDescriptor.noBotID);b.Interactive.AjaxControls.NoBotBehavior.callBaseMethod(this, "set_ClientState", [response]);}
}
}
},
get_ChallengeScript : function() {
return this._ChallengeScript;},
set_ChallengeScript : function(value) {
if (this._ChallengeScript != value) { 
this._ChallengeScript = value;this.raisePropertyChanged('ChallengeScript');}
}
}
b.Interactive.AjaxControls.NoBotBehavior.registerClass("b.Interactive.AjaxControls.NoBotBehavior", b.Interactive.AjaxControls.BehaviorBase);
//END b.Interactive.AjaxControls.NoBot.NoBotBehavior.js
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();
(function() {var fn = function() {$get('Severe_bIScriptManager_HiddenField').value += ';;b.Interactive.AjaxControls, Version=3.0.20820.1, Culture=neutral, PublicKeyToken=ad08928660b51cc8:en-US:253674f8-8951-413b-9655-9db9f4dae443:af0f6fb3';Sys.Application.remove_load(fn);};Sys.Application.add_load(fn);})();
