﻿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._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._popupClickHandler=null;
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._sticky=false;
this._manualClose=false;
this._mouseTrailing=false;
this._showCallout=true;
this._showEvent=Telerik.Web.UI.ToolTipShowEvent.OnMouseOver;
this._showDelayRef=null;
this._autoCloseRef=null;
this._showDelay=300;
this._autoCloseDelay=2000;
this._animation=Telerik.Web.UI.ToolTipAnimation.None;
this._animationOnShow=null;
};
Telerik.Web.UI.RadToolTip.prototype={initialize:function(){
Telerik.Web.UI.RadToolTip.callBaseMethod(this,"initialize");
if(!this._targetControl){
this._targetControl=$get(this._targetControlID);
}
var _2=this.get_Text();
if(this._targetControl&&!_2){
_2=this._targetControl.getAttribute("title");
if(_2){
this._targetControl.removeAttribute("title");
}
this._text=_2;
}
this._registerMouseHandlers(this._targetControl,true);
this.set_Position(this._position);
},dispose:function(){
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;
}
Telerik.Web.UI.RadToolTip.callBaseMethod(this,"dispose");
},requestShow:function(){
this._resetShowDelay();
},hide:function(_3){
if(true==_3&&this._manualClose){
return false;
}
this._hide();
return true;
},clone:function(_4,_5){
if(!_4){
alert("clone error: No target element specified");
return;
}
var _6=this._getEventsParameter();
var _7=this._getPropertiesParameter();
_7["TargetControlID"]=_4.getAttribute("id");
if(!_7["TargetControlID"]){
_7["TargetControl"]=_4;
}
if(_5){
_7["Text"]=_5;
}
var _8=$create(Telerik.Web.UI.RadToolTip,_7,_6,null,document.createElement("SPAN"));
return _8;
},show:function(){
this._createUI();
if(!this._targetControl){
return;
}
var _9=new Sys.CancelEventArgs();
this.raiseEvent("BeforeShow",_9);
if(_9.get_cancel()){
return;
}
this._registerPopupHandlers(true);
this._getToolTipController().setCurrentToolTip(this);
this._fixIeHeight(this._tableElement,this._height);
if(this._animation==Telerik.Web.UI.ToolTipAnimation.None){
this._show();
}else{
this._playAnimation();
}
this.raiseEvent("Show");
},showLoadingMessage:function(_a){
if(_a){
var _b=document.createElement("DIV");
_b.className=this._getFullSkinName()+" LoadingSign";
this._contentCell.appendChild(_b);
}else{
this._contentCell.innerHTML="";
}
},set_ContentElement:function(_c){
this._contentCell.innerHTML="";
if(_c.parentNode&&_c.parentNode.removeChild){
_c.parentNode.removeChild(_c);
}
this._contentCell.appendChild(_c);
_c.style.display="";
this._contentElement=_c;
},get_ContentElement:function(){
return this._contentElement;
},set_Content:function(_d){
_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 _e=this;
this._autoCloseRef=window.setTimeout(function(){
_e.hide(true);
},this._autoCloseDelay);
}
},_resetShowDelay:function(){
this.cancelShowDelay();
var _f=this;
var _10=function(){
_f._getToolTipController().showTootlip(_f);
_f.cancelShowDelay();
};
this._showDelayRef=window.setTimeout(_10,this._showDelay);
},_show:function(){
var _11=this._getCalculatedPopupBounds();
var x=_11.x;
var y=_11.y;
this._setPopupVisible(x,y);
this._resetAutoCloseDelay();
this._popupVisible=true;
},_hide:function(){
if(!this._popupBehavior){
return;
}
this._cancelAnimation();
this.cancelShowDelay();
this.cancelAutoCloseDelay();
var _14=new Sys.CancelEventArgs();
this.raiseEvent("BeforeHide",_14);
if(_14.get_cancel()){
return;
}
this._popupBehavior.hide(true);
this._popupVisible=false;
this._getToolTipController().notifyToolTipClosed(this);
this.raiseEvent("Hide");
this._registerPopupHandlers(false);
},_isMouseOverElement:function(e,_16){
var _17=Telerik.Web.DomElement.getBounds(_16);
var x=e.clientX-2;
var y=e.clientY-2;
var _1a=TelerikCommonScripts.containsPoint(_17,x,y);
return _1a;
},_onMouseOver:function(e){
this._logMousePosition(e);
this._resetShowDelay();
this._getToolTipController().requestShow(this);
if(e){
e.stopPropagation();
}
},_onMouseMove:function(e){
this._logMousePosition(e);
this._resetAutoCloseDelay();
if(this._mouseTrailing&&this.isVisible()){
this._show();
}
},_onMouseOut:function(e){
var _1e=this._isMouseOverElement(e,this._targetControl);
if(!_1e){
this.cancelShowDelay();
if(!this._sticky){
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(_21,_22){
if(true==_22){
var _23={};
var _24=Telerik.Web.UI.ToolTipShowEvent;
if(this._showEvent==_24.OnMouseOver){
_23["mouseover"]=this._onMouseOver;
_23["mousemove"]=this._onMouseMove;
_23["mouseout"]=this._onMouseOut;
}
if(this._showEvent==_24.OnClick){
_23["click"]=this._onClick;
}
if(this._showEvent==_24.OnRightClick){
_23["contextmenu"]=this._onRightClick;
}
if(this._showEvent==_24.OnFocus){
_23["focus"]=this._onMouseOver;
_23["blur"]=this._onMouseOut;
}
$addHandlers(_21,_23,this);
}else{
if(_21){
$clearHandlers(_21);
}
}
},_registerPopupHandlers:function(_25){
if(true==_25){
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);
}
if(!this._popupClickHandler){
this._popupClickHandler=Function.createDelegate(this,this._onPopupClick);
$addHandler(this._popupElement,"click",this._popupClickHandler);
}
}else{
if(this._popupStickyHandler){
$removeHandler(this._tableElement,"mouseout",this._popupStickyHandler);
this._popupStickyHandler=null;
}
if(this._popupClickHandler){
$removeHandler(this._popupElement,"click",this._popupClickHandler);
this._popupClickHandler=null;
}
}
},_onPopupStickyMouseOut:function(e){
var _27=this._isMouseOverElement(e,this._tableElement);
if(!_27&&!this._manualClose){
this.hide();
}
},_onPopupClick:function(e){
e.stopPropagation();
},_getPropertiesParameter:function(){
if(!this._propertiesParameter){
var _29={};
for(var _2a in Telerik.Web.UI.RadToolTip.prototype){
var _2b=this[_2a];
if(typeof (_2b)=="function"&&_2a.indexOf("get_")==0){
var _2c=_2a.substring(4);
if(_2c=="id"||_2c=="TargetControls"||_2c=="IsToolTipFactory"){
continue;
}
if(null==this["set_"+_2c]){
continue;
}
var _2d=_2b.call(this);
if((typeof (_2d)!="boolean")&&(null==_2d||""==_2d)){
continue;
}
_29[_2c]=_2d;
if(_2c=="Skin"){
break;
}
}
}
this._propertiesParameter=_29;
}
var _2e=this._cloneObject(this._propertiesParameter);
return _2e;
},_getEventsParameter:function(){
if(!this._eventsParameter){
var _2f={};
var _30=this.get_events();
var _31=["BeforeShow","Show","BeforeHide","Hide"];
for(var i=0;i<_31.length;i++){
var _33=_31[i];
var _34=_30._getEvent(_33);
if(_34&&typeof (eval(_34)=="function")){
_2f[_33]=eval(_34[0]);
}
}
this._eventsParameter=_2f;
}
return this._eventsParameter;
},_cloneObject:function(_35){
var _36={};
for(var _37 in _35){
_36[_37]=_35[_37];
}
return _36;
},_initializeResizeAnimation:function(){
var _38=this._getCalculatedPopupBounds();
this._setPopupVisible(_38.x,_38.y);
var _39=Telerik.Web.DomElement.getBounds(this._popupElement);
this._popupBehavior.hide();
var _3a=0;
var _3b=0;
var _3c=0;
var _3d=0;
var _3e=this._horizontalPosition;
var _3f=this._verticalPosition;
switch(_3e){
case 2:
_3a=_39.x+Math.floor(_39.width/2);
_3b=_39.x;
break;
case 3:
_3a=_39.x;
_3b=_3a;
break;
case 1:
_3a=_39.x+_39.width;
_3b=_39.x;
}
switch(_3f){
case 2:
_3c=_39.y+Math.floor(_39.height/2);
_3d=_39.y;
break;
case 1:
_3c=_39.y+_39.height;
_3d=_39.y;
break;
case 3:
_3c=_39.y;
_3d=_39.y;
}
var fps=100;
var _41=0.2;
var _42=_41*fps;
var _43=[];
var _44=Math.abs((_3a-_3b)/(_42));
var _44=Math.round(_44);
_44=_44==0?1:_44;
_44=Math.max(_3a,_3b)==_3a?-_44:_44;
var _45=_3a;
for(var i=0;i<_42;i++){
_43[_43.length]=(_45+"px");
if((_44<0&&_45>=_3b)||(_44>0&&_45<=_3b)){
_45+=_44;
}
}
_43[_43.length]=_3b;
var _47=[];
var _48=Math.abs((_3c-_3d)/(_42));
var _48=Math.round(_48);
_48=_48==0?1:_48;
_48=Math.max(_3c,_3d)==_3c?-_48:_48;
var _49=_3c;
for(var i=0;i<_42;i++){
_47[_47.length]=(_49+"px");
if((_48<0&&_49>=_3d)||(_48>0&&_49<=_3d)){
_49+=_48;
}
}
this._animationHelper=this._popupElement;
var _4a=this._animationHelper;
_4a.style.display="";
_4a.style.overflow="hidden";
_4a.style.visibility="visible";
_4a.style.width="1px";
_4a.style.height="1px";
_4a.style.left=_3a+"px";
_4a.style.top=_3c+"px";
var _4b=_39.width-Math.floor(_39.width/15);
var _4c=_39.height-Math.floor(_39.height/15);
var _4d=new Telerik.Web.Animation.ResizeAnimation(_4a,_41,fps,_4b,_4c,"px");
var _4e=new Telerik.Web.Animation.DiscreteAnimation(_4a,_41,fps,"style","left",_43);
var _4f=new Telerik.Web.Animation.DiscreteAnimation(_4a,_41,fps,"style","top",_47);
TelerikCommonScripts.setElementOpacity(_4a,0.6);
var _50=new Telerik.Web.Animation.FadeInAnimation(_4a,_41,fps,0.6,1,false);
var _51=new Telerik.Web.Animation.ParallelAnimation(_4a,_41,fps,[_4d,_4e,_4f,_50]);
this._animationOnShow=_51;
},_playAnimation:function(){
this._cancelAnimation();
if(this._animation==Telerik.Web.UI.ToolTipAnimation.Fade){
this._animationHelper=this._popupElement;
TelerikCommonScripts.setElementOpacity(this._popupElement,0.5);
this._animationOnShow=new Telerik.Web.Animation.FadeInAnimation(this._popupElement,0.5,70,0.5,1,false);
this._show();
}else{
if(this._animation==Telerik.Web.UI.ToolTipAnimation.Resize){
this._initializeResizeAnimation();
}
}
var _52=this._getMousePosition();
this._animationPending=true;
if(this._animationOnShow){
this._contentCell.style.visbility="hidden";
this._animationOnShow.play();
var _53=this;
this._animationOnShow.onEnd=function(){
if(_53._animationHelper){
_53._animationHelper.style.overflow="";
_53._animationHelper.style.filter="";
_53._contentCell.style.visbility="visible";
}
_53._cancelAnimation();
if(_52){
_53._logMousePosition(_52);
}
_53._show();
};
}
},_cancelAnimation:function(){
if(this._animationPending){
if(this._animationOnShow){
this._animationOnShow.stop();
this._animationOnShow.dispose();
}
this._animationPending=false;
}
},_getPosRelativeToMouse:function(){
var loc=Telerik.Web.DomElement.getLocation(this._targetControl);
var _55=loc.x;
var _56=loc.y;
var pos=this._getMousePosition();
var _58=pos.clientX;
var _59=pos.clientY;
if(Telerik.Web.Browser.renderMode!=Telerik.Web.Browser.QuirksMode){
_55-=document.documentElement.scrollLeft;
_56-=document.documentElement.scrollTop;
}
var _5a=_58-_55;
var _5b=_59-_56;
return {x:_5a,y:_5b};
},_logMousePosition:function(e){
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 _60=0;
var _61=0;
var _62=(this._popupElement.style.display=="none")?true:false;
var _63=this._popupElement.style.left;
var _64=this._popupElement.style.top;
this._popupElement.style.display="";
this._setOverflow();
var _65=Telerik.Web.DomElement.getBounds(this._popupElement);
var _66=parseInt(TelerikCommonScripts.getCurrentStyle(this._calloutElement,"marginLeft"));
var _67=parseInt(TelerikCommonScripts.getCurrentStyle(this._calloutElement,"marginTop"));
if(isNaN(_66)){
_66=0;
}
if(isNaN(_67)){
_67=0;
}
var _68=0;
var _69=0;
if(this._calloutElement){
var _6a=Telerik.Web.DomElement.getBounds(this._calloutElement);
if(_6a){
if(_6a.width){
_68=_6a.width;
}
if(_6a.height){
_69=_6a.height;
}
}
}
if(_62){
this._popupElement.style.display="none";
}
var _6b=_65.width;
var _6c=_65.height;
var _6d=this._horizontalPosition;
var _6e=this._verticalPosition;
var _6f=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{
_60=_6f.width;
_61=_6f.height;
}
switch(_6d){
case 2:
x+=-parseInt(_6b/2-_60/2);
x+=this._offsetX;
break;
case 3:
x+=_60;
x-=_66;
x+=this._offsetX;
break;
case 1:
default:
x+=-_6b;
x+=(-_68-_66);
x-=this._offsetX;
break;
}
switch(_6e){
case 2:
y+=-parseInt(_6c/2-_61/2);
y+=this._offsetY;
break;
case 1:
y-=_6c;
y-=_69+_67;
y-=this._offsetY;
break;
case 3:
default:
y+=_61;
y-=_67;
y+=this._offsetY;
break;
}
var obj={};
obj.x=x;
obj.y=y;
obj.width=_65.width;
obj.height=_65.height;
return obj;
},_fixIeHeight:function(_72,_73){
if("CSS1Compat"==document.compatMode){
var _74=(_72.offsetHeight-parseInt(_72.style.height));
if(_74>0){
var _75=(parseInt(_72.style.height)-_74);
if(_75>0){
_72.style.height=_75+"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 _76=this.get_id();
var _77="RadToolTipWrapper_"+_76;
var _78=document.createElement("DIV");
_78.id=_77;
_78.className=this._getFullSkinName()+(this.get_ShowCallout()?" visiblecallout":"");
_78.setAttribute("unselectable","on");
this._popupElement=_78;
var _79=document.createElement("DIV");
_79.className="ToolTipCallout "+this._getCalloutPosition(this._position);
_79.innerHTML="&nbsp;";
this._calloutElement=_79;
var _7a=document.createElement("TABLE");
_7a.className="ToolTipWrapper";
_7a.style.width=this._width;
_7a.style.height=this._height;
this._tableElement=_7a;
var _7b=["ToolTipTopLeft","ToolTipTopCenter","ToolTipTopRight","ToolTipLeftMiddle","ToolTipContent","ToolTipRightMiddle","ToolTipBottomLeft","ToolTipBottomCenter","ToolTipBottomRight"];
var _7c=0;
for(var i=1;i<=3;i++){
var _7e=_7a.insertRow(-1);
for(var j=1;j<=3;j++){
var _80=_7e.insertCell(-1);
_80.innerHTML="&nbsp;";
_80.className=_7b[_7c];
_7c++;
}
}
var _81=_7a.rows[0].cells[1];
_81.innerHTML="";
var _82=document.createElement("DIV");
_82.className="ToolTipTitlebar VisibleTitlebar";
_82.style.display="none";
this._titleElement=_82;
this._refreshTitle();
_81.appendChild(_82);
if(this._manualClose){
var _83=document.createElement("A");
_83.href="javascript: void(0);";
_83.className="CloseButton";
this._closeLinkHandler=Function.createDelegate(this,function(){
this.hide();
});
$addHandler(_83,"click",this._closeLinkHandler);
this._closeLink=_83;
var _84=document.createElement("SPAN");
_84.innerHTML="Close";
_83.title="Close";
_83.appendChild(_84);
_81.appendChild(_83);
}
var _85=_7a.rows[1].cells[1];
_85.vAlign="top";
_85.innerHTML="";
this._contentCell=_85;
if(this._text){
this.set_Content(this._text);
}else{
var _86=null;
var _87=this.get_id();
if(_87){
_86=$get(_87);
}
if(_86&&_86.innerHTML){
this.set_ContentElement(_86);
}
}
_78.appendChild(_79);
_78.appendChild(_7a);
this._popupElement.style.display="none";
this._addToolTipToDocument();
}
if(!this._popupBehavior){
this._popupBehavior=$create(Telerik.Web.PopupBehavior,{"id":(new Date()-100)+"PopupBehavior","parentElement":this._targetControl},null,null,this._popupElement);
}
},_addToolTipToDocument:function(){
var _88={"TD":true,"TR":true};
var _89=this._targetControl;
if(_88[this._targetControl.tagName.toUpperCase()]){
_89=this._getParentByTagName(this._targetControl,"TABLE");
}
if(_89){
_89.parentNode.insertBefore(this._popupElement,_89);
}else{
alert("Could not insert tooltip element before TargetControl "+this._targetControl);
}
},_getParentByTagName:function(_8a,_8b){
var _8c=_8a;
_8b=_8b.toUpperCase();
while(_8c.tagName.toUpperCase()!=_8b){
_8c=_8c.parentNode;
if(!_8c){
break;
}
}
return _8c;
},_getFullSkinName:function(){
return "radtooltip_"+this._skin;
},_getUniqueString:function(){
return ""+(new Date()-100);
},_getCalloutPosition:function(_8d){
with(Telerik.Web.UI.ToolTipPosition){
switch(_8d){
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(_8e){
return parseInt((_8e+"").charAt(1));
},_getVerticalSide:function(_8f){
return parseInt((_8f+"").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 _92=this._contentScrolling;
if(_92==Telerik.Web.UI.ToolTipScrolling.Auto){
return;
}
var el=this._contentElement;
if(!el){
return;
}
var _94="";
with(Telerik.Web.UI.ToolTipScrolling){
switch(_92){
case Auto:
_94="auto";
break;
case None:
_94="hidden";
break;
case X:
_94="";
el.style.overflowX="scroll";
break;
case Y:
_94="";
el.style.overflowY="scroll";
break;
case Both:
_94="scroll";
}
}
var _95=el.parentNode;
el.style.display="none";
var _96=Telerik.Web.DomElement.getBounds(_95).height;
el.style.height=_96+"px";
if(!el.style.overflowX&&!el.style.overflowY){
el.style.overflow=_94;
}
el.style.display="";
},_getLeftOffset:function(){
var _97=Telerik.Web.UI.ToolTipPosition;
if(_97.Left==this._position){
return (-1*this._targetControl.offsetWidth)+this._offsetX;
}else{
if(_97.Right==this._position){
return this._targetControl.offsetWidth+this._offsetX;
}else{
return this._offsetX;
}
}
},_getTopOffset:function(){
var _98;
var _99=Telerik.Web.UI.ToolTipPosition;
if(_99.Top==this._position){
_98=(-1*this._targetControl.offsetHeight)+this._offsetY;
}else{
if(_99.Bottom==this._position){
_98=this._targetControl.offsetHeight+this._offsetY;
}else{
_98=this._offsetY;
}
}
return _98;
},isVisible:function(){
return this._popupVisible;
},get_TargetControl:function(){
return this._targetControl;
},set_TargetControl:function(_9a){
if(this._targetControl!=_9a){
this._targetControl=_9a;
}
},get_TargetControlID:function(){
return this._targetControlID;
},set_TargetControlID:function(_9b){
if(this._targetControlID!=_9b){
this._targetControlID=_9b;
}
},get_ServerTargetControlID:function(){
return this._serverTargetControlID;
},_set_ServerTargetControlID:function(_9c){
this._serverTargetControlID=_9c;
},get_Position:function(){
return this._position;
},set_Position:function(_9d){
if(this._position!=_9d){
this._position=_9d;
}
this._horizontalPosition=this._getHorizontalSide(this._position);
this._verticalPosition=this._getVerticalSide(this._position);
},get_OffsetX:function(){
return this._offsetX;
},set_OffsetX:function(_9e){
if(this._offsetX!=_9e){
this._offsetX=_9e;
}
},get_OffsetY:function(){
return this._offsetY;
},set_OffsetY:function(_9f){
if(this._offsetY!=_9f){
this._offsetY=_9f;
}
},get_Title:function(){
return this._title;
},set_Title:function(_a0){
if(this._title!=_a0){
this._title=_a0;
}
this._refreshTitle();
},get_Text:function(){
return this._text;
},set_Text:function(_a1){
if(this._text!=_a1){
this._text=_a1;
}
},get_Width:function(){
return this._width;
},set_Width:function(_a2){
if(this._width!=_a2){
this._width=_a2;
}
},get_Height:function(){
return this._height;
},set_Height:function(_a3){
if(this._height!=_a3){
this._height=_a3;
}
},get_RelativeTo:function(){
return this._relativeTo;
},set_RelativeTo:function(_a4){
if(this._relativeTo!=_a4){
this._relativeTo=_a4;
}
},get_ContentScrolling:function(){
return this._contentScrolling;
},set_ContentScrolling:function(_a5){
if(this._contentScrolling!=_a5){
this._contentScrolling=_a5;
}
},get_Sticky:function(){
return this._sticky;
},set_Sticky:function(_a6){
if(this._sticky!=_a6){
this._sticky=_a6;
}
},get_ManualClose:function(){
return this._manualClose;
},set_ManualClose:function(_a7){
if(this._manualClose!=_a7){
this._manualClose=_a7;
}
},get_ShowCallout:function(){
return this._showCallout;
},set_ShowCallout:function(_a8){
if(this._showCallout!=_a8){
this._showCallout=_a8;
}
},get_ShowDelay:function(){
return this._showDelay;
},set_ShowDelay:function(_a9){
if(this._showDelay!=_a9){
this._showDelay=_a9;
}
},get_AutoCloseDelay:function(){
return this._autoCloseDelay;
},set_AutoCloseDelay:function(_aa){
if(this._autoCloseDelay!=_aa){
this._autoCloseDelay=_aa;
}
},get_MouseTrailing:function(){
return this._mouseTrailing;
},set_MouseTrailing:function(_ab){
if(this._mouseTrailing!=_ab){
this._mouseTrailing=_ab;
if(true==_ab){
this.set_RelativeTo(Telerik.Web.UI.ToolTipRelativeDisplay.Mouse);
}
}
},get_Animation:function(){
return this._animation;
},set_Animation:function(_ac){
if(this._animation!=_ac){
this._animation=_ac;
}
},get_ShowEvent:function(){
return this._showEvent;
},set_ShowEvent:function(_ad){
if(this._showEvent!=_ad){
this._showEvent=_ad;
}
},get_Skin:function(){
return this._skin;
},set_Skin:function(_ae){
if(_ae&&this._skin!=_ae){
this._skin=_ae;
}
},add_BeforeShow:function(_af){
this.get_events().addHandler("BeforeShow",_af);
},remove_BeforeShow:function(_b0){
this.get_events().removeHandler("BeforeShow",_b0);
},add_Show:function(_b1){
this.get_events().addHandler("Show",_b1);
},remove_Show:function(_b2){
this.get_events().removeHandler("Show",_b2);
},add_BeforeHide:function(_b3){
this.get_events().addHandler("BeforeHide",_b3);
},remove_BeforeHide:function(_b4){
this.get_events().removeHandler("BeforeHide",_b4);
},add_Hide:function(_b5){
this.get_events().addHandler("Hide",_b5);
},remove_Hide:function(_b6){
this.get_events().removeHandler("Hide",_b6);
},saveClientState:function(){
var _b7=["Text","Position"];
var _b8={};
for(var i=0;i<_b7.length;i++){
_b8[_b7[i]]=this["get_"+_b7[i]]();
}
return Sys.Serialization.JavaScriptSerializer.serialize(_b8);
}};
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};
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();