﻿// Copyright (c) ComponentOne L.L.C., All rights reserved.
Type.registerNamespace("C1.Web.UI.Controls.C1ToolTip");C1.Web.UI.Controls.C1ToolTip.CalloutSide=function(){};C1.Web.UI.Controls.C1ToolTip.CalloutSide.prototype={auto:0,top:1,right:2,bottom:3,left:4};C1.Web.UI.Controls.C1ToolTip.CalloutSide.registerEnum("C1.Web.UI.Controls.C1ToolTip.CalloutSide",false);C1.Web.UI.Controls.C1ToolTip.CloseBehavior=function(){};C1.Web.UI.Controls.C1ToolTip.CloseBehavior.prototype={auto:0,manual:1,sticky:2,none:3};C1.Web.UI.Controls.C1ToolTip.CloseBehavior.registerEnum("C1.Web.UI.Controls.C1ToolTip.CloseBehavior",false);C1.Web.UI.Controls.C1ToolTip.Position=function(){};C1.Web.UI.Controls.C1ToolTip.Position.prototype={auto:0,topLeft:1,topCenter:2,topRight:3,middleLeft:4,center:5,middleRight:6,bottomLeft:7,bottomCenter:8,bottomRight:9};C1.Web.UI.Controls.C1ToolTip.Position.registerEnum("C1.Web.UI.Controls.C1ToolTip.Position",false);C1.Web.UI.Controls.C1ToolTip.RelativeTo=function(){};C1.Web.UI.Controls.C1ToolTip.RelativeTo.prototype={element:0,mouse:1,browserWindow:2};C1.Web.UI.Controls.C1ToolTip.RelativeTo.registerEnum("C1.Web.UI.Controls.C1ToolTip.RelativeTo",false);C1.Web.UI.Controls.C1ToolTip.ShowEvent=function(){};C1.Web.UI.Controls.C1ToolTip.ShowEvent.prototype={onMouseOver:0,onClick:1,onFocus:2,onRightClick:3,fromCode:4};C1.Web.UI.Controls.C1ToolTip.ShowEvent.registerEnum("C1.Web.UI.Controls.C1ToolTip.ShowEvent",false);C1.Web.UI.Controls.C1ToolTip.C1TooltipAutoToolTipifyEventArgs=function(b,a){C1.Web.UI.Controls.C1ToolTip.C1TooltipAutoToolTipifyEventArgs.initializeBase(this);this.$1_0=b;this.$1_1=a};C1.Web.UI.Controls.C1ToolTip.C1TooltipAutoToolTipifyEventArgs.prototype={$1_0:null,$1_1:null,get_title:function(){return this.$1_0},set_title:function(a){this.$1_0=a;return a},get_domEvent:function(){return this.$1_1},set_domEvent:function(a){this.$1_1=a;return a}};C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs=function(a,b){C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs.initializeBase(this);this.$1_1=a;this.$1_0=b};C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs.prototype={$1_0:false,$1_1:null,get_cancel:function(){return this.$1_0},set_cancel:function(a){this.$1_0=a;return a},get_c1ToolTip:function(){return this.$1_1},set_c1ToolTip:function(a){this.$1_1=a;return a}};C1.Web.UI.Controls.C1ToolTip.C1ToolTip=function(a){C1.Web.UI.Controls.C1ToolTip.C1ToolTip.initializeBase(this,[a])};C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_32=function(b){var a="EaseLinear";switch(b){case 1:a="EaseOutElastic";break;case 2:a="EaseInElastic";break;case 3:a="EaseInOutElastic";break;case 4:a="EaseOutBounce";break;case 5:a="EaseInBounce";break;case 6:a="EaseInOutBounce";break;case 7:a="EaseOutExpo";break;case 8:a="EaseInExpo";break;case 9:a="EaseInOutExpo";break;case 10:a="EaseOutQuad";break;case 11:a="EaseInQuad";break;case 12:a="EaseInOutQuad";break;case 13:a="EaseOutSine";break;case 14:a="EaseInSine";break;case 15:a="EaseInOutSine";break;case 16:a="EaseOutCirc";break;case 17:a="EaseInCirc";break;case 18:a="EaseInOutCirc";break;case 19:a="EaseOutCubic";break;case 20:a="EaseInCubic";break;case 21:a="EaseInOutCubic";break;case 22:a="EaseOutQuint";break;case 23:a="EaseInQuint";break;case 24:a="EaseInOutQuint";break;case 25:a="EaseOutBack";break;case 26:a="EaseInBack";break;case 27:a="EaseInOutBack";break;case 28:a="EaseOutQuart";break;case 29:a="EaseInQuart";break;case 30:a="EaseInOutQuart";break}return a};C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_63=function(b,a){if(b.x<=a.x||b.x>=(a.x+a.width)){return false}if(b.y<=a.y||b.y>=(a.y+a.height)){return false}return true};C1.Web.UI.Controls.C1ToolTip.C1ToolTip.prototype={$3_1F:null,$3_20:null,$3_21:null,$3_22:null,$3_23:null,$3_24:null,$3_25:null,$3_26:null,$3_27:null,scrollContainer:null,$3_28:null,_onMouseOverHandler:null,_onMouseOutHandler:null,_onMouseMoveHandler:null,_onMouseOutTooltipElementHandler:null,_onMouseOverTooltipElementHandler:null,_onClick:null,_onFocus:null,_onBlur:null,_onClickCloseBtnHandler:null,$3_29:null,_onrightKeyMouseUp:null,$3_2A:false,$3_2B:false,_autoCloseDelayTimeoutID:null,_showDelayTimeoutID:null,_hideDelayTimeoutID:null,_popupBehavior:null,$3_2C:0,$3_2D:0,_showAnimation:null,_hideAnimation:null,_domScrollBehavior:null,$3_2E:300,targetControls:null,get_$3_2F:function(){if(C1.Web.UI.Utils.Common.testIsNull(this.$3_20)){this.$3_20=new C1.Web.UI.C1RoundedCornerPanelBase(null);this.$3_20.set_classPrefix("C1tt")}return this.$3_20},get_$3_30:function(){var b=1;if(!this._popupBehavior){var a=0;this._popupBehavior=new C1.Web.UI.PopupBehavior(this.get_element(),1,a,0,null,false);this._popupBehavior.set_positionMode(b);this._popupBehavior.set_windowCollisionDetection(false);this._popupBehavior.add_setupPopupDone(Function.createDelegate(this,this.popupBehavior_SetupPopupDone));this._popupBehavior.add_showing(Function.createDelegate(this,this.popupBehavior_Showing));this._popupBehavior.add_hiding(Function.createDelegate(this,this.popupBehavior_Hiding));this._popupBehavior.add_shown(Function.createDelegate(this,this.$3_48));this._popupBehavior.add_hidden(Function.createDelegate(this,this.popupBehavior_Hidden))}else{if(b!==this._popupBehavior.get_positionMode()){this._popupBehavior.set_positionMode(b)}}return this._popupBehavior},get_showAnimation:function(){var a=this._propertiesState.ShowAnimation;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.ShowAnimation},set_showAnimation:function(a){this._propertiesState.ShowAnimation=a;return a},get_showDuration:function(){var a=this._propertiesState.ShowDuration;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 500}return this._propertiesState.ShowDuration},set_showDuration:function(a){if(a<0){return}this._propertiesState.ShowDuration=a;return a},get_showDelay:function(){var a=this._propertiesState.ShowDelay;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 100}return this._propertiesState.ShowDelay},set_showDelay:function(a){if(a<0){return}this._propertiesState.ShowDelay=a;return a},get_showEasing:function(){var a=this._propertiesState.ShowEasing;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 31}return this._propertiesState.ShowEasing},set_showEasing:function(a){this._propertiesState.ShowEasing=a;return a},get_hideAnimation:function(){var a=this._propertiesState.HideAnimation;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.HideAnimation},set_hideAnimation:function(a){this._propertiesState.HideAnimation=a;return a},get_hideDuration:function(){var a=this._propertiesState.HideDuration;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 500}return this._propertiesState.HideDuration},set_hideDuration:function(a){if(a<0){return}this._propertiesState.HideDuration=a;return a},get_hideDelay:function(){var a=this._propertiesState.HideDelay;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 100}return this._propertiesState.HideDelay},set_hideDelay:function(a){if(a<0){return}this._propertiesState.HideDelay=a;return a},get_hideEasing:function(){var a=this._propertiesState.HideEasing;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 31}return this._propertiesState.HideEasing},set_hideEasing:function(a){this._propertiesState.HideEasing=a;return a},get_visualStyle:function(){if(C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.VisualStyle)){return"ArcticFox"}return this._propertiesState.VisualStyle},set_visualStyle:function(c){var b=this.get_visualStyle();if(b!==""&&b!==c){var a=new RegExp("("+b+")","g");this._propertiesState.VisualStyle=c;var d=this.get_element().className;d=d.replace(a,c);this.get_element().className=d}return c},get_currentTargetControlID:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this.$3_28)){return this.$3_28.id}return""},get_closeBehavior:function(){var a=this._propertiesState.CloseBehavior;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.CloseBehavior},set_closeBehavior:function(a){this._propertiesState.CloseBehavior=a;return a},get_autoCloseDelay:function(){var a=this._propertiesState.AutoCloseDelay;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.AutoCloseDelay},set_autoCloseDelay:function(a){if(a<0){return}this._propertiesState.AutoCloseDelay=a;return a},get_autoTooltipify:function(){var a=this._propertiesState.AutoTooltipify;if(C1.Web.UI.Utils.Common.testIsNull(a)){return false}return this._propertiesState.AutoTooltipify},set_autoTooltipify:function(a){this._propertiesState.AutoTooltipify=a;return a},get_height:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.Height)){if(!C1.Web.UI.Utils.Common.stringIsNullOrEmpty(this._propertiesState.Height.toString())){var a=(this._propertiesState.Height).replace("px","");return parseInt(a)}}return -1},set_height:function(a){if(this.get_height()===a){return}this._propertiesState.Height=a.toString()+"px";this.$3_56(a);return a},get_calloutSide:function(){var a=this._propertiesState.CalloutSide;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.CalloutSide},set_calloutSide:function(a){this._propertiesState.CalloutSide=a;return a},get_calloutOffset:function(){var a=this._propertiesState.CalloutOffset;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return a},set_calloutOffset:function(a){this._propertiesState.CalloutOffset=a;this.$3_31(a);return a},calloutAnimation:null,$3_31:function(d){if(this.get_closeBehavior()===3&&!this.targetControls.length){if(!C1.Web.UI.Utils.Common.testIsNull(this.calloutAnimation)&&this.calloutAnimation.get_isAnimating()){this.calloutAnimation.stop(false)}var b={};var a=[];if(this.get_calloutSide()===1||this.get_calloutSide()===3||!this.get_calloutSide()){var e={};e.to=d;e.easing=C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_32(this.get_calloutEasing());b.duration=this.get_calloutAnimationDuration();b.left=e}else{var c={};c.to=d;c.easing=C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_32(this.get_calloutEasing());b.duration=this.get_calloutAnimationDuration();b.top=c}a[0]=b;this.calloutAnimation=new C1.Web.UI.Behavior.Animation(this.$3_22,a);this.calloutAnimation.start(1)}},get_calloutAnimationDuration:function(){var a=this._propertiesState.CalloutAnimationDuration;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 500}return a},set_calloutAnimationDuration:function(a){this._propertiesState.CalloutAnimationDuration=a;return a},get_calloutEasing:function(){var a=this._propertiesState.CalloutEasing;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 31}return a},set_calloutEasing:function(a){this._propertiesState.CalloutEasing=a;return a},get_modal:function(){var a=this._propertiesState.Modal;if(C1.Web.UI.Utils.Common.testIsNull(a)){return false}return this._propertiesState.Modal},set_modal:function(a){this._propertiesState.Modal=a;return a},get_mouseTrailing:function(){var a=this._propertiesState.MouseTrailing;if(C1.Web.UI.Utils.Common.testIsNull(a)){return false}return this._propertiesState.MouseTrailing},set_mouseTrailing:function(a){this._propertiesState.MouseTrailing=a;return a},get_offsetX:function(){var a=this._propertiesState.OffsetX;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.OffsetX},set_offsetX:function(a){this._propertiesState.OffsetX=a;return a},get_offsetY:function(){var a=this._propertiesState.OffsetY;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.OffsetY},set_offsetY:function(a){this._propertiesState.OffsetY=a;return a},get_position:function(){var a=this._propertiesState.Position;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.Position},set_position:function(a){this._propertiesState.Position=a;return a},get_relativeTo:function(){var a=this._propertiesState.RelativeTo;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.RelativeTo},set_relativeTo:function(a){this._propertiesState.RelativeTo=a;return a},get_scrollBehavior:function(){if(!this._domScrollBehavior&&this.scrollContainer){this._domScrollBehavior=new C1.Web.UI.DOMScrollBehavior(this.scrollContainer);var a=this._propertiesState.ScrollSettings;if(!C1.Web.UI.Utils.Common.testIsNull(a)){this.$3_66(a);this._domScrollBehavior.assignPropertiesUsingHash(a)}this._domScrollBehavior.initialize()}return this._domScrollBehavior},get_showCallOut:function(){var a=this._propertiesState.ShowCallOut;if(C1.Web.UI.Utils.Common.testIsNull(a)){return true}return this._propertiesState.ShowCallOut},set_showCallOut:function(a){this._propertiesState.ShowCallOut=a;return a},get_showEvent:function(){var a=this._propertiesState.ShowEvent;if(C1.Web.UI.Utils.Common.testIsNull(a)){return 0}return this._propertiesState.ShowEvent},set_showEvent:function(a){this._propertiesState.ShowEvent=a;return a},get_text:function(){var a=this._propertiesState.Text;if(C1.Web.UI.Utils.Common.testIsNull(a)){return""}return C1.Web.UI.Utils.UTFSupport.decodeString(this._propertiesState.Text)},set_text:function(a){this._propertiesState.Text=C1.Web.UI.Utils.UTFSupport.encodeString(a);this.$3_59(a,false);return a},get_title:function(){var a=this._propertiesState.Title;if(C1.Web.UI.Utils.Common.testIsNull(a)){return""}return C1.Web.UI.Utils.UTFSupport.decodeString(this._propertiesState.Title)},set_title:function(a){this._propertiesState.Title=C1.Web.UI.Utils.UTFSupport.encodeString(a);return a},get_toolTipZoneID:function(){var a=this._propertiesState.ToolTipZoneID;if(C1.Web.UI.Utils.Common.testIsNull(a)){return""}return this._propertiesState.ToolTipZoneID},set_toolTipZoneID:function(a){this._propertiesState.ToolTipZoneID=a;return a},get_visibleOnPageLoad:function(){var a=this._propertiesState.VisibleOnPageLoad;if(C1.Web.UI.Utils.Common.testIsNull(a)){return false}return this._propertiesState.VisibleOnPageLoad},set_visibleOnPageLoad:function(a){this._propertiesState.VisibleOnPageLoad=a;return a},get_width:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.Width)){if(!C1.Web.UI.Utils.Common.stringIsNullOrEmpty(this._propertiesState.Width.toString())){var a=(this._propertiesState.Width).replace("px","");return parseInt(a)}}return -1},set_width:function(a){if(this.get_width()===a){return}this.get_propertiesState()["Width"]=a.toString()+"px";this.$3_57(a);return a},$3_33:function(c){if(!C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.OnClientBeforeHide)){var b=this._propertiesState.OnClientBeforeHide;var a=(((window)[b]));if(a){a(c)}}},$3_34:function(c){if(!C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.OnClientBeforeShow)){var b=this._propertiesState.OnClientBeforeShow;var a=(((window)[b]));if(a){a(c)}}},$3_35:function(c){if(!C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.OnClientHide)){var b=this._propertiesState.OnClientHide;var a=(((window)[b]));if(a){a(c)}}},$3_36:function(c){if(!C1.Web.UI.Utils.Common.testIsNull(this._propertiesState.OnClientShow)){var b=this._propertiesState.OnClientShow;var a=(((window)[b]));if(a){a(c)}}},$3_37:function(b){var a=this.get_events().getHandler("ScrollBehaviorInit");if(a){a(this,b)}},$3_38:function(c){this.$3_3D();if(this.$3_2B){this.$3_4A()}this.$3_40=false;var b=this.$3_44(c.target);if(!b){return}this.$3_28=b;if(!C1.Web.UI.Utils.Common.testIsNull(b.__c1_autoTooltipfyEle)){var a=b.__c1_autoTooltipfyEle;this.currentMousePoint=C1.Web.UI.Utils.Measurement.getMousePointerPosition(c.rawEvent);this.show()}if(!C1.Web.UI.Utils.Common.testIsNull(b.__c1_TargetControlEle)){this.$3_41(c,b)}},$3_39:function(c){this.$3_3D();if(this.$3_2B){this.$3_4A()}this.$3_40=false;var b=this.$3_44(c.target);if(!b){return}this.$3_28=b;if(!C1.Web.UI.Utils.Common.testIsNull(b.__c1_autoTooltipfyEle)){var a=b.__c1_autoTooltipfyEle;this.currentMousePoint=C1.Web.UI.Utils.Measurement.getMousePointerPosition(c.rawEvent);this.show()}if(!C1.Web.UI.Utils.Common.testIsNull(b.__c1_TargetControlEle)){this.$3_41(c,b)}},$3_3A:function(c){this.$3_3D();if(this.$3_2B){this.$3_4A()}this.$3_40=false;var b=this.$3_44(c.target);if(!b){return}this.$3_28=b;if(c.rawEvent.button===2){if(!C1.Web.UI.Utils.Common.testIsNull(b.__c1_autoTooltipfyEle)){var a=b.__c1_autoTooltipfyEle;this.currentMousePoint=C1.Web.UI.Utils.Measurement.getMousePointerPosition(c.rawEvent);this.show()}if(!C1.Web.UI.Utils.Common.testIsNull(b.__c1_TargetControlEle)){this.$3_41(c,b)}}},$3_3B:function(){return false},$3_3C:function(a){if(this.get_closeBehavior()===1){return}if(!this.$3_2B){return}if(this.get_closeBehavior()===2){return}this.hide()},$3_3D:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this._showAnimation)&&this._showAnimation.get_isAnimating()){this._showAnimation.stop()}if(!C1.Web.UI.Utils.Common.testIsNull(this._hideAnimation)&&this._hideAnimation.get_isAnimating()){this._hideAnimation.stop()}},currentPoint:null,currentMousePoint:null,$3_3E:function(d){var b=C1.Web.UI.Utils.Measurement.getMousePointerPosition(d.rawEvent);var a=0;var e=0;if(!C1.Web.UI.Utils.Common.testIsNull(this.currentMousePoint)){a=b.x-this.currentMousePoint.x;e=b.y-this.currentMousePoint.y}var c=new Sys.UI.Point(0,0);if(!C1.Web.UI.Utils.Common.testIsNull(this.currentPoint)){c=new Sys.UI.Point(this.currentPoint.x+a+this.get_offsetX(),this.currentPoint.y+e+this.get_offsetY())}else{c=new Sys.UI.Point(b.x+this.get_offsetX(),b.y+this.get_offsetY())}Sys.UI.DomElement.setLocation(this.get_element(),c.x,c.y);this.currentMousePoint=b;this.currentPoint=c},$3_3F:function(b){this.currentMousePoint=C1.Web.UI.Utils.Measurement.getMousePointerPosition(b.rawEvent);this.$3_3D();if(this.$3_2B){}this.$3_40=false;var a=this.$3_44(b.target);if(!a){return}this.$3_28=a;if(!C1.Web.UI.Utils.Common.testIsNull(a.__c1_autoTooltipfyEle)){this.show()}if(!C1.Web.UI.Utils.Common.testIsNull(a.__c1_TargetControlEle)){this.$3_41(b,a)}},$3_40:false,$3_41:function(g,e){var b=e.__c1_TargetControlEle;this.currentMousePoint=C1.Web.UI.Utils.Measurement.getMousePointerPosition(g.rawEvent);this.show();if(C1.Web.UI.Utils.Common.testIsNull(e.__c1_TargetControlAjaxUpdate)){this.saveState()}else{this.get_propertiesState()["RequestKeyID"]=e.id;this.get_propertiesState()["RequestKeyValue"]=b;this.saveState();for(var f=0;f<Sys.Application.getComponents().length;f++){var d=Sys.Application.getComponents()[f];var c=Object.getType(d);if(!C1.Web.UI.Utils.Common.testIsNull(Sys.Application.findComponent(d.get_id(),this.$3_26))){Sys.Application.removeComponent(d)}}var a=Sys.WebForms.PageRequestManager.getInstance();a._destroyTree(this.$3_26);this.$3_26.innerHTML="";var h=document.createElement("div");Sys.UI.DomElement.addCssClass(h,"C1ttLoading");this.$3_26.appendChild(h);window.__doPostBack(this.$3_26.id)}},$3_42:function(b){for(var a=0;a<b.childNodes.length;a++){}},$3_43:function(b){if(this.get_closeBehavior()===1){return}if(!this.$3_2B){return}if(this.get_closeBehavior()===2){return}var a=this.$3_44(b.target);if(!a){return}this.$3_28=a;if(!C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_63(C1.Web.UI.Utils.Measurement.getMousePointerPosition(b.rawEvent),C1.Web.UI.Utils.Measurement.getBounds(a))){this.hide()}},$3_44:function(a){if(C1.Web.UI.Utils.Common.testIsNull(a)){return null}if(C1.Web.UI.Utils.Common.testIsNull(a.__c1_TooltipifyElement)){return(this.$3_44(a.parentNode))}return a},$3_45:function(a){if(!this.get_closeBehavior()&&!this.get_mouseTrailing()){if(C1.Web.UI.Utils.Common.testIsNull(this.$3_28)||!C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_63(C1.Web.UI.Utils.Measurement.getMousePointerPosition(a.rawEvent),C1.Web.UI.Utils.Measurement.getBounds(this.$3_28))){this.$3_4B();return}}},$3_46:function(a){if(this.get_closeBehavior()===1){return}if(!this.$3_2B){return}if(!C1.Web.UI.Controls.C1ToolTip.C1ToolTip.$3_63(C1.Web.UI.Utils.Measurement.getMousePointerPosition(a.rawEvent),C1.Web.UI.Utils.Measurement.getBounds(this.get_element()))){this.hide()}},$3_47:function(a){this.hide()},popupBehavior_SetupPopupDone:function(a,b){if(!this.get_showAnimation()){this._popupBehavior.set_showAnimation(null)}else{this.$3_2C=this.get_showAnimation();this._showAnimation=C1.Web.UI.Behavior.AnimationEffects.createAnimationByType(this.$3_2C,this.get_element(),this.get_showDuration(),this.get_showEasing(),null,null,false,false,true,true);if(this._showAnimation){this._popupBehavior.set_showAnimation(this._showAnimation)}}this.$3_4E();this.get_$3_30().set_positionMode(1);this.get_$3_30().set_x(this.currentPoint.x);this.get_$3_30().set_y(this.currentPoint.y)},popupBehavior_Showing:function(a,b){this.get_element().style.overflow="hidden"},$3_48:function(b,a){this.get_element().style.overflow=""},popupBehavior_Hiding:function(a,b){this.get_element().style.overflow="hidden";if(!this.get_hideAnimation()){this._popupBehavior.set_hideAnimation(null)}else{this.$3_2D=this.get_hideAnimation();this._hideAnimation=C1.Web.UI.Behavior.AnimationEffects.createAnimationByType(this.$3_2D,this.get_element(),this.get_hideDuration(),this.get_hideEasing(),null,null,true,true,true,false);if(this._hideAnimation){this._popupBehavior.set_hideAnimation(this._hideAnimation)}}},popupBehavior_Hidden:function(a,b){this.get_element().style.overflow=""},show:function(){this._hideDelayTimeoutID=C1.Web.UI.Utils.Common.clearPendingTimeout(this._hideDelayTimeoutID);if(this.get_$3_30()){var a=this.get_showDelay();if(this.get_showDelay()>0){this._showDelayTimeoutID=C1.Web.UI.Utils.Common.clearPendingTimeout(this._showDelayTimeoutID);this._showDelayTimeoutID=window.setTimeout(Function.createDelegate(this,this.$3_49),a)}else{this.$3_49()}}},$3_49:function(){if(C1.Web.UI.Utils.Common.testIsNull(this.get_element())){return}var b=new C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs(this,false);this.$3_34(b);if(b.get_cancel()){return}if(this.$3_2B){this.$3_4A();this.$3_2B=false}if(!C1.Web.UI.Utils.Common.testIsNull(this.$3_28)){if(!C1.Web.UI.Utils.Common.testIsNull(this.$3_28.__c1_autoTooltipfyEle)){var a=this.$3_28.__c1_autoTooltipfyEle;this.$3_59(a,false)}if(!C1.Web.UI.Utils.Common.testIsNull(this.$3_28.__c1_TargetControlEle)){var c=this.$3_28.__c1_TargetControlEle;if(C1.Web.UI.Utils.Common.testIsNull(this.$3_28.__c1_TargetControlAjaxUpdate)){if(C1.Web.UI.Utils.Common.stringIsNullOrEmpty(c)){this.$3_40=true;this.$3_59(C1.Web.UI.Utils.UTFSupport.decodeString(this.$3_27),true)}else{this.$3_59(c,false)}}}}this.get_$3_30().show();if(this.$3_2B){this.$3_4E()}this.$3_67();this.$3_2B=true;if(this.get_element().style.zIndex<this.$3_2E){this.get_element().style.zIndex=this.$3_2E}if(this.get_autoCloseDelay()>0&&(!this.get_closeBehavior())){this._autoCloseDelayTimeoutID=C1.Web.UI.Utils.Common.clearPendingTimeout(this._autoCloseDelayTimeoutID);this._autoCloseDelayTimeoutID=window.setTimeout(Function.createDelegate(this,this.hide),this.get_autoCloseDelay())}if(this.get_modal()){C1.Web.UI.Utils.Common.showModalLayerWithOpacity(this.get_element(),true,0.5)}b=new C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs(this,false);this.$3_36(b)},hide:function(){this.$3_3D();this._showDelayTimeoutID=C1.Web.UI.Utils.Common.clearPendingTimeout(this._showDelayTimeoutID);if(this._popupBehavior){var a=this.get_hideDelay();if(a>0){this._hideDelayTimeoutID=C1.Web.UI.Utils.Common.clearPendingTimeout(this._hideDelayTimeoutID);this._hideDelayTimeoutID=window.setTimeout(Function.createDelegate(this,this.$3_4B),a)}else{this.$3_4B()}}},$3_4A:function(){var a=new C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs(this,false);this.$3_33(a);if(a.get_cancel()){return}if(!this.$3_2B){return}this._popupBehavior=null;this.get_element().style.display="none";this.$3_2B=false;if(this.get_modal()){C1.Web.UI.Utils.Common.hideModalLayer()}a=new C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs(this,false);this.$3_35(a)},$3_4B:function(){var a=new C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs(this,false);this.$3_33(a);if(a.get_cancel()){return}if(this.$3_40){this.$3_27=this.$3_26.innerHTML.trim()}this.get_$3_30().hide();if(!this.$3_2B){return}this.$3_2B=false;if(this.get_modal()){C1.Web.UI.Utils.Common.hideModalLayer()}a=new C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs(this,false);this.$3_35(a)},$3_4C:function(){var a=new Sys.UI.Point(0,0);switch(this.get_relativeTo()){case 2:a=this.$3_4F();break;case 1:a=this.$3_50();break;case 0:if(this.get_mouseTrailing()){a=this.$3_50()}else{a=this.$3_51()}break;default:break}this.$3_4D(a)},$3_4D:function(b){b.x=b.x+this.get_offsetX();b.y=b.y+this.get_offsetY();if(!C1.Web.UI.Utils.Common.testIsNull(this.get_element().offsetParent)){var a=C1.Web.UI.Utils.Measurement.getLocation(this.get_element().offsetParent);b.x=b.x-a.x;b.y=b.y-a.y}b.x=Math.round(b.x);b.y=Math.round(b.y);this.currentPoint=b;C1.Web.UI.Utils.Measurement.setAbsoluteLocation(this.get_element(),b)},$3_4E:function(){this.$3_5A(this.get_showCallOut());this.$3_53();this.$3_56(this.get_height());this.$3_57(this.get_width());this.$3_4C();if(!this.get_position()){this.$3_56(this.get_height());this.$3_57(this.get_width())}},$3_4F:function(){var b=new Sys.UI.Point(0,0);this.get_element().style.position="fixed";var a=C1.Web.UI.Utils.Measurement.getWindowClientAreaBounds();var c=C1.Web.UI.Utils.Measurement.getBounds(this.get_element());switch(this.get_position()){case 8:b.y=a.height-c.height;b.x=(a.width-c.width)/2;break;case 7:b.y=a.height-c.height;b.x=0;break;case 9:b.y=a.height-c.height;b.x=a.width-c.width;break;case 1:b.y=0;b.x=0;break;case 2:b.y=0;b.x=(a.width-c.width)/2;break;case 3:b.y=0;b.x=a.width-c.width;break;case 4:b.y=(a.height-c.height)/2;b.x=0;break;case 5:b.y=(a.height-c.height)/2;b.x=(a.width-c.width)/2;break;case 0:Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleRight");b.y=(a.height-c.height)/2;b.x=a.width-c.width;break;case 6:b.y=(a.height-c.height)/2;b.x=a.width-c.width;break;default:break}return b},$3_50:function(){this.get_element().style.position="absolute";var b=new Sys.UI.Point(0,0);if(C1.Web.UI.Utils.Common.testIsNull(this.currentMousePoint)){return b}var a=this.currentMousePoint;var f=C1.Web.UI.Utils.Measurement.getBounds(this.get_element());var e=C1.Web.UI.Utils.Measurement.getWindowClientAreaSize();var d=C1.Web.UI.Utils.Measurement.getWindowClientAreaScrollOffsets();switch(this.get_position()){case 0:var c=true;this.$3_54();if(a.x+f.width<e.width+d.x){b.x=a.x}else{if(f.width<a.x-d.x){b.x=a.x-f.width;c=false}else{b.x=a.x}}if(a.y-f.height/2>d.y&&(a.y+f.height/2)<(e.height+d.y)){b.y=a.y-f.height/2;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleRight")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleLeft")}}else{if(a.y-f.height/2>d.y){b.y=e.height+d.y-f.height;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttRightTop")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttLeftTop")}if(b.y<(d.y+e.height-10)){this.$3_22.style.bottom=(d.y+e.height-b.y).toString()+"px";this.$3_22.style.marginBottom="0"}}else{if((a.y+f.height/2)<(e.height+d.y)){b.y=d.y;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttRightBottom")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttLeftBottom")}if(b.y>(d.y+10)){this.$3_22.style.top=(b.y-d.y).toString()+"px";this.$3_22.style.marginTop="0"}}else{b.y=a.y-f.height/2;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleRight")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleLeft")}}}}break;case 8:b.x=a.x-f.width/2;b.y=a.y;break;case 7:b.x=a.x-f.width;b.y=a.y;break;case 9:b.x=a.x;b.y=a.y;break;case 1:b.x=a.x-f.width;b.y=a.y-f.height;break;case 2:b.x=a.x-f.width/2;b.y=a.y-f.height;break;case 3:b.x=a.x;b.y=a.y-f.height;break;case 4:b.x=a.x-f.width;b.y=a.y-f.height/2;break;case 5:b.x=a.x-f.width/2;b.y=a.y-f.height/2;break;case 6:b.x=a.x;b.y=a.y-f.height/2;break;default:break}return b},$3_51:function(){this.get_element().style.position="absolute";var b=new Sys.UI.Point(0,0);if(C1.Web.UI.Utils.Common.testIsNull(this.$3_28)){return b}var a=C1.Web.UI.Utils.Measurement.getBounds(this.$3_28);var f=C1.Web.UI.Utils.Measurement.getBounds(this.get_element());var e=C1.Web.UI.Utils.Measurement.getWindowClientAreaSize();var d=C1.Web.UI.Utils.Measurement.getWindowClientAreaScrollOffsets();switch(this.get_position()){case 0:var c=true;this.$3_54();if(a.x+a.width+f.width<e.width+d.x){b.x=a.x+a.width}else{if(f.width<a.x-d.x){b.x=a.x-f.width;c=false}else{b.x=a.x+a.width}}if((a.y+a.height/2-f.height/2)>d.y&&(a.y+a.height/2+f.height/2)<(d.y+e.height)){b.y=a.y+a.height/2-f.height/2;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleRight")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleLeft")}}else{if((a.y+a.height/2-f.height/2)>d.y){b.y=d.y+e.height-f.height;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttRightTop")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttLeftTop")}if((a.y+a.height)<(d.y+e.height-10)){this.$3_22.style.bottom=(d.y+e.height-a.y-a.height).toString()+"px";this.$3_22.style.marginBottom="0"}}else{if((a.y+a.height/2+f.height/2)<(d.y+e.height)){b.y=d.y;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttRightBottom")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttLeftBottom")}if(a.y>(d.y+10)){this.$3_22.style.top=(a.y-d.y).toString()+"px";this.$3_22.style.marginTop="0"}}else{b.y=a.y+a.height/2-f.height/2;if(c){Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleRight")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttMiddleLeft")}}}}break;case 8:b.x=a.x+a.width/2-f.width/2;b.y=a.y+a.height;break;case 7:b.x=a.x-f.width;b.y=a.y+a.height;break;case 9:b.x=a.x+a.width;b.y=a.y+a.height;break;case 1:b.x=a.x-f.width;b.y=a.y-f.height;break;case 2:b.x=a.x+a.width/2-f.width/2;b.y=a.y-f.height;break;case 3:b.x=a.x+a.width;b.y=a.y-f.height;break;case 4:b.x=a.x-f.width;b.y=a.y+a.height/2-f.height/2;break;case 5:b.x=a.x+a.width/2-f.width/2;b.y=a.y+a.height/2-f.height/2;break;case 6:b.x=a.x+a.width;b.y=a.y+a.height/2-f.height/2;break;default:break}return b},$3_52:function(){this.$3_5A(this.get_showCallOut());this.$3_53();this.$3_59(this.get_text(),false);this.$3_58(this.get_title());this.$3_57(this.get_width());this.$3_56(this.get_height())},$3_53:function(){if(!(!this.get_position())){this.$3_54();Sys.UI.DomElement.addCssClass(this.$3_1F,this.$3_55())}},$3_54:function(){Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttBottomCenter");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttBottomLeft");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttBottomRight");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttTopLeft");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttTopCenter");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttTopRight");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttMiddleLeft");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttCenter");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttMiddleRight");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttLeftBottom");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttLeftTop");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttRightBottom");Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttRightTop");this.$3_22.style.top="";this.$3_22.style.bottom="";this.$3_22.style.marginTop="";this.$3_22.style.marginBottom=""},$3_55:function(){switch(this.get_position()){case 8:return"C1ttBottomCenter";case 7:return"C1ttBottomLeft";case 9:return"C1ttBottomRight";case 1:return"C1ttTopLeft";case 2:return"C1ttTopCenter";case 3:return"C1ttTopRight";case 4:return"C1ttMiddleLeft";case 5:return"C1ttCenter";case 6:return"C1ttMiddleRight";default:return""}},$3_56:function(c){if(c<=0){this.get_element().style.height="auto";return}C1.Web.UI.Utils.Common.setHeight(this.get_element(),c);var b=c-C1.Web.UI.Utils.Common.getMarginBox(this.$3_1F)["vertical"]-C1.Web.UI.Utils.Common.getPaddingBox(this.$3_1F)["vertical"]-C1.Web.UI.Utils.Common.getMarginBox(this.$3_21)["vertical"]-C1.Web.UI.Utils.Common.getPaddingBox(this.$3_21)["vertical"];C1.Web.UI.Utils.Common.setHeight(this.$3_20.get_contentElement(),b);var a=Math.round(b-C1.Web.UI.Utils.Measurement.getBounds(this.$3_23).height);C1.Web.UI.Utils.Common.setHeight(this.scrollContainer,(a>=20)?a:20)},$3_57:function(b){if(b<=0){this.get_element().style.width="auto";return}C1.Web.UI.Utils.Common.setWidth(this.get_element(),b);var a=b-C1.Web.UI.Utils.Common.getMarginBox(this.$3_1F)["horizontal"]-C1.Web.UI.Utils.Common.getPaddingBox(this.$3_1F)["horizontal"]-C1.Web.UI.Utils.Common.getMarginBox(this.$3_21)["horizontal"]-C1.Web.UI.Utils.Common.getPaddingBox(this.$3_21)["horizontal"];a=(a>0)?a:C1.Web.UI.Utils.Measurement.getBounds(this.$3_21).width;C1.Web.UI.Utils.Common.setHeight(this.$3_20.get_contentElement(),a);C1.Web.UI.Utils.Common.setWidth(this.scrollContainer,Math.round(a))},$3_58:function(a){if(C1.Web.UI.Utils.Common.stringIsNullOrEmpty(a)){return}this.$3_24.innerHTML=a},$3_59:function(b,a){if(a){this.$3_26.innerHTML=b}else{jQuery(this.$3_26).html(b)}},$3_5A:function(a){if(a){Sys.UI.DomElement.removeCssClass(this.$3_1F,"C1ttInvisibleCallout")}else{Sys.UI.DomElement.addCssClass(this.$3_1F,"C1ttInvisibleCallout")}},$3_5B:function(a){if(a){Sys.UI.DomElement.removeCssClass(this.$3_25,"C1ttInvisible")}else{Sys.UI.DomElement.addCssClass(this.$3_25,"C1ttInvisible")}},$3_5C:function(){if(!C1.Web.UI.Utils.Common.testIsNull(this.get_element())){this.$3_1F=jQuery(".C1ttPosition",this.get_element()).get(0);this.$3_21=jQuery(".C1ttContainer",this.$3_1F).get(0);this.$3_20=new C1.Web.UI.C1RoundedCornerPanelBase(this.$3_21);this.$3_20.set_classPrefix("C1tt");this.$3_22=jQuery(".C1ttCallout",this.$3_1F).get(0);this.$3_23=jQuery(".C1ttTitleBar",this.$3_20.element).get(0);this.$3_25=jQuery(".C1ttCloseBtn",this.$3_23).get(0);this.$3_24=jQuery(".C1ttTitle",this.$3_23).get(0);this.scrollContainer=jQuery(".C1ttScrollContainer",this.$3_20.element).get(0);this.$3_26=jQuery(":first-child :first-child",this.scrollContainer).get(0);this.$3_27=this.$3_26.innerHTML.trim()}this._onMouseOutTooltipElementHandler=Function.createDelegate(this,this.$3_46);Sys.UI.DomEvent.addHandler(this.get_element(),"mouseout",Function.createDelegate(this,this.$3_46));this._onMouseOverTooltipElementHandler=Function.createDelegate(this,this.$3_45);Sys.UI.DomEvent.addHandler(this.get_element(),"mouseover",Function.createDelegate(this,this.$3_45));this._onClickCloseBtnHandler=Function.createDelegate(this,this.$3_47);Sys.UI.DomEvent.addHandler(this.$3_25,"click",Function.createDelegate(this,this.$3_47))},$3_5D:function(){if(C1.Web.UI.Utils.Common.testIsNull(this.targetControls)){return}if(!this.targetControls.length){return}for(var b=0;b<this.targetControls.length;b++){var a=this.targetControls[b];if(C1.Web.UI.Utils.Common.testIsNull(a.TargetControlID)){continue}var f=a.TargetControlID;if(!f.length){continue}var e="";if(!C1.Web.UI.Utils.Common.testIsNull(a.Value)){if(!(a.Value==="")){e=C1.Web.UI.Utils.UTFSupport.decodeString(a.Value)}}var d=false;if(!C1.Web.UI.Utils.Common.testIsNull(a.IsAjaxUpdate)){d=a.IsAjaxUpdate}var c=jQuery("#"+f).get(0);if(!C1.Web.UI.Utils.Common.testIsNull(c)){this.$3_61(c,e,d)}}},$3_5E:function(){if(this.get_autoTooltipify()){this.$3_60(document.body)}},$3_5F:function(){if(!this.get_autoTooltipify()&&this.get_toolTipZoneID().length>0){var a=jQuery("#"+this.get_toolTipZoneID()).get(0);if(C1.Web.UI.Utils.Common.testIsNull(a)){return}this.$3_60(a)}},$3_60:function(c){var b=this.$3_64(c);if(b.length>0){for(var a=0;a<b.length;a++){var d=b[a];if(C1.Web.UI.Utils.Common.testIsNull(d.__c1_TargetControlEle)){d.__c1_autoTooltipfyEle=d.title;d.__c1_TooltipifyElement="1";this.$3_62(d)}d.title=""}}},$3_61:function(c,b,a){c.__c1_TargetControlEle=b;c.__c1_TooltipifyElement="1";if(a){c.__c1_TargetControlAjaxUpdate="1"}if(c.title.length>0){c.title=""}this.$3_62(c)},$3_62:function(a){if(this.get_mouseTrailing()){this._onMouseMoveHandler=Function.createDelegate(this,this.$3_3E);Sys.UI.DomEvent.addHandler(a,"mousemove",Function.createDelegate(this,this.$3_3E))}switch(this.get_showEvent()){case 0:this._onMouseOutHandler=Function.createDelegate(this,this.$3_43);this._onMouseOverHandler=Function.createDelegate(this,this.$3_3F);Sys.UI.DomEvent.addHandler(a,"mouseover",Function.createDelegate(this,this.$3_3F));Sys.UI.DomEvent.addHandler(a,"mouseout",Function.createDelegate(this,this.$3_43));break;case 1:this._onClick=Function.createDelegate(this,this.$3_38);Sys.UI.DomEvent.addHandler(a,"click",Function.createDelegate(this,this.$3_38));break;case 2:this._onFocus=Function.createDelegate(this,this.$3_39);this._onBlur=Function.createDelegate(this,this.$3_3C);Sys.UI.DomEvent.addHandler(a,"focus",Function.createDelegate(this,this.$3_39));Sys.UI.DomEvent.addHandler(a,"blur",Function.createDelegate(this,this.$3_3C));break;case 3:this._onrightKeyMouseUp=Function.createDelegate(this,this.$3_3A);Sys.UI.DomEvent.addHandler(a,"mouseup",Function.createDelegate(this,this.$3_3A));this.$3_29=Function.createDelegate(this,this.$3_3B);(a)["oncontextmenu"]=this.$3_29;break;case 4:break;default:break}},$3_64:function(b){var a=[];this.$3_65(b,a);return a},$3_65:function(d,c){if(d===this.get_element()){return}if(!C1.Web.UI.Utils.Common.testIsNull(d.title)){if(d.title.length>0){Array.add(c,d)}}if(d.hasChildNodes()){for(var b=0;b<d.childNodes.length;b++){var a=d.childNodes[b];this.$3_65(a,c)}}},$3_66:function(c){var b=c.CssStyle;var a=this.$3_68();if(!C1.Web.UI.Utils.Common.testIsNull(b.TopButtonCssClass)){c.TopButtonCssClass=b.TopButtonCssClass}else{c.TopButtonCssClass=a+"_ScrollButtonTop"}if(!C1.Web.UI.Utils.Common.testIsNull(b.TopButtonActiveCssClass)){c.TopButtonActiveCssClass=b.TopButtonActiveCssClass}else{c.TopButtonActiveCssClass=a+"_ScrollButtonActiveTop"}if(!C1.Web.UI.Utils.Common.testIsNull(b.TopButtonDisabledCssClass)){c.TopButtonDisabledCssClass=b.TopButtonDisabledCssClass}else{c.TopButtonDisabledCssClass=a+"_ScrollButtonDisabledTop"}if(!C1.Web.UI.Utils.Common.testIsNull(b.RightButtonCssClass)){c.RightButtonCssClass=b.RightButtonCssClass}else{c.RightButtonCssClass=a+"_ScrollButtonRight"}if(!C1.Web.UI.Utils.Common.testIsNull(b.RightButtonActiveCssClass)){c.RightButtonActiveCssClass=b.RightButtonActiveCssClass}else{c.RightButtonActiveCssClass=a+"_ScrollButtonActiveRight"}if(!C1.Web.UI.Utils.Common.testIsNull(b.RightButtonDisabledCssClass)){c.RightButtonDisabledCssClass=b.RightButtonDisabledCssClass}else{c.RightButtonDisabledCssClass=a+"_ScrollButtonDisabledRight"}if(!C1.Web.UI.Utils.Common.testIsNull(b.BottomButtonCssClass)){c.BottomButtonCssClass=b.BottomButtonCssClass}else{c.BottomButtonCssClass=a+"_ScrollButtonBottom"}if(!C1.Web.UI.Utils.Common.testIsNull(b.BottomButtonActiveCssClass)){c.BottomButtonActiveCssClass=b.BottomButtonActiveCssClass}else{c.BottomButtonActiveCssClass=a+"_ScrollButtonActiveBottom"}if(!C1.Web.UI.Utils.Common.testIsNull(b.BottomButtonDisabledCssClass)){c.BottomButtonDisabledCssClass=b.BottomButtonDisabledCssClass}else{c.BottomButtonDisabledCssClass=a+"_ScrollButtonDisabledBottom"}if(!C1.Web.UI.Utils.Common.testIsNull(b.LeftButtonCssClass)){c.LeftButtonCssClass=b.LeftButtonCssClass}else{c.LeftButtonCssClass=a+"_ScrollButtonLeft"}if(!C1.Web.UI.Utils.Common.testIsNull(b.LeftButtonActiveCssClass)){c.LeftButtonActiveCssClass=b.LeftButtonActiveCssClass}else{c.LeftButtonActiveCssClass=a+"_ScrollButtonActiveLeft"}if(!C1.Web.UI.Utils.Common.testIsNull(b.LeftButtonDisabledCssClass)){c.LeftButtonDisabledCssClass=b.LeftButtonDisabledCssClass}else{c.LeftButtonDisabledCssClass=a+"_ScrollButtonDisabledLeft"}},$3_67:function(){var a=this.get_scrollBehavior();a=null},$3_68:function(){var a=this._propertiesState.VisualStyle;if(!a||a===""){a="C1ToolTip_ArcticFox"}else{a="C1ToolTip_"+a}return a},assignPropertiesState:function(a){C1.Web.UI.Controls.C1ToolTip.C1ToolTip.callBaseMethod(this,"assignPropertiesState",[a]);if(!C1.Web.UI.Utils.Common.testIsNull(this.get_propertiesState()["TargetControls"])){this.targetControls=this.get_propertiesState()["TargetControls"]}},initialize:function(){if(this.$3_2A){return}this.$3_2A=true;C1.Web.UI.Controls.C1ToolTip.C1ToolTip.callBaseMethod(this,"initialize");this.$3_5C();this.$3_52();this.$3_5D();this.$3_5F();this.$3_5E();if(this.get_visibleOnPageLoad()){this.show();if(this.get_relativeTo()===2){this.$3_4D(this.$3_4F())}else{if(this.targetControls.length>0){var a=this.targetControls[this.targetControls.length-1];this.$3_28=jQuery("#"+a.TargetControlID.toString()).get(0);this.$3_4D(this.$3_51())}}}}};C1.Web.UI.Controls.C1ToolTip.C1TooltipAutoToolTipifyEventArgs.registerClass("C1.Web.UI.Controls.C1ToolTip.C1TooltipAutoToolTipifyEventArgs",Sys.EventArgs);C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs.registerClass("C1.Web.UI.Controls.C1ToolTip.C1ToolTipEventArgs",Sys.EventArgs);C1.Web.UI.Controls.C1ToolTip.C1ToolTip.registerClass("C1.Web.UI.Controls.C1ToolTip.C1ToolTip",C1.Web.UI.C1ThemeableControlBase);
if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();