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