﻿Type.registerNamespace("Telerik.Web.UI");
Telerik.Web.UI.RadToolTip=function(_1){
Telerik.Web.UI.RadToolTip.initializeBase(this,[_1]);
this._offsetX=2;
this._offsetY=6;
this._position=Telerik.Web.UI.ToolTipPosition.BottomCenter;
this._horizontalPosition=null;
this._verticalPosition=null;
this._targetControlID=null;
this._serverTargetControlID=null;
this._formID=null;
this._targetControl=null;
this._popupElement=null;
this._tableElement=null;
this._contentCell=null;
this._titleElement=null;
this._contentElement=null;
this._calloutElement=null;
this._closeLink=null;
this._popupBehavior=null;
this._popupVisible=false;
this._popupStickyHandler=null;
this._skin="Default";
this._title="";
this._text="";
this._width="";
this._height="";
this._relativeTo=Telerik.Web.UI.ToolTipRelativeDisplay.Mouse;
this._contentScrolling=Telerik.Web.UI.ToolTipScrolling.Auto;
this._showEvent=Telerik.Web.UI.ToolTipShowEvent.OnMouseOver;
this._sticky=false;
this._manualClose=false;
this._mouseTrailing=false;
this._showCallout=true;
this._showDelayRef=null;
this._autoCloseRef=null;
this._showDelay=300;
this._autoCloseDelay=2000;
this._hideDelay=100;
this._animation=Telerik.Web.UI.ToolTipAnimation.None;
this._tooltipAnimation=null;
};
Telerik.Web.UI.RadToolTip.prototype={initialize:function(){
Telerik.Web.UI.RadToolTip.callBaseMethod(this,"initialize");
this.set_Position(this._position);
if(!this._targetControlID){
return;
}else{
this.set_TargetControlID(this._targetControlID);
}
},dispose:function(){
if(this._tooltipAnimation){
this._tooltipAnimation.dispose();
}
if(this._popupBehavior){
this._popupBehavior.dispose();
this._popupBehavior=null;
}
this._registerPopupHandlers(false);
this._registerMouseHandlers(this._targetControl,false);
if(this._closeLinkHandler&&this._closeLink){
$removeHandler(this._closeLink,"click",this._closeLinkHandler);
this._closeLinkHandler=null;
}
if(this._popupElement){
var _2=this.get_id();
if(_2){
var _3=$get(_2);
if(_3){
_3.appendChild(this._popupElement);
}
}
}
Telerik.Web.UI.RadToolTip.callBaseMethod(this,"dispose");
},requestShow:function(){
this._resetShowDelay();
},hide:function(_4){
if(true==_4&&this._manualClose){
return false;
}
this._hide();
return true;
},clone:function(_5,_6){
if(!_5){
alert("clone error: No target element specified");
return;
}
var _7=this._getEventsParameter();
var _8=this._getPropertiesParameter();
_8["TargetControlID"]=_5.getAttribute("id");
if(!_8["TargetControlID"]){
_8["TargetControl"]=_5;
}
if(_6){
_8["Text"]=_6;
}
var _9=$create(Telerik.Web.UI.RadToolTip,_8,_7,null,document.createElement("SPAN"));
return _9;
},show:function(){
this._createUI();
if(!this._targetControl){
return;
}
var _a=new Sys.CancelEventArgs();
this.raiseEvent("BeforeShow",_a);
if(_a.get_cancel()){
return;
}
this._registerPopupHandlers(true);
this._getToolTipController().set_ActiveToolTip(this);
if(this._animation==Telerik.Web.UI.ToolTipAnimation.None){
this._show();
this._afterShow();
}else{
this._playAnimation();
}
},showLoadingMessage:function(_b){
if(_b){
var _c=document.createElement("DIV");
_c.className=this._getFullSkinName()+" LoadingSign";
this._contentCell.appendChild(_c);
}else{
this._contentCell.innerHTML="";
}
},set_ContentElement:function(_d){
this._contentCell.innerHTML="";
if(_d.parentNode&&_d.parentNode.removeChild){
_d.parentNode.removeChild(_d);
}
this._contentCell.appendChild(_d);
_d.style.display="";
this._contentElement=_d;
},get_ContentElement:function(){
return this._contentElement;
},set_Content:function(_e){
_textElement=document.createElement("DIV");
_textElement.innerHTML=this._text;
this._contentElement=_textElement;
this._contentCell.appendChild(_textElement);
},get_Content:function(){
return this._contentElement?this._contentElement.innerHTML:"";
},cancelAutoCloseDelay:function(){
if(this._autoCloseRef){
window.clearTimeout(this._autoCloseRef);
this._autoCloseRef=0;
}
},cancelShowDelay:function(){
if(this._showDelayRef){
window.clearTimeout(this._showDelayRef);
this._showDelayRef=null;
}
this._getToolTipController().cancelSpecificShowRequest(this);
},_getToolTipController:function(){
return Telerik.Web.UI.RadToolTipController.getInstance();
},_resetAutoCloseDelay:function(){
this.cancelAutoCloseDelay();
if(this._manualClose||this._sticky){
return;
}
if(this._autoCloseDelay){
var _f=this;
this._autoCloseRef=window.setTimeout(function(){
_f.hide(true);
},this._autoCloseDelay);
}
},_resetShowDelay:function(){
this.cancelShowDelay();
var _10=this;
var _11=function(){
_10._getToolTipController().showTootlip(_10);
_10.cancelShowDelay();
};
this._showDelayRef=window.setTimeout(_11,this._showDelay);
},_show:function(){
var _12=null;
try{
_12=this._getCalculatedPopupBounds();
}
catch(e){
var _13=this;
window.setTimeout(function(){
_13._addToolTipToDocument();
},10);
return;
}
var x=_12.x;
var y=_12.y;
this._setPopupVisible(x,y);
this._resetAutoCloseDelay();
this._popupVisible=true;
},_hide:function(){
if(this._tooltipAnimation){
this._tooltipAnimation.stop();
}
this.cancelShowDelay();
this.cancelAutoCloseDelay();
var _16=new Sys.CancelEventArgs();
this.raiseEvent("BeforeHide",_16);
if(_16.get_cancel()){
return;
}
if(this._tooltipAnimation){
this._tooltipAnimation.play(true);
}else{
this._afterHide();
}
},_afterHide:function(){
if(this._popupBehavior){
this._popupBehavior.hide(true);
}
this._popupVisible=false;
this._getToolTipController().notifyToolTipClosed(this);
this.raiseEvent("Hide");
this._registerPopupHandlers(false);
},_afterShow:function(){
this._fixIeHeight(this._tableElement,this._height);
this.raiseEvent("Show");
},_playAnimation:function(){
var _17=function(){
var _18=this.controller;
var _19=_18._getCalculatedPopupBounds();
_18._setPopupVisible(_19.x,_19.y);
var _1a=Telerik.Web.DomElement.getBounds(_18._popupElement);
_18._popupBehavior.hide();
this.set_EndBounds(_1a);
};
if(!this._tooltipAnimation){
if(this._animation==Telerik.Web.UI.ToolTipAnimation.Fade){
this._tooltipAnimation=new Telerik.Web.UI.Animations.FadeAnimation(this,null,null,this._popupElement,this._position,this._targetControl);
this._tooltipAnimation.onShowStart=function(){
this.controller._show();
};
}else{
if(this._animation==Telerik.Web.UI.ToolTipAnimation.Slide){
this._tooltipAnimation=new Telerik.Web.UI.Animations.SlideAnimation(this,null,null,this._popupElement,this._position,this._targetControl);
this._tooltipAnimation.onShowStart=_17;
}else{
if(this._animation==Telerik.Web.UI.ToolTipAnimation.FlyIn){
this._tooltipAnimation=new Telerik.Web.UI.Animations.FlyInAnimation(this,null,null,this._popupElement,this._position,this._targetControl);
this._tooltipAnimation.onShowStart=_17;
}else{
if(this._animation==Telerik.Web.UI.ToolTipAnimation.Resize){
this._tooltipAnimation=new Telerik.Web.UI.Animations.ResizeAnimation(this,0.2,50,this._popupElement,this._position,this._targetControl);
this._tooltipAnimation.onShowStart=_17;
}
}
}
}
}
if(this._tooltipAnimation){
this._tooltipAnimation.onShowEnd=function(){
this.controller._show();
this.controller._afterShow();
};
this._tooltipAnimation.onHideEnd=function(){
this.controller._afterHide();
};
this._tooltipAnimation.play();
}
},_isMouseOverElement:function(e,_1c){
var _1d=null;
try{
_1d=Telerik.Web.DomElement.getBounds(_1c);
}
catch(e){
return false;
}
if(e&&e.target.tagName=="SELECT"&&e.clientX<0){
return true;
}
var _1e=(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;
var x=e.clientX-2+_1e.scrollLeft;
var y=e.clientY-2+_1e.scrollTop;
var _21=TelerikCommonScripts.containsPoint(_1d,x,y);
return _21;
},_onMouseOver:function(e){
this._logMousePosition(e);
this._resetShowDelay();
this._getToolTipController().requestShow(this);
if(e){
}
},_onMouseMove:function(e){
this._logMousePosition(e);
this._resetAutoCloseDelay();
if(this._mouseTrailing&&this.isVisible()){
this._show();
}
},_onMouseOut:function(e){
var _25=this._isMouseOverElement(e,this._targetControl);
if(!_25){
this.cancelShowDelay();
if(!this._sticky){
if(this._hideDelay>0){
var _26=this;
window.setTimeout(function(){
_26.hide(true);
},this._hideDelay);
}else{
this.hide(true);
}
}
}
},_onClick:function(e){
this._onMouseOver(e);
e.returnValue=false;
e.cancelBubble=true;
return false;
},_onRightClick:function(e){
this._onMouseOver(e);
e.returnValue=false;
e.cancelBubble=true;
return false;
},_registerMouseHandlers:function(_29,_2a){
if(true==_2a){
var _2b={};
var _2c=Telerik.Web.UI.ToolTipShowEvent;
if(this._showEvent==_2c.OnMouseOver){
_2b["mouseover"]=this._onMouseOver;
_2b["mousemove"]=this._onMouseMove;
_2b["mouseout"]=this._onMouseOut;
}
if(this._showEvent==_2c.OnClick){
_2b["click"]=this._onClick;
}
if(this._showEvent==_2c.OnRightClick){
_2b["contextmenu"]=this._onRightClick;
}
if(this._showEvent==_2c.OnFocus){
_2b["focus"]=this._onMouseOver;
_2b["blur"]=this._onMouseOut;
}
$addHandlers(_29,_2b,this);
}else{
if(_29){
$clearHandlers(_29);
}
}
},_registerPopupHandlers:function(_2d){
if(true==_2d){
if(this._sticky||this._position==Telerik.Web.UI.ToolTipPosition.Center){
this._popupStickyHandler=Function.createDelegate(this,this._onPopupStickyMouseOut);
$addHandler(this._tableElement,"mouseout",this._popupStickyHandler);
this.set_Sticky(true);
}
}else{
if(this._popupStickyHandler){
$removeHandler(this._tableElement,"mouseout",this._popupStickyHandler);
this._popupStickyHandler=null;
}
}
},_onPopupStickyMouseOut:function(e){
var _2f=this._isMouseOverElement(e,this._tableElement);
if(!_2f&&!this._manualClose){
this.hide();
}
},_getPropertiesParameter:function(){
if(!this._propertiesParameter){
var _30={};
for(var _31 in Telerik.Web.UI.RadToolTip.prototype){
var _32=this[_31];
if(typeof (_32)=="function"&&_31.indexOf("get_")==0){
var _33=_31.substring(4);
if(null==this["set_"+_33]){
continue;
}
var _34=_32.call(this);
if((typeof (_34)!="boolean")&&(null==_34||""==_34)){
continue;
}
_30[_33]=_34;
if(_33=="Skin"){
break;
}
}
}
this._propertiesParameter=_30;
}
var _35=this._cloneObject(this._propertiesParameter);
return _35;
},_getEventsParameter:function(){
if(!this._eventsParameter){
var _36={};
var _37=this.get_events();
var _38=["BeforeShow","Show","BeforeHide","Hide"];
for(var i=0;i<_38.length;i++){
var _3a=_38[i];
var _3b=_37._getEvent(_3a);
if(_3b&&typeof (eval(_3b)=="function")){
_36[_3a]=eval(_3b[0]);
}
}
this._eventsParameter=_36;
}
return this._eventsParameter;
},_cloneObject:function(_3c){
var _3d={};
for(var _3e in _3c){
_3d[_3e]=_3c[_3e];
}
return _3d;
},_getPosRelativeToMouse:function(){
var loc=Telerik.Web.DomElement.getLocation(this._targetControl);
var _40=loc.x;
var _41=loc.y;
var pos=this._getMousePosition();
var _43=pos.clientX;
var _44=pos.clientY;
if(Telerik.Web.Browser.renderMode!=Telerik.Web.Browser.QuirksMode){
_40-=document.documentElement.scrollLeft;
_41-=document.documentElement.scrollTop;
}
var _45=_43-_40;
var _46=_44-_41;
return {x:_45,y:_46};
},_logMousePosition:function(e){
if(!e){
return;
}
this._mouseX=e.clientX;
this._mouseY=e.clientY;
},_getMousePosition:function(){
var obj={};
obj.clientX=this._mouseX;
obj.clientY=this._mouseY;
return obj;
},_getCalculatedPopupBounds:function(){
var x=0;
var y=0;
var _4b=0;
var _4c=0;
var _4d=(this._popupElement.style.display=="none")?true:false;
var _4e=this._popupElement.style.left;
var _4f=this._popupElement.style.top;
this._popupElement.style.display="";
this._setOverflow();
var _50=Telerik.Web.DomElement.getBounds(this._popupElement);
var _51=parseInt(TelerikCommonScripts.getCurrentStyle(this._calloutElement,"marginLeft"));
var _52=parseInt(TelerikCommonScripts.getCurrentStyle(this._calloutElement,"marginTop"));
if(isNaN(_51)){
_51=0;
}
if(isNaN(_52)){
_52=0;
}
var _53=0;
var _54=0;
if(this._calloutElement){
var _55=Telerik.Web.DomElement.getBounds(this._calloutElement);
if(_55){
if(_55.width){
_53=_55.width;
}
if(_55.height){
_54=_55.height;
}
}
}
if(_4d){
this._popupElement.style.display="none";
}
var _56=_50.width;
var _57=_50.height;
var _58=this._horizontalPosition;
var _59=this._verticalPosition;
var _5a=Telerik.Web.DomElement.getBounds(this._targetControl);
if((this._mouseTrailing||this._relativeTo==Telerik.Web.UI.ToolTipRelativeDisplay.Mouse)){
var pos=this._getPosRelativeToMouse();
x=pos.x;
y=pos.y;
}else{
_4b=_5a.width;
_4c=_5a.height;
}
switch(_58){
case 2:
x+=-parseInt(_56/2-_4b/2);
x+=this._offsetX;
break;
case 3:
x+=_4b;
x-=_51;
x+=this._offsetX;
break;
case 1:
default:
x+=-_56;
x+=(-_53-_51);
x-=this._offsetX;
break;
}
switch(_59){
case 2:
y+=-parseInt(_57/2-_4c/2);
y+=this._offsetY;
break;
case 1:
y-=_57;
y-=_54+_52;
y-=this._offsetY;
break;
case 3:
default:
y+=_4c;
y-=_52;
y+=this._offsetY;
break;
}
var obj={};
obj.x=x;
obj.y=y;
obj.width=_50.width;
obj.height=_50.height;
return obj;
},_fixIeHeight:function(_5d,_5e){
if("CSS1Compat"==document.compatMode){
var _5f=(_5d.offsetHeight-parseInt(_5e));
if(_5f>0){
var _60=(parseInt(_5d.style.height)-_5f);
if(_60>0){
_5d.style.height=_60+"px";
}
}
}
},_refreshTitle:function(){
if(null==this._titleElement){
return;
}
this._titleElement.innerHTML=this._title;
this._titleElement.style.display=(this._title)?"":"none";
},_createUI:function(){
if(!this._popupElement){
var _61=this.get_id();
var _62="RadToolTipWrapper_"+_61;
var _63=document.createElement("DIV");
_63.id=_62;
_63.className=this._getFullSkinName()+(this.get_ShowCallout()?" visiblecallout":"");
_63.setAttribute("unselectable","on");
this._popupElement=_63;
var _64=document.createElement("DIV");
_64.className="ToolTipCallout "+this._getCalloutPosition(this._position);
_64.innerHTML="&nbsp;";
this._calloutElement=_64;
var _65=document.createElement("TABLE");
_65.className="ToolTipWrapper";
_65.style.width=this._width;
_65.style.height=this._height;
this._tableElement=_65;
var _66=["ToolTipTopLeft","ToolTipTopCenter","ToolTipTopRight","ToolTipLeftMiddle","ToolTipContent","ToolTipRightMiddle","ToolTipBottomLeft","ToolTipBottomCenter","ToolTipBottomRight"];
var _67=0;
for(var i=1;i<=3;i++){
var _69=_65.insertRow(-1);
for(var j=1;j<=3;j++){
var _6b=_69.insertCell(-1);
_6b.innerHTML="&nbsp;";
_6b.className=_66[_67];
_67++;
}
}
var _6c=_65.rows[0].cells[1];
_6c.innerHTML="";
var _6d=document.createElement("DIV");
_6d.className="ToolTipTitlebar VisibleTitlebar";
_6d.style.display="none";
this._titleElement=_6d;
this._refreshTitle();
_6c.appendChild(_6d);
if(this._manualClose){
var _6e=document.createElement("A");
_6e.href="javascript: void(0);";
_6e.className="CloseButton";
this._closeLinkHandler=Function.createDelegate(this,function(e){
this.hide();
if(e){
e.returnValue=false;
e.cancelBubble=true;
if(e.stopPropagation){
e.stopPropagation();
}
}
return false;
});
$addHandler(_6e,"click",this._closeLinkHandler);
this._closeLink=_6e;
var _70=document.createElement("SPAN");
_70.innerHTML="Close";
_6e.title="Close";
_6e.appendChild(_70);
_6c.appendChild(_6e);
}
var _71=_65.rows[1].cells[1];
_71.vAlign="top";
_71.innerHTML="";
this._contentCell=_71;
var _72=this.get_Text();
if(this._targetControl&&!_72){
_72=this._targetControl.getAttribute("title");
if(_72){
this._targetControl.removeAttribute("title");
}
this._text=_72;
}
if(this._text){
this.set_Content(this._text);
}else{
var _73=null;
var _74=this.get_id();
if(_74){
_73=$get(_74);
}
if(_73&&_73.innerHTML){
var _75=this._transferNodeChildren(_73);
this.set_ContentElement(_75);
}
}
_63.appendChild(_64);
_63.appendChild(_65);
this._popupElement.style.display="none";
this._popupElement.style.position="absolute";
this._addToolTipToDocument();
}
if(!this._popupBehavior){
this._popupBehavior=$create(Telerik.Web.PopupBehavior,{"id":(new Date()-100)+"PopupBehavior","parentElement":this._targetControl},null,null,this._popupElement);
}
},_transferNodeChildren:function(_76){
if(!_76){
return null;
}
var _77=_76.ownerDocument.createElement(_76.tagName);
while(_76.childNodes&&_76.childNodes.length>0){
var _78=_76.childNodes[0];
_76.removeChild(_78);
_77.appendChild(_78);
}
return _77;
},_addToolTipToDocument:function(){
var _79=document.getElementById(this._formID);
if(!_79){
_79=document.forms[0];
}
_79.appendChild(this._popupElement);
},_getParentByTagName:function(_7a,_7b){
var _7c=_7a;
_7b=_7b.toUpperCase();
while(_7c.tagName.toUpperCase()!=_7b){
_7c=_7c.parentNode;
if(!_7c){
break;
}
}
return _7c;
},_getFullSkinName:function(){
return "radtooltip_"+this._skin;
},_getUniqueString:function(){
return ""+(new Date()-100);
},_getCalloutPosition:function(_7d){
with(Telerik.Web.UI.ToolTipPosition){
switch(_7d){
case TopLeft:
return "BottomRight";
case TopCenter:
return "BottomCenter";
case TopRight:
return "BottomLeft";
case MiddleLeft:
return "MiddleRight";
case Center:
return "Center";
case MiddleRight:
return "MiddleLeft";
case BottomLeft:
return "TopRight";
case BottomCenter:
return "TopCenter";
case BottomRight:
return "TopLeft";
}
}
return "";
},_getHorizontalSide:function(_7e){
return parseInt((_7e+"").charAt(1));
},_getVerticalSide:function(_7f){
return parseInt((_7f+"").charAt(0));
},_setPopupVisible:function(x,y){
this._popupBehavior.set_x(x);
this._popupBehavior.set_y(y);
this._popupBehavior.show();
if(!this.get_Width()){
this._popupElement.style.width="";
}
this._popupElement.style.zIndex="50000";
},_setOverflow:function(){
var _82=this._contentScrolling;
if(_82==Telerik.Web.UI.ToolTipScrolling.Auto){
return;
}
var el=this._contentElement;
if(!el){
return;
}
var _84="";
with(Telerik.Web.UI.ToolTipScrolling){
switch(_82){
case Auto:
_84="auto";
break;
case None:
_84="hidden";
break;
case X:
_84="";
el.style.overflowX="scroll";
break;
case Y:
_84="";
el.style.overflowY="scroll";
break;
case Both:
_84="scroll";
}
}
var _85=el.parentNode;
el.style.display="none";
var _86=Telerik.Web.DomElement.getBounds(_85).height;
el.style.height=_86+"px";
if(!el.style.overflowX&&!el.style.overflowY){
el.style.overflow=_84;
}
el.style.display="";
},_getLeftOffset:function(){
var _87=Telerik.Web.UI.ToolTipPosition;
if(_87.Left==this._position){
return (-1*this._targetControl.offsetWidth)+this._offsetX;
}else{
if(_87.Right==this._position){
return this._targetControl.offsetWidth+this._offsetX;
}else{
return this._offsetX;
}
}
},_getTopOffset:function(){
var _88;
var _89=Telerik.Web.UI.ToolTipPosition;
if(_89.Top==this._position){
_88=(-1*this._targetControl.offsetHeight)+this._offsetY;
}else{
if(_89.Bottom==this._position){
_88=this._targetControl.offsetHeight+this._offsetY;
}else{
_88=this._offsetY;
}
}
return _88;
},isVisible:function(){
return this._popupVisible;
},get_TargetControlID:function(){
return this._targetControlID;
},set_TargetControlID:function(_8a){
if(this._targetControlID!=_8a){
this._targetControlID=_8a;
var _8b=(this._targetControlID?$get(this._targetControlID):null);
this.set_TargetControl(_8b);
}
},get_TargetControl:function(){
return this._targetControl;
},set_TargetControl:function(_8c){
if(this._targetControl!=_8c){
if(this._targetControl&&(this._targetControl!=_8c)){
this._registerMouseHandlers(this._targetControl,false);
}
this._targetControl=_8c;
if(this._targetControl){
this._registerMouseHandlers(this._targetControl,true);
if(this._popupBehavior){
this._popupBehavior.set_parentElement(this._targetControl);
}
}
}
},get_ServerTargetControlID:function(){
return this._serverTargetControlID;
},set_ServerTargetControlID:function(_8d){
this._serverTargetControlID=_8d;
},get_FormID:function(){
return this._formID;
},set_FormID:function(_8e){
if(this._formID!=_8e){
this._formID=_8e;
}
},get_Position:function(){
return this._position;
},set_Position:function(_8f){
if(this._position!=_8f){
this._position=_8f;
}
this._horizontalPosition=this._getHorizontalSide(this._position);
this._verticalPosition=this._getVerticalSide(this._position);
},get_OffsetX:function(){
return this._offsetX;
},set_OffsetX:function(_90){
if(this._offsetX!=_90){
this._offsetX=_90;
}
},get_OffsetY:function(){
return this._offsetY;
},set_OffsetY:function(_91){
if(this._offsetY!=_91){
this._offsetY=_91;
}
},get_Title:function(){
return this._title;
},set_Title:function(_92){
if(this._title!=_92){
this._title=_92;
}
this._refreshTitle();
},get_Text:function(){
return this._text;
},set_Text:function(_93){
if(this._text!=_93){
this._text=_93;
}
},get_Width:function(){
return this._width;
},set_Width:function(_94){
if(this._width!=_94){
this._width=_94;
}
},get_Height:function(){
return this._height;
},set_Height:function(_95){
if(this._height!=_95){
this._height=_95;
}
},get_RelativeTo:function(){
return this._relativeTo;
},set_RelativeTo:function(_96){
if(this._relativeTo!=_96){
this._relativeTo=_96;
}
},get_ContentScrolling:function(){
return this._contentScrolling;
},set_ContentScrolling:function(_97){
if(this._contentScrolling!=_97){
this._contentScrolling=_97;
}
},get_Sticky:function(){
return this._sticky;
},set_Sticky:function(_98){
if(this._sticky!=_98){
this._sticky=_98;
}
},get_ManualClose:function(){
return this._manualClose;
},set_ManualClose:function(_99){
if(this._manualClose!=_99){
this._manualClose=_99;
}
},get_ShowCallout:function(){
return this._showCallout;
},set_ShowCallout:function(_9a){
if(this._showCallout!=_9a){
this._showCallout=_9a;
}
},get_ShowDelay:function(){
return this._showDelay;
},set_ShowDelay:function(_9b){
if(this._showDelay!=_9b){
this._showDelay=_9b;
}
},get_AutoCloseDelay:function(){
return this._autoCloseDelay;
},set_AutoCloseDelay:function(_9c){
if(this._autoCloseDelay!=_9c){
this._autoCloseDelay=_9c;
}
},get_HideDelay:function(){
return this._hideDelay;
},set_HideDelay:function(_9d){
if(this._hideDelay!=_9d){
this._hideDelay=_9d;
}
},get_MouseTrailing:function(){
return this._mouseTrailing;
},set_MouseTrailing:function(_9e){
if(this._mouseTrailing!=_9e){
this._mouseTrailing=_9e;
if(true==_9e){
this.set_RelativeTo(Telerik.Web.UI.ToolTipRelativeDisplay.Mouse);
}
}
},get_Animation:function(){
return this._animation;
},set_Animation:function(_9f){
if(this._animation!=_9f){
this._animation=_9f;
}
},get_ShowEvent:function(){
return this._showEvent;
},set_ShowEvent:function(_a0){
if(this._showEvent!=_a0){
this._showEvent=_a0;
}
},get_Skin:function(){
return this._skin;
},set_Skin:function(_a1){
if(_a1&&this._skin!=_a1){
this._skin=_a1;
}
},get_PopupElement:function(){
return this._popupElement;
},add_BeforeShow:function(_a2){
this.get_events().addHandler("BeforeShow",_a2);
},remove_BeforeShow:function(_a3){
this.get_events().removeHandler("BeforeShow",_a3);
},add_Show:function(_a4){
this.get_events().addHandler("Show",_a4);
},remove_Show:function(_a5){
this.get_events().removeHandler("Show",_a5);
},add_BeforeHide:function(_a6){
this.get_events().addHandler("BeforeHide",_a6);
},remove_BeforeHide:function(_a7){
this.get_events().removeHandler("BeforeHide",_a7);
},add_Hide:function(_a8){
this.get_events().addHandler("Hide",_a8);
},remove_Hide:function(_a9){
this.get_events().removeHandler("Hide",_a9);
},saveClientState:function(){
var _aa=["Text","Position"];
var _ab={};
for(var i=0;i<_aa.length;i++){
_ab[_aa[i]]=this["get_"+_aa[i]]();
}
return Sys.Serialization.JavaScriptSerializer.serialize(_ab);
}};
Telerik.Web.UI.RadToolTip.registerClass("Telerik.Web.UI.RadToolTip",Telerik.Web.UI.RadWebControl);
Telerik.Web.UI.ToolTipPosition=function(){
throw Error.invalidOperation();
};
Telerik.Web.UI.ToolTipPosition.prototype={TopLeft:11,TopCenter:12,TopRight:13,MiddleLeft:21,Center:22,MiddleRight:23,BottomLeft:31,BottomCenter:32,BottomRight:33};
Telerik.Web.UI.ToolTipPosition.registerEnum("Telerik.Web.UI.ToolTipPosition",false);
Telerik.Web.UI.ToolTipRelativeDisplay=function(){
throw Error.invalidOperation();
};
Telerik.Web.UI.ToolTipRelativeDisplay.prototype={Mouse:0,Element:1};
Telerik.Web.UI.ToolTipRelativeDisplay.registerEnum("Telerik.Web.UI.ToolTipRelativeDisplay",false);
Telerik.Web.UI.ToolTipScrolling=function(){
throw Error.invalidOperation();
};
Telerik.Web.UI.ToolTipScrolling.prototype={Auto:0,None:1,X:2,Y:3,Both:4};
Telerik.Web.UI.ToolTipScrolling.registerEnum("Telerik.Web.UI.ToolTipScrolling",false);
Telerik.Web.UI.ToolTipAnimation=function(){
throw Error.invalidOperation();
};
Telerik.Web.UI.ToolTipAnimation.prototype={None:0,Resize:1,Fade:2,Slide:4,FlyIn:8};
Telerik.Web.UI.ToolTipAnimation.registerEnum("Telerik.Web.UI.ToolTipAnimation",false);
Telerik.Web.UI.ToolTipShowEvent=function(){
throw Error.invalidOperation();
};
Telerik.Web.UI.ToolTipShowEvent.prototype={OnMouseOver:1,OnClick:2,OnRightClick:4,OnFocus:8};
Telerik.Web.UI.ToolTipShowEvent.registerEnum("Telerik.Web.UI.ToolTipShowEvent",false);


if(typeof(Sys)!=='undefined')Sys.Application.notifyScriptLoaded();