﻿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._modal=false;
this._popupStickyHandler=null;
this._onModalShowHandler=null;
this._onModalCloseHandler=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);
this._makeModal(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="";
}
},isModal:function(){
return this._modal;
},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(){
try{
if(this._popupBehavior){
this._popupBehavior.hide(true);
}
}
catch(ex){
}
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();
}
},_makeModal:function(_1b){
if(this._onModalShowHandler){
this.remove_show(this._onModalShowHandler);
this._onModalShowHandler=null;
}
if(this._onModalCloseHandler){
this.remove_hide(this._onModalCloseHandler);
this._onModalCloseHandler=null;
}
if(this._modalExtender){
this._modalExtender.dispose();
this._modalExtender=null;
}
if(!_1b){
return;
}
this._onModalShowHandler=function(_1c){
if(!_1c._modalExtender){
_1c._modalExtender=new Telerik.Web.UI.ModalExtender(_1c._popupElement);
}
_1c._modalExtender.show();
};
this.add_show(this._onModalShowHandler);
this._onModalCloseHandler=function(_1d){
if(_1d._modalExtender){
_1d._modalExtender.hide();
}
};
this.add_hide(this._onModalCloseHandler);
},_isMouseOverElement:function(e,_1f){
var _20=null;
try{
_20=Telerik.Web.DomElement.getBounds(_1f);
}
catch(e){
return false;
}
if(e&&e.target.tagName=="SELECT"&&e.clientX<0){
return true;
}
var _21=(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body;
var x=e.clientX-2+_21.scrollLeft;
var y=e.clientY-2+_21.scrollTop;
var _24=TelerikCommonScripts.containsPoint(_20,x,y);
return _24;
},_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 _28=this._isMouseOverElement(e,this._targetControl);
if(!_28){
this.cancelShowDelay();
if(!this._sticky){
if(this._hideDelay>0){
var _29=this;
window.setTimeout(function(){
_29.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(_2c,_2d){
if(true==_2d){
var _2e={};
var _2f=Telerik.Web.UI.ToolTipShowEvent;
if(this._showEvent==_2f.OnMouseOver){
_2e["mouseover"]=this._onMouseOver;
_2e["mousemove"]=this._onMouseMove;
_2e["mouseout"]=this._onMouseOut;
}
if(this._showEvent==_2f.OnClick){
_2e["click"]=this._onClick;
}
if(this._showEvent==_2f.OnRightClick){
_2e["contextmenu"]=this._onRightClick;
}
if(this._showEvent==_2f.OnFocus){
_2e["focus"]=this._onMouseOver;
_2e["blur"]=this._onMouseOut;
}
$addHandlers(_2c,_2e,this);
}else{
if(_2c){
$clearHandlers(_2c);
}
}
},_registerPopupHandlers:function(_30){
if(true==_30){
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 _32=this._isMouseOverElement(e,this._tableElement);
if(!_32&&!this._manualClose){
this.hide();
}
},_getPropertiesParameter:function(){
if(!this._propertiesParameter){
var _33={};
for(var _34 in Telerik.Web.UI.RadToolTip.prototype){
var _35=this[_34];
if(typeof (_35)=="function"&&_34.indexOf("get_")==0){
var _36=_34.substring(4);
if(null==this["set_"+_36]){
continue;
}
var _37=_35.call(this);
if((typeof (_37)!="boolean")&&(null==_37||""==_37)){
continue;
}
_33[_36]=_37;
if(_36=="skin"){
break;
}
}
}
this._propertiesParameter=_33;
}
var _38=this._cloneObject(this._propertiesParameter);
return _38;
},_getEventsParameter:function(){
if(!this._eventsParameter){
var _39={};
var _3a=this.get_events();
var _3b=["beforeShow","show","beforeHide","hide"];
for(var i=0;i<_3b.length;i++){
var _3d=_3b[i];
var _3e=_3a._getEvent(_3d);
if(_3e&&typeof (eval(_3e)=="function")){
_39[_3d]=eval(_3e[0]);
}
}
this._eventsParameter=_39;
}
return this._eventsParameter;
},_cloneObject:function(_3f){
var _40={};
for(var _41 in _3f){
_40[_41]=_3f[_41];
}
return _40;
},_getPosRelativeToMouse:function(){
var loc=Telerik.Web.DomElement.getLocation(this._targetControl);
var _43=loc.x;
var _44=loc.y;
var pos=this._getMousePosition();
var _46=pos.clientX;
var _47=pos.clientY;
if(Telerik.Web.Browser.renderMode!=Telerik.Web.Browser.QuirksMode){
_43-=document.documentElement.scrollLeft;
_44-=document.documentElement.scrollTop;
}
var _48=_46-_43;
var _49=_47-_44;
return {x:_48,y:_49};
},_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 _4e=0;
var _4f=0;
var _50=(this._popupElement.style.display=="none")?true:false;
var _51=this._popupElement.style.left;
var _52=this._popupElement.style.top;
this._popupElement.style.display="";
this._setOverflow();
var _53=Telerik.Web.DomElement.getBounds(this._popupElement);
var _54=parseInt(TelerikCommonScripts.getCurrentStyle(this._calloutElement,"marginLeft"));
var _55=parseInt(TelerikCommonScripts.getCurrentStyle(this._calloutElement,"marginTop"));
if(isNaN(_54)){
_54=0;
}
if(isNaN(_55)){
_55=0;
}
var _56=0;
var _57=0;
if(this._calloutElement){
var _58=Telerik.Web.DomElement.getBounds(this._calloutElement);
if(_58){
if(_58.width){
_56=_58.width;
}
if(_58.height){
_57=_58.height;
}
}
}
if(_50){
this._popupElement.style.display="none";
}
var _59=_53.width;
var _5a=_53.height;
var _5b=this._horizontalPosition;
var _5c=this._verticalPosition;
var _5d=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{
_4e=_5d.width;
_4f=_5d.height;
}
switch(_5b){
case 2:
x+=-parseInt(_59/2-_4e/2);
x+=this._offsetX;
break;
case 3:
x+=_4e;
x-=_54;
x+=this._offsetX;
break;
case 1:
default:
x+=-_59;
x+=(-_56-_54);
x-=this._offsetX;
break;
}
switch(_5c){
case 2:
y+=-parseInt(_5a/2-_4f/2);
y+=this._offsetY;
break;
case 1:
y-=_5a;
y-=_57+_55;
y-=this._offsetY;
break;
case 3:
default:
y+=_4f;
y-=_55;
y+=this._offsetY;
break;
}
var obj={};
obj.x=x;
obj.y=y;
obj.width=_53.width;
obj.height=_53.height;
return obj;
},_fixIeHeight:function(_60,_61){
if("CSS1Compat"==document.compatMode){
var _62=(_60.offsetHeight-parseInt(_61));
if(_62>0){
var _63=(parseInt(_60.style.height)-_62);
if(_63>0){
_60.style.height=_63+"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 _64=this.get_id();
var _65="RadToolTipWrapper_"+_64;
var _66=document.createElement("DIV");
_66.id=_65;
_66.className=this._getFullSkinName()+(this.get_showCallout()?" visiblecallout":"");
_66.setAttribute("unselectable","on");
this._popupElement=_66;
var _67=document.createElement("DIV");
_67.className="ToolTipCallout "+this._getCalloutPosition(this._position);
_67.innerHTML="&nbsp;";
this._calloutElement=_67;
var _68=document.createElement("TABLE");
_68.className="ToolTipWrapper";
_68.style.width=this._width;
_68.style.height=this._height;
this._tableElement=_68;
var _69=["ToolTipTopLeft","ToolTipTopCenter","ToolTipTopRight","ToolTipLeftMiddle","ToolTipContent","ToolTipRightMiddle","ToolTipBottomLeft","ToolTipBottomCenter","ToolTipBottomRight"];
var _6a=0;
for(var i=1;i<=3;i++){
var _6c=_68.insertRow(-1);
for(var j=1;j<=3;j++){
var _6e=_6c.insertCell(-1);
_6e.innerHTML="&nbsp;";
_6e.className=_69[_6a];
_6a++;
}
}
var _6f=_68.rows[0].cells[1];
_6f.innerHTML="";
var _70=document.createElement("DIV");
_70.className="ToolTipTitlebar VisibleTitlebar";
_70.style.display="none";
this._titleElement=_70;
this._refreshTitle();
_6f.appendChild(_70);
if(this._manualClose){
var _71=document.createElement("A");
_71.href="javascript: void(0);";
_71.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(_71,"click",this._closeLinkHandler);
this._closeLink=_71;
var _73=document.createElement("SPAN");
_73.innerHTML="Close";
_71.title="Close";
_71.appendChild(_73);
_6f.appendChild(_71);
}
var _74=_68.rows[1].cells[1];
_74.vAlign="top";
_74.innerHTML="";
this._contentCell=_74;
var _75=null;
var _76=this.get_text();
if(this._targetControl&&!_76){
_76=this._targetControl.getAttribute("title");
if(_76){
this._targetControl.removeAttribute("title");
}
this._text=_76;
}
if(this._text){
this.set_content(this._text);
}else{
var _77=this.get_id();
if(_77){
_75=$get(_77);
}
if(_75&&_75.innerHTML){
var _78=this._transferNodeChildren(_75);
this.set_contentElement(_78);
}
}
_66.appendChild(_67);
_66.appendChild(_68);
this._popupElement.style.display="none";
this._popupElement.style.position="absolute";
this._addToolTipToDocument(_75);
}
if(!this._popupBehavior){
this._popupBehavior=$create(Telerik.Web.PopupBehavior,{"id":(new Date()-100)+"PopupBehavior","parentElement":this._targetControl},null,null,this._popupElement);
}
},_transferNodeChildren:function(_79){
if(!_79){
return null;
}
var _7a=_79.ownerDocument.createElement(_79.tagName);
while(_79.childNodes&&_79.childNodes.length>0){
var _7b=_79.childNodes[0];
_79.removeChild(_7b);
_7a.appendChild(_7b);
}
return _7a;
},_addToolTipToDocument:function(_7c){
if(null!=_7c){
_7c.parentNode.replaceChild(this._popupElement,_7c);
return;
}
var _7d=document.getElementById(this._formID);
if(!_7d){
_7d=document.forms[0];
}
_7d.appendChild(this._popupElement);
},_getParentByTagName:function(_7e,_7f){
var _80=_7e;
_7f=_7f.toUpperCase();
while(_80.tagName.toUpperCase()!=_7f){
_80=_80.parentNode;
if(!_80){
break;
}
}
return _80;
},_getFullSkinName:function(){
return "radtooltip_"+this._skin;
},_getUniqueString:function(){
return ""+(new Date()-100);
},_getCalloutPosition:function(_81){
with(Telerik.Web.UI.ToolTipPosition){
switch(_81){
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(_82){
return parseInt((_82+"").charAt(1));
},_getVerticalSide:function(_83){
return parseInt((_83+"").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 _86=this._contentScrolling;
if(_86==Telerik.Web.UI.ToolTipScrolling.Auto){
return;
}
var el=this._contentElement;
if(!el){
return;
}
var _88="";
with(Telerik.Web.UI.ToolTipScrolling){
switch(_86){
case Auto:
_88="auto";
break;
case None:
_88="hidden";
break;
case X:
_88="";
el.style.overflowX="scroll";
break;
case Y:
_88="";
el.style.overflowY="scroll";
break;
case Both:
_88="scroll";
}
}
var _89=el.parentNode;
el.style.display="none";
var _8a=Telerik.Web.DomElement.getBounds(_89).height;
el.style.height=_8a+"px";
if(!el.style.overflowX&&!el.style.overflowY){
el.style.overflow=_88;
}
el.style.display="";
},_getLeftOffset:function(){
var _8b=Telerik.Web.UI.ToolTipPosition;
if(_8b.Left==this._position){
return (-1*this._targetControl.offsetWidth)+this._offsetX;
}else{
if(_8b.Right==this._position){
return this._targetControl.offsetWidth+this._offsetX;
}else{
return this._offsetX;
}
}
},_getTopOffset:function(){
var _8c;
var _8d=Telerik.Web.UI.ToolTipPosition;
if(_8d.Top==this._position){
_8c=(-1*this._targetControl.offsetHeight)+this._offsetY;
}else{
if(_8d.Bottom==this._position){
_8c=this._targetControl.offsetHeight+this._offsetY;
}else{
_8c=this._offsetY;
}
}
return _8c;
},isVisible:function(){
return this._popupVisible;
},get_targetControlID:function(){
return this._targetControlID;
},set_targetControlID:function(_8e){
if(this._targetControlID!=_8e){
this._targetControlID=_8e;
var _8f=(this._targetControlID?$get(this._targetControlID):null);
this.set_targetControl(_8f);
}
},get_targetControl:function(){
return this._targetControl;
},set_targetControl:function(_90){
if(this._targetControl!=_90){
if(this._targetControl&&(this._targetControl!=_90)){
this._registerMouseHandlers(this._targetControl,false);
}
this._targetControl=_90;
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(_91){
this._serverTargetControlID=_91;
},get_formID:function(){
return this._formID;
},set_formID:function(_92){
if(this._formID!=_92){
this._formID=_92;
}
},get_position:function(){
return this._position;
},set_position:function(_93){
if(this._position!=_93){
this._position=_93;
if(this._calloutElement){
this._calloutElement.className="ToolTipCallout "+this._getCalloutPosition(this._position);
}
}
this._horizontalPosition=this._getHorizontalSide(this._position);
this._verticalPosition=this._getVerticalSide(this._position);
},get_offsetX:function(){
return this._offsetX;
},set_offsetX:function(_94){
if(this._offsetX!=_94){
this._offsetX=_94;
}
},get_offsetY:function(){
return this._offsetY;
},set_offsetY:function(_95){
if(this._offsetY!=_95){
this._offsetY=_95;
}
},get_title:function(){
return this._title;
},set_title:function(_96){
if(this._title!=_96){
this._title=_96;
}
this._refreshTitle();
},get_text:function(){
return this._text;
},set_text:function(_97){
if(this._text!=_97){
this._text=_97;
}
},get_width:function(){
return this._width;
},set_width:function(_98){
if(this._width!=_98){
this._width=_98;
}
},get_height:function(){
return this._height;
},set_height:function(_99){
if(this._height!=_99){
this._height=_99;
}
},get_relativeTo:function(){
return this._relativeTo;
},set_relativeTo:function(_9a){
if(this._relativeTo!=_9a){
this._relativeTo=_9a;
}
},get_contentScrolling:function(){
return this._contentScrolling;
},set_contentScrolling:function(_9b){
if(this._contentScrolling!=_9b){
this._contentScrolling=_9b;
}
},get_sticky:function(){
return this._sticky;
},set_sticky:function(_9c){
if(this._sticky!=_9c){
this._sticky=_9c;
}
},get_manualClose:function(){
return this._manualClose;
},set_manualClose:function(_9d){
if(this._manualClose!=_9d){
this._manualClose=_9d;
}
},get_showCallout:function(){
return this._showCallout;
},set_showCallout:function(_9e){
if(this._showCallout!=_9e){
this._showCallout=_9e;
}
},get_showDelay:function(){
return this._showDelay;
},set_showDelay:function(_9f){
if(this._showDelay!=_9f){
this._showDelay=_9f;
}
},get_autoCloseDelay:function(){
return this._autoCloseDelay;
},set_autoCloseDelay:function(_a0){
if(this._autoCloseDelay!=_a0){
this._autoCloseDelay=_a0;
}
},get_hideDelay:function(){
return this._hideDelay;
},set_hideDelay:function(_a1){
if(this._hideDelay!=_a1){
this._hideDelay=_a1;
}
},get_mouseTrailing:function(){
return this._mouseTrailing;
},set_mouseTrailing:function(_a2){
if(this._mouseTrailing!=_a2){
this._mouseTrailing=_a2;
if(true==_a2){
this.set_relativeTo(Telerik.Web.UI.ToolTipRelativeDisplay.Mouse);
}
}
},get_animation:function(){
return this._animation;
},set_animation:function(_a3){
if(this._animation!=_a3){
this._animation=_a3;
}
},get_showEvent:function(){
return this._showEvent;
},set_showEvent:function(_a4){
if(this._showEvent!=_a4){
this._showEvent=_a4;
}
},get_skin:function(){
return this._skin;
},set_skin:function(_a5){
if(_a5&&this._skin!=_a5){
this._skin=_a5;
}
},get_popupElement:function(){
return this._popupElement;
},get_modal:function(){
return this._modal;
},set_modal:function(_a6){
if(this._modal!=_a6){
this._modal=_a6;
}
this._makeModal(this._modal);
},add_beforeShow:function(_a7){
this.get_events().addHandler("beforeShow",_a7);
},remove_beforeShow:function(_a8){
this.get_events().removeHandler("beforeShow",_a8);
},add_show:function(_a9){
this.get_events().addHandler("show",_a9);
},remove_show:function(_aa){
this.get_events().removeHandler("show",_aa);
},add_beforeHide:function(_ab){
this.get_events().addHandler("beforeHide",_ab);
},remove_beforeHide:function(_ac){
this.get_events().removeHandler("beforeHide",_ac);
},add_hide:function(_ad){
this.get_events().addHandler("hide",_ad);
},remove_hide:function(_ae){
this.get_events().removeHandler("hide",_ae);
},saveClientState:function(){
var _af=["text","position"];
var _b0={};
for(var i=0;i<_af.length;i++){
_b0[_af[i]]=this["get_"+_af[i]]();
}
return Sys.Serialization.JavaScriptSerializer.serialize(_b0);
}};
$telerikCommon.makeCompatible(Telerik.Web.UI.RadToolTip);
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();