//START b.Interactive.AjaxControls.Script.ScriptingBehavior.js
Type.registerNamespace('b.Interactive.AjaxControls.Script');b.Interactive.AjaxControls.Script.ScriptingBehavior = function(element) {
b.Interactive.AjaxControls.Script.ScriptingBehavior.initializeBase(this, [element]);this._onLoad = null;this._onClick = null;this._onMouseOver = null;this._onMouseOut = null;this._onHoverOver = null;this._onHoverOut = null;this._onClickHandler = null;this._onMouseOverHandler = null;this._onMouseOutHandler = null;}
b.Interactive.AjaxControls.Script.ScriptingBehavior.prototype = {
initialize : function() {
b.Interactive.AjaxControls.Script.ScriptingBehavior.callBaseMethod(this, 'initialize');var element = this.get_element();if (element) {
this._onClickHandler = Function.createDelegate(this, this.OnClick);$(element).bind('click', this._onClickHandler);this._onMouseOverHandler = Function.createDelegate(this, this.OnMouseOver);$(element).bind('mouseover', this._onMouseOverHandler);this._onMouseOutHandler = Function.createDelegate(this, this.OnMouseOut);$(element).bind('mouseout', this._onMouseOutHandler);}
},
dispose : function() {
var element = this.get_element();if (element) {
if (this._onClickHandler) {
$(element).unbind('click', this._onClickHandler);this._onClickHandler = null;}
if (this._onMouseOverHandler) {
$(element).unbind('mouseover', this._onMouseOverHandler);this._onMouseOverHandler = null;}
if (this._onMouseOutHandler) {
$(element).unbind('mouseout', this._onMouseOutHandler);this._onMouseOutHandler = null;}
}
this._onLoad = null;this._onClick = null;this._onMouseOver = null;this._onMouseOut = null;this._onHoverOver = null;this._onHoverOut = null;b.Interactive.AjaxControls.Script.ScriptingBehavior.callBaseMethod(this, 'dispose');},
get_OnLoad : function() {
return this._onLoad ? this._onLoad.get_json() : null;},
set_OnLoad : function(value) {
if (!this._onLoad) {
this._onLoad = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(this.get_element());this._onLoad.initialize();}
this._onLoad.set_json(value);this.raisePropertyChanged('OnLoad');this._onLoad.play();},
get_OnLoadBehavior : function() {
return this._onLoad;},
get_OnClick : function() {
return this._onClick ? this._onClick.get_json() : null;},
set_OnClick : function(value) {
if (!this._onClick) {
this._onClick = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(this.get_element());this._onClick.initialize();}
this._onClick.set_json(value);this.raisePropertyChanged('OnClick');},
get_OnClickBehavior : function() {
return this._onClick;},
OnClick : function() {
if (this._onClick) {
this._onClick.play();}
},
get_OnMouseOver : function() {
return this._onMouseOver ? this._onMouseOver.get_json() : null;},
set_OnMouseOver : function(value) {
if (!this._onMouseOver) {
this._onMouseOver = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(this.get_element());this._onMouseOver.initialize();}
this._onMouseOver.set_json(value);this.raisePropertyChanged('OnMouseOver');},
get_OnMouseOverBehavior : function() {
return this._onMouseOver;},
OnMouseOver : function() {
if (this._onMouseOver) {
this._onMouseOver.play();}
if (this._onHoverOver) {
if (this._onHoverOut) {
this._onHoverOut.quit();}
this._onHoverOver.play();}
},
get_OnMouseOut : function() {
return this._onMouseOut ? this._onMouseOut.get_json() : null;},
set_OnMouseOut : function(value) {
if (!this._onMouseOut) {
this._onMouseOut = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(this.get_element());this._onMouseOut.initialize();}
this._onMouseOut.set_json(value);this.raisePropertyChanged('OnMouseOut');},
get_OnMouseOutBehavior : function() {
return this._onMouseOut;},
OnMouseOut : function() {
if (this._onMouseOut) {
this._onMouseOut.play();}
if (this._onHoverOut) {
if (this._onHoverOver) {
this._onHoverOver.quit();}
this._onHoverOut.play();}
},
get_OnHoverOver : function() {
return this._onHoverOver ? this._onHoverOver.get_json() : null;},
set_OnHoverOver : function(value) {
if (!this._onHoverOver) {
this._onHoverOver = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(this.get_element());this._onHoverOver.initialize();}
this._onHoverOver.set_json(value);this.raisePropertyChanged('OnHoverOver');},
get_OnHoverOverBehavior : function() {
return this._onHoverOver;},
get_OnHoverOut : function() {
return this._onHoverOut ? this._onHoverOut.get_json() : null;},
set_OnHoverOut : function(value) {
if (!this._onHoverOut) {
this._onHoverOut = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(this.get_element());this._onHoverOut.initialize();}
this._onHoverOut.set_json(value);this.raisePropertyChanged('OnHoverOut');},
get_OnHoverOutBehavior : function() {
return this._onHoverOut;}
}
b.Interactive.AjaxControls.Script.ScriptingBehavior.registerClass('b.Interactive.AjaxControls.Script.ScriptingBehavior', b.Interactive.AjaxControls.BehaviorBase);b.Interactive.AjaxControls.Script.GenericScriptingBehavior = function(element) {
b.Interactive.AjaxControls.Script.GenericScriptingBehavior.initializeBase(this, [element]);this._json = null;this._script = null;}
b.Interactive.AjaxControls.Script.GenericScriptingBehavior.prototype = {
dispose: function() {
this.disposeScript();b.Interactive.AjaxControls.Script.GenericScriptingBehavior.callBaseMethod(this, 'dispose');},
disposeScript: function() {
if (this._script) {
this._script.dispose();}
this._script = null;},
play: function() {
if (this._script && !this._script.get_isPlaying()) {
this.stop();this._script.play();}
},
stop: function() {
if (this._script) {
if (this._script.get_isPlaying()) {
this._script.stop(true);}
}
},
quit: function() {
if (this._script) {
if (this._script.get_isPlaying()) {
this._script.stop(false);}
}
},
get_json: function() {
return this._json;},
set_json: function(value) {
if (this._json != value) {
this._json = value;this.raisePropertyChanged('json');this.disposeScript();var element = this.get_element();if (element) {
this._script = $createScript(this._json, element);this.raisePropertyChanged('script');}
}
},
get_script: function() {
return this._script;}
}
b.Interactive.AjaxControls.Script.GenericScriptingBehavior.registerClass('b.Interactive.AjaxControls.Script.GenericScriptingBehavior', b.Interactive.AjaxControls.BehaviorBase);
//END b.Interactive.AjaxControls.Script.ScriptingBehavior.js
//START b.Interactive.AjaxControls.UpdatePanelScripting.UpdatePanelScriptingBehavior.js
Type.registerNamespace('b.Interactive.AjaxControls.Script');b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior = function(element) {
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.initializeBase(this, [element]);this._onUpdatingTriggerIDs = null;this._onLoaded = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(element);this._onUpdating = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(element);this._onUpdated = new b.Interactive.AjaxControls.Script.GenericScriptingBehavior(element);this._postBackPending = null;this._applicationLoadHandler = null;this._pageLoadingHandler = null;this._pageLoadedHandler = null;}
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.prototype = {
initialize: function() {
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.callBaseMethod(this, 'initialize');var element = this.get_element();var parentDiv = document.createElement(element.tagName);element.parentNode.insertBefore(parentDiv, element);parentDiv.appendChild(element);Array.remove(element._behaviors, this);Array.remove(element._behaviors, this._onUpdating);Array.remove(element._behaviors, this._onUpdated);if (parentDiv._behaviors) {
Array.add(parentDiv._behaviors, this);Array.add(parentDiv._behaviors, this._onUpdating);Array.add(parentDiv._behaviors, this._onUpdated);} else {
parentDiv._behaviors = [this, this._onUpdating, this._onUpdated];}
this._element = this._onUpdating._element = this._onUpdated._element = parentDiv;this._onLoaded.initialize();this._onUpdating.initialize();this._onUpdated.initialize();this._applicationLoadHandler = Function.createDelegate(this, this._applicationLoad);Sys.Application.add_load(this._applicationLoadHandler);this.registerPartialUpdateEvents();this._pageLoadingHandler = Function.createDelegate(this, this._pageLoading);this._pageRequestManager.add_pageLoading(this._pageLoadingHandler);this._pageLoadedHandler = Function.createDelegate(this, this._pageLoaded);this._pageRequestManager.add_pageLoaded(this._pageLoadedHandler);},
dispose: function() {
if (this._applicationLoadHandler) {
Sys.Application.remove_load(this._applicationLoadHandler);this._applicationLoadHandler = null;}
if (this._pageRequestManager && this._pageLoadingHandler) {
this._pageRequestManager.remove_pageLoading(this._pageLoadingHandler);this._pageLoadingHandler = null;}
if (this._pageRequestManager && this._pageLoadedHandler) {
this._pageRequestManager.remove_pageLoaded(this._pageLoadedHandler);this._pageLoadedHandler = null;}
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.callBaseMethod(this, 'dispose');},
_applicationLoad: function(sender, args) {
if (!args.get_isPartialLoad()) {
this._onLoaded.play();}
},
_partialUpdateBeginRequest: function(sender, beginRequestEventArgs) {
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.callBaseMethod(this, '_partialUpdateBeginRequest', [sender, beginRequestEventArgs]);var trigger = beginRequestEventArgs.get_postBackElement().id
var triggers = this.get_onUpdatingTriggerIDs();if (triggers.length > 0) {
for (var i = 0;i < triggers.length;i++) {
if (trigger.indexOf(triggers[i]) == 0 && (trigger.length == triggers[i].length
|| beginRequestEventArgs.get_postBackElement().tagName != "DIV")) {
this._postBackPending = true;return;}
}
} else {
this._postBackPending = true;}
},
_pageLoading: function(sender, args) {
if (this._postBackPending) {
var element = '#' + $(this.get_element()).children()[0].id;var panels = null;panels = args.get_panelsDeleting();for (var i = 0;i < panels.length;i++) {
if ($(panels[i]).closest(element).length != 0) {
this._onUpdated.quit();this._onLoaded.stop();this._onUpdating.play();}
}
panels = args.get_panelsUpdating();for (var i = 0;i < panels.length;i++) {
if ($(panels[i]).closest(element).length != 0) {
this._onUpdated.quit();this._onLoaded.stop();this._onUpdating.play();}
}
}
},
_pageLoaded: function(sender, args) {
if (this._postBackPending) {
var element = '#' + $(this.get_element()).children()[0].id;var panels = null;panels = args.get_panelsCreated();for (var i = 0;i < panels.length;i++) {
if ($(panels[i]).closest(element).length != 0) {
this._onLoaded.quit();this._onUpdating.stop();this._onUpdated.play();}
}
panels = args.get_panelsUpdated();for (var i = 0;i < panels.length;i++) {
if ($(panels[i]).closest(element).length != 0) {
this._onLoaded.quit();this._onUpdating.stop();this._onUpdated.play();}
}
this._postBackPending = false;}
},
_partialUpdateEndRequest: function(sender, endRequestEventArgs) {
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.callBaseMethod(this, '_partialUpdateEndRequest', [sender, endRequestEventArgs]);var response = endRequestEventArgs.get_response();if (endRequestEventArgs.get_error() || response.get_aborted() || response.get_timedOut()) {
this._onLoaded.quit();this._onUpdating.quit();this._onUpdated.stop();this._postBackPending = false;}
},
get_onUpdatingTriggerIDs: function() {
if (this._onUpdatingTriggerIDs == null) {
return [];}
return eval(this._onUpdatingTriggerIDs);},
set_onUpdatingTriggerIDs: function(value) {
if (this._onUpdatingTriggerIDs != value) {
this._onUpdatingTriggerIDs = value;this.raisePropertyChanged('onUpdatingTriggerIDs');}
},
get_OnLoaded: function() {
return this._onLoaded.get_json();},
set_OnLoaded: function(value) {
this._onLoaded.set_json(value);this.raisePropertyChanged('OnLoaded');},
get_OnLoadBehavior: function() {
return this._onLoaded;},
get_OnUpdating: function() {
return this._onUpdating.get_json();},
set_OnUpdating: function(value) {
this._onUpdating.set_json(value);this.raisePropertyChanged('OnUpdating');},
get_OnUpdatingBehavior: function() {
return this._onUpdating;},
get_OnUpdated: function() {
return this._onUpdated.get_json();},
set_OnUpdated: function(value) {
this._onUpdated.set_json(value);this.raisePropertyChanged('OnUpdated');},
get_OnUpdatedBehavior: function() {
return this._onUpdated;}
}
b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior.registerClass('b.Interactive.AjaxControls.Script.UpdatePanelScriptingBehavior', b.Interactive.AjaxControls.BehaviorBase);
//END b.Interactive.AjaxControls.UpdatePanelScripting.UpdatePanelScriptingBehavior.js
//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('Radar_bIScriptManager_HiddenField').value += ';;b.Interactive.AjaxControls, Version=3.0.20820.1, Culture=neutral, PublicKeyToken=ad08928660b51cc8:en-US:253674f8-8951-413b-9655-9db9f4dae443:768238b:836ee6a6:af0f6fb3';Sys.Application.remove_load(fn);};Sys.Application.add_load(fn);})();
