/* PopupScripts */
Type.registerNamespace("Telerik.Web");Telerik.Web.BehaviorBase=function(a){Telerik.Web.BehaviorBase.initializeBase(this,[a]);this._clientStateFieldID=null;this._pageRequestManager=null;this._partialUpdateBeginRequestHandler=null;this._partialUpdateEndRequestHandler=null};Telerik.Web.BehaviorBase.prototype={initialize:function(){Telerik.Web.BehaviorBase.callBaseMethod(this,"initialize")},dispose:function(){var a=this.get_element();Telerik.Web.BehaviorBase.callBaseMethod(this,"dispose");if(a&&a._behaviors&&a._behaviors.length==0){a._behaviors=null}a=null;if(this._pageRequestManager){if(this._partialUpdateBeginRequestHandler){this._pageRequestManager.remove_beginRequest(this._partialUpdateBeginRequestHandler);this._partialUpdateBeginRequestHandler=null}if(this._partialUpdateEndRequestHandler){this._pageRequestManager.remove_endRequest(this._partialUpdateEndRequestHandler);this._partialUpdateEndRequestHandler=null}this._pageRequestManager=null}},get_ClientStateFieldID:function(){return this._clientStateFieldID},set_ClientStateFieldID:function(a){if(this._clientStateFieldID!=a){this._clientStateFieldID=a;this.raisePropertyChanged("ClientStateFieldID")}},get_ClientState:function(){if(this._clientStateFieldID){var a=document.getElementById(this._clientStateFieldID);if(a){return a.value}}return null},set_ClientState:function(a){if(this._clientStateFieldID){var b=document.getElementById(this._clientStateFieldID);if(b){b.value=a}}},registerPartialUpdateEvents:function(){if(Sys&&Sys.WebForms&&Sys.WebForms.PageRequestManager){this._pageRequestManager=Sys.WebForms.PageRequestManager.getInstance();if(this._pageRequestManager){this._partialUpdateBeginRequestHandler=Function.createDelegate(this,this._partialUpdateBeginRequest);this._pageRequestManager.add_beginRequest(this._partialUpdateBeginRequestHandler);this._partialUpdateEndRequestHandler=Function.createDelegate(this,this._partialUpdateEndRequest);this._pageRequestManager.add_endRequest(this._partialUpdateEndRequestHandler)}}},_partialUpdateBeginRequest:function(a,b){},_partialUpdateEndRequest:function(a,b){}};Telerik.Web.BehaviorBase.registerClass("Telerik.Web.BehaviorBase",Sys.UI.Behavior);Type.registerNamespace("Telerik.Web");Type.registerNamespace("Telerik.Web.UI");Telerik.Web.UI.ModalExtender=function(a){this._windowResizeDelegate=null;this._windowScrollDelegate=null;this._xCoordinate=-1;this._yCoordinate=-1;this._backgroundElement=null;this._foregroundElement=a;this._saveTabIndexes=new Array();this._saveDesableSelect=new Array();this._tagWithTabIndex=new Array("A","AREA","BUTTON","INPUT","OBJECT","SELECT","TEXTAREA","IFRAME")};Telerik.Web.UI.ModalExtender.prototype={dispose:function(){this.hide();this._backgroundElement=null;this._foregroundElement=null},show:function(){this._attachWindowHandlers(true);var a=this._getModalOverlay();var b=this._foregroundElement;b.parentNode.appendChild(a);var c=$telerik.getCurrentStyle(b,"zIndex");if(!isNaN(parseInt(c))){a.style.zIndex=c-1}a.style.display="";this._disableTab();this._updatePageLayout();this._updatePageLayout()},_storeBrowserPosition:function(){var a=document.body;var b=document.documentElement;this._browserTop=a.scrollTop>b.scrollTop?a.scrollTop:b.scrollTop;this._browserLeft=a.scrollLeft>b.scrollLeft?a.scrollTop:b.scrollLeft},_restoreBrowserPosition:function(a,b){try{if(null==a){a=this._browserLeft}if(null==b){b=this._browserTop}var c=document.body;var d=document.documentElement;c.scrollTop=b;c.scrollLeft=a;d.scrollTop=b;d.scrollLeft=a}catch(ex){}},hide:function(){this._restoreTab();this._attachWindowHandlers(false);var a=this._backgroundElement;if(a){a.parentNode.removeChild(a);this._backgroundElement=null}},_enableScroll:function(a){if(a){document.body.style.overflow=null!=this._overflow?this._overflow:"";document.documentElement.style.overflow=null!=this._documentOverflow?this._documentOverflow:"";document.body.style.marginRight=""}else{this._overflow=document.body.style.overflow;document.body.style.overflow="hidden";this._documentOverflow=document.documentElement.style.overflow;document.documentElement.style.overflow="hidden";document.body.style.marginRight="18px"}},_getModalOverlay:function(){if(!this._backgroundElement){var a=document.createElement("div");a.style.display="none";a.style.position="absolute";if($telerik.isRightToLeft(this._foregroundElement)){a.style.right="0px"}else{a.style.left="0px"}a.style.top="0px";a.style.zIndex=10000;a.style.backgroundColor="#aaaaaa";a.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=50)";a.style.opacity=".5";a.style.mozOpacity=".5";a.setAttribute("unselectable","on");a.className="TelerikModalOverlay";this._backgroundElement=a}return this._backgroundElement},_attachWindowHandlers:function(a){var b=window;if(true==a){this._windowResizeDelegate=Function.createDelegate(this,this._updatePageLayout);$addHandler(b,"resize",this._windowResizeDelegate);this._windowScrollDelegate=Function.createDelegate(this,this._updatePageLayout);$addHandler(b,"scroll",this._windowScrollDelegate)}else{if(this._windowResizeDelegate){$removeHandler(b,"resize",this._windowResizeDelegate)}this._windowResizeDelegate=null;if(this._windowScrollDelegate){$removeHandler(b,"scroll",this._windowScrollDelegate)}this._windowScrollDelegate=null}},_updatePageLayout:function(){var a=(document.documentElement.scrollLeft?$telerik.getCorrectScrollLeft(document.documentElement):$telerik.getCorrectScrollLeft(document.body));var b=(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);var c=$telerik.getClientBounds();var d=c.width;var e=c.height;var f=this._getModalOverlay();f.style.width=Math.max(Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),d)+"px";f.style.height=Math.max(Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),e)+"px"},_disableTab:function(){var i=0;var a;var b=new Array();Array.clear(this._saveTabIndexes);for(var j=0;j<this._tagWithTabIndex.length;j++){a=this._foregroundElement.getElementsByTagName(this._tagWithTabIndex[j]);for(var k=0;k<a.length;k++){b[i]=a[k];i++}}i=0;for(var j=0;j<this._tagWithTabIndex.length;j++){a=document.getElementsByTagName(this._tagWithTabIndex[j]);for(var k=0;k<a.length;k++){if(Array.indexOf(b,a[k])==-1){this._saveTabIndexes[i]={tag:a[k],index:a[k].tabIndex};a[k].tabIndex="-1";i++}}}i=0;if((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7)){var c=new Array();for(var j=0;j<this._tagWithTabIndex.length;j++){a=this._foregroundElement.getElementsByTagName("SELECT");for(var k=0;k<a.length;k++){c[i]=a[k];i++}}i=0;Array.clear(this._saveDesableSelect);a=document.getElementsByTagName("SELECT");for(var k=0;k<a.length;k++){if(Array.indexOf(c,a[k])==-1){this._saveDesableSelect[i]={tag:a[k],visib:$telerik.getCurrentStyle(a[k],"visibility")};a[k].style.visibility="hidden";i++}}}},_restoreTab:function(){for(var i=0;i<this._saveTabIndexes.length;i++){this._saveTabIndexes[i].tag.tabIndex=this._saveTabIndexes[i].index}if((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7)){for(var k=0;k<this._saveDesableSelect.length;k++){this._saveDesableSelect[k].tag.style.visibility=this._saveDesableSelect[k].visib}}}};Telerik.Web.UI.ModalExtender.registerClass("Telerik.Web.UI.ModalExtender",null);Type.registerNamespace("Telerik.Web");Telerik.Web.PositioningMode=function(){throw Error.invalidOperation();};Telerik.Web.PositioningMode.prototype={Absolute:0,Center:1,BottomLeft:2,BottomRight:3,TopLeft:4,TopRight:5};Telerik.Web.PositioningMode.registerEnum("Telerik.Web.PositioningMode");Telerik.Web.PopupBehavior=function(a){Telerik.Web.PopupBehavior.initializeBase(this,[a]);this._x=0;this._y=0;this._positioningMode=Telerik.Web.PositioningMode.Absolute;this._parentElement=null;this._parentElementID=null;this._moveHandler=null;this._firstPopup=true;this._originalParent=null;this._overlay=false;this._keepInScreenBounds=true;this._manageVisibility=true};Telerik.Web.PopupBehavior._ie6pinnedList={};Telerik.Web.PopupBehavior.prototype={getPageOffset:function(){var a={x:($telerik.getCorrectScrollLeft(document.documentElement)||$telerik.getCorrectScrollLeft(document.body)),y:(document.documentElement.scrollTop||document.body.scrollTop)};return a},pin:function(c){var d=this.get_element();var e=this.getPageOffset();if($telerik.isIE6){var f=this.get_id();if(c){if(Telerik.Web.PopupBehavior._ie6pinnedList[f]){return}var g=$telerik.getBounds(d);Telerik.Web.PopupBehavior._ie6pinnedList[f]=window.setInterval(Function.createDelegate(this,function(){var a=this.getPageOffset();var x=g.x-e.x+a.x;var y=g.y-e.y+a.y;var b=this.get_parentElement();this.set_parentElement(document.documentElement);this.set_x(x);this.set_y(y);this.show();this.set_parentElement(b)}),130)}else{var h=Telerik.Web.PopupBehavior._ie6pinnedList[f];if(h){window.clearInterval(h)}delete Telerik.Web.PopupBehavior._ie6pinnedList[f]}}else{var i=c?"fixed":"absolute";if(d.style.position==i){return}var g=$telerik.getBounds(d);if(c&&(e.x||e.y)){this._x=g.x-e.x;this._y=g.y-e.y;$telerik.setLocation(d,{x:this._x,y:this._y})}d.style.position=i}},center:function(){var a=this.get_element();if(this._manageVisibility){$telerik.setVisible(a,true)}var b=$telerik.getClientBounds();var c=$telerik.getBounds(a);var x=parseInt((b.width-c.width)/2);var y=parseInt((b.height-c.height)/2);var d=this.get_parentElement();this.set_parentElement(document.documentElement);this.set_x(x);this.set_y(y);this.show();this.set_parentElement(d)},get_parentElement:function(){if(!this._parentElement&&this._parentElementID){this.set_parentElement($get(this._parentElementID));Sys.Debug.assert(this._parentElement!=null,String.format("Couldn't find parent element \"{0}\"",this._parentElementID))}return this._parentElement},set_parentElement:function(a){this._parentElement=a},get_parentElementID:function(){if(this._parentElement){return this._parentElement.id}return this._parentElementID},set_parentElementID:function(a){this._parentElementID=a;if(this.get_isInitialized()){this.set_parentElement($get(a))}},get_positioningMode:function(){return this._positioningMode},set_positioningMode:function(a){this._positioningMode=a},get_x:function(){return this._x},set_x:function(a){if(a!=this._x){this._x=a;if($telerik.getVisible(this.get_element())&&this._manageVisibility){this.show()}}},get_y:function(){return this._y},set_y:function(a){if(a!=this._y){this._y=a;if($telerik.getVisible(this.get_element())&&this._manageVisibility){this.show()}}},get_overlay:function(){return this._overlay},set_overlay:function(a){this._overlay=a;this._attachWindowHandlers(false);if(this._overlay){this._attachWindowHandlers(true)}else{if(!((Sys.Browser.agent===Sys.Browser.InternetExplorer)&&(Sys.Browser.version<7))){var b=this.get_element();var c=b._hideWindowedElementsIFrame;if(c){c.style.display="none"}}}},get_manageVisibility:function(){return this._manageVisibility},set_manageVisibility:function(a){this._manageVisibility=a},get_keepInScreenBounds:function(){return this._keepInScreenBounds},set_keepInScreenBounds:function(a){this._keepInScreenBounds=a},hide:function(){var a=this.get_element();if(this._manageVisibility){$telerik.setVisible(a,false)}if(a.originalWidth){a.style.width=a.originalWidth+"px";a.originalWidth=null}if(Sys.Browser.agent===Sys.Browser.InternetExplorer||this._overlay){var b=a._hideWindowedElementsIFrame;if(b){b.style.display="none"}}},show:function(){var a=this.get_element();var b=document.documentElement;if($telerik.isFirefox){var c=$telerik.getCurrentStyle(b,"overflow");if("hidden"==c){a.style.left=b.scrollLeft+"px";a.style.top=b.scrollLeft+"px"}}if(this._manageVisibility){$telerik.setVisible(a,true)}var d=a.offsetParent||b;var e;var f;if(this._parentElement){f=$telerik.getBounds(this._parentElement);if(d.tagName.toUpperCase()!="BODY"&&d.tagName.toUpperCase()!="HTML"){var g=$telerik.getLocation(d);var h=$telerik.getBorderBox(d);g.x+=h.top;g.y+=h.left;e={x:f.x-g.x+d.scrollLeft,y:f.y-g.y+d.scrollTop}}else{e={x:f.x,y:f.y}}}else{f=$telerik.getBounds(d);e={x:0,y:0}}var i=a.offsetWidth-(a.clientLeft?a.clientLeft*2:0);var j=a.offsetHeight-(a.clientTop?a.clientTop*2:0);var k;switch(this._positioningMode){case Telerik.Web.PositioningMode.Center:k={x:Math.round(f.width/2-i/2),y:Math.round(f.height/2-j/2)};break;case Telerik.Web.PositioningMode.BottomLeft:k={x:0,y:f.height};break;case Telerik.Web.PositioningMode.BottomRight:k={x:f.width-i,y:f.height};break;case Telerik.Web.PositioningMode.TopLeft:k={x:0,y:-a.offsetHeight};break;case Telerik.Web.PositioningMode.TopRight:k={x:f.width-i,y:-a.offsetHeight};break;default:k={x:0,y:0}}k.x+=this._x+e.x;k.y+=this._y+e.y;$telerik.setLocation(a,k);if(this._firstPopup){a.style.width=i+"px"}this._firstPopup=false;var l=this._fixPositionInBounds();this._createOverlay(l)},_getViewportBounds:function(){var a=$telerik.getClientBounds();var b=$telerik.getCorrectScrollLeft(document.documentElement)||$telerik.getCorrectScrollLeft(document.body);var c=document.documentElement.scrollTop||document.body.scrollTop;a.scrollLeft=b;a.scrollTop=c;return a},_fixPositionInBounds:function(){var a=this.get_element();var b=$telerik.getBounds(a);if(!this._keepInScreenBounds){return b}var c=this._getViewportBounds();var d=false;var e=(c.width>b.width);var f=(c.height>b.height);var g=c.scrollTop;var h=c.height+g;var i=c.scrollLeft;var j=c.width+i;if($telerik.isRightToLeft(document.body)){var k=document.documentElement.scrollWidth;j=k?k:document.body.scrollWidth}if(b.x<i||!e){b.x=i;d=true}if(b.y<g||!f){b.y=g;d=true}if(e&&(b.x+b.width>j)){b.x=j-b.width;d=true}if(f&&(h<b.y+b.height)){b.y=h-b.height;d=true}if(d){$telerik.setLocation(a,b)}return b},_createOverlay:function(a){if(!$telerik.isIE6&&!this._overlay){return}var b=this.get_element();var c=b._hideWindowedElementsIFrame;if(!c){c=document.createElement("iframe");c.src="javascript:'<html></html>';";c.style.position="absolute";c.style.display="none";c.scrolling="no";c.frameBorder="0";c.tabIndex="-1";c.style.filter="progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)";b.parentNode.insertBefore(c,b);b._hideWindowedElementsIFrame=c;this._moveHandler=Function.createDelegate(this,this._onMove);$telerik.addExternalHandler(b,"move",this._moveHandler)}$telerik.setBounds(c,a);if($telerik.isFirefox){var d=this._getViewportBounds();c.style.top=parseInt(a.y)-d.scrollTop+"px";c.style.left=parseInt(a.x)-d.scrollLeft+"px";c.style.position="fixed"}if($telerik.quirksMode){return}c.style.display=b.style.display;c.style.zIndex=$telerik.getCurrentStyle(b,"zIndex")},_setCoordinates:function(x,y){var a=false;if(x!=this._x){this._x=x;a=true}if(y!=this._y){this._y=y;a=true}if($telerik.getVisible(this.get_element())&&a&&this._manageVisibility){this.show()}},initialize:function(){Telerik.Web.PopupBehavior.callBaseMethod(this,"initialize");this.hide();this.get_element().style.position="absolute"},dispose:function(){var a=this.get_element();if(a){if(this._moveHandler){$telerik.removeExternalHandler(a,"move",this._moveHandler);this._moveHandler=null}this._attachWindowHandlers(false);if($telerik.getVisible(a)&&this._manageVisibility){this.hide()}if(this._originalParent){a.parentNode.removeChild(a);this._originalParent.appendChild(a);this._originalParent=null}var b=a._hideWindowedElementsIFrame;if(b){var c=b.parentNode;var d=b.nextSibling;if(c){c.removeChild(b);if(d){c.insertBefore(document.createElement("SPAN"),d)}else{c.appendChild(document.createElement("SPAN"))}}}}this._parentElement=null;Telerik.Web.PopupBehavior.callBaseMethod(this,"dispose")},_onMove:function(){var a=this.get_element();var b=a._hideWindowedElementsIFrame;if(b){if(Sys.Browser.agent===Sys.Browser.Firefox){var c=this._getViewportBounds();b.style.top=parseInt(a.style.top)-c.scrollTop+"px";b.style.left=parseInt(a.style.left)-c.scrollLeft+"px";b.style.position="fixed"}else{b.style.top=a.style.top;b.style.left=a.style.left}}},_handleElementResize:function(){var a=this.get_element();var b=a._hideWindowedElementsIFrame;if(b){var c=$telerik.getBounds(a);$telerik.setBounds(b,c)}},_attachWindowHandlers:function(a){if(!Sys.Browser.agent===Sys.Browser.Firefox){return}var b=window;if(true==a){this._windowResizeDelegate=Function.createDelegate(this,this._onMove);$telerik.addExternalHandler(b,"resize",this._windowResizeDelegate);this._windowScrollDelegate=Function.createDelegate(this,this._onMove);$telerik.addExternalHandler(b,"scroll",this._windowScrollDelegate)}else{if(this._windowResizeDelegate){$telerik.removeExternalHandler(b,"resize",this._windowResizeDelegate)}this._windowResizeDelegate=null;if(this._windowScrollDelegate){$telerik.removeExternalHandler(b,"scroll",this._windowScrollDelegate)}this._windowScrollDelegate=null}}};Telerik.Web.PopupBehavior.registerClass("Telerik.Web.PopupBehavior",Telerik.Web.BehaviorBase);Type.registerNamespace("Telerik.Web.UI");Telerik.Web.UI.ResizeExtender=function(a,b,c,d,e,f,g){this._document=e?e:document;this._documentMouseMoveDelegate=null;this._documentMouseUpDelegate=null;this._element=null;this._tableElement=null;this._moveCursorType="move";this._enabled=true;this._jsOwner=null;this._hideIframes=true;this._autoScrollEnabled=true;this._saveDelegates={};this.makeResizable(a,b,c,d,f,g)};Telerik.Web.UI.ResizeExtender.containsBounds=function(a,b){if(!a||!b){return false}var c=$telerik.containsPoint(a,b.x,b.y);if(c){var x=b.x+b.width;var y=b.y+b.height;c=$telerik.containsPoint(a,x,y)}return c};Telerik.Web.UI.ResizeExtender.prototype={dispose:function(){this._attachDocumentHandlers(false);this._configureHandleElements(false);this._jsOwner=null},enable:function(a){this._enabled=a},set_hideIframes:function(a){this._hideIframes=a},get_hideIframes:function(){return this._hideIframes},makeResizable:function(a,b,c,d,e,f){if(!b){return}if(this._element){alert("Element "+b.getAttribute("id")+" cannot be made resizable, as the resizeExtender already has the element "+this._element.getAttribute("id")+" associated with it. You must create a new extender resizer object");return}this._jsOwner=a;this._element=b;this._tableElement=d;this._resizeHandles=c;if(e){this._moveCursorType=e}if(f!=null){this._autoScrollEnabled=f}this._startX=0;this._startY=0;this._cancelResize=true;this._configureHandleElements(true)},_raiseDragEvent:function(a,b,c){if(this._jsOwner&&this._jsOwner["on"+a]){var d=b;if(!d){d={}}d.element=this._element;d.ownerEvent=c;return this._jsOwner["on"+a](d)}return true},_raiseEvent:function(a,b){if(this._jsOwner&&this._jsOwner["on"+a]){if(!b){b=new Sys.EventArgs()}else{if(a=="Resize"){b=this._resizeDir}else{if(a=="Resizing"){b=this._getProposedBounds(b)}}}return this._jsOwner["on"+a](b)}return true},_getProposedBounds:function(a){var b=$telerik.getBounds(this._element);return{x:a.x||b.x,y:a.y||b.y,width:a.width||b.width,height:a.height||b.height}},_resize:function(e){if(!this._enabled||this._cancelResize){return false}var a=0;var b=0;var c=0;var d=0;var f=this._originalBounds;var g=this._resizeDir.move;if(g){c=f.x+(e.clientX-this._startX);d=f.y+(e.clientY-this._startY)}else{if(this._resizeDir.east){a=f.width+(e.clientX-this._startX)}else{if(this._resizeDir.west){c=e.clientX-this._leftHandleMouseDelta;a=f.width-(e.clientX-this._startX)}}if(this._resizeDir.south){b=f.height+(e.clientY-this._startY)}else{if(this._resizeDir.north){d=f.y+(e.clientY-this._startY);b=f.height-(e.clientY-this._startY)}}}if(this._offsetLocation){c-=this._offsetLocation.x;d-=this._offsetLocation.y}var h=new Sys.UI.Bounds(c,d,a,b);var i=g?this._raiseDragEvent("Drag",h,e):this._raiseEvent("Resizing",h);if(false==i){return true}if(g||h.x>0){this._element.style.left=h.x+"px"}if(g||h.y>0){this._element.style.top=h.y+"px"}if(h.width>0){this._element.style.width=h.width+"px"}if(h.height>0){this._element.style.height=h.height+"px"}if(!g){this._updateInnerTableSize()}return true},_storeStartCoords:function(e){if(!this._enabled){return}this._cancelResize=false;this._startX=e.clientX;this._startY=e.clientY;var a=$telerik.getBounds(this._element);this._originalBounds=a;var b=e.target?e.target:e.srcElement;if(b&&b.type==3){b=b.parentNode}this._resizeType=$telerik.getCurrentStyle(b,"cursor");this._resizeDir={north:this._resizeType.match(/n.?-/)?1:0,east:this._resizeType.match(/e-/)?1:0,south:this._resizeType.match(/s.?-/)?1:0,west:this._resizeType.match(/w-/)?1:0,move:new RegExp(this._moveCursorType).test(this._resizeType)?1:0};this._leftHandleMouseDelta=0;if(this._resizeDir.west){this._leftHandleMouseDelta=Math.abs($telerik.getBounds(b).x-this._startX)}var c=this._resizeDir.move?this._raiseDragEvent("DragStart",null,e):this._raiseEvent("ResizeStart");this._cancelResize=(c==false);var d=$telerik.getCurrentStyle(this._element.parentNode,"position");var f=("relative"==d)||("absolute"==d);this._offsetLocation=f?$telerik.getLocation(this._element.parentNode):null;if(!this._cancelResize){this._clearSelection();this._setIframesVisible(false);this._attachDocumentHandlers(false);this._attachDocumentHandlers(true)}},_updateInnerTableSize:function(){var a=this._resizeDir;if(a.south||a.north){var b=this._element.style.height;var c=this._tableElement;if(c){c.style.height=b;this._fixIeHeight(c,b)}}},_setIframesVisible:function(a){if(!this._hideIframes){return}var b=this._document.getElementsByTagName("IFRAME");for(var i=0;i<b.length;i++){var c=b[i];c.style.visibility=a?"":"hidden";if($telerik.isIE){try{c.contentWindow.document.body.style.visibility=a?"":"hidden"}catch(ex){}}}},_configureHandleElements:function(a){var b=["nw","n","ne","w","e","sw","s","se",this._moveCursorType];for(var i=0;i<b.length;i++){var c=b[i];var d=this._resizeHandles[c];if(d){if(d instanceof Array){for(var j=0;j<d.length;j++){this._configureHandle("id"+i+"_"+j,a,d[j],c)}}else{this._configureHandle("id"+i,a,d,c)}}}if(!a){this._saveDelegates={}}},_configureHandle:function(a,b,c,d){if(b){var e=Function.createDelegate(this,this._onHandleMouseDown);$telerik.addExternalHandler(c,"mousedown",e);this._saveDelegates[a]={delegate:e,element:c};var f=(d==this._moveCursorType?this._moveCursorType:d+"-resize");c.style.cursor=f}else{$telerik.removeExternalHandler(c,"mousedown",this._saveDelegates[a].delegate);c.style.cursor=""}},_attachDocumentHandlers:function(a){var b=this._document;if(true==a){this._documentMouseMoveDelegate=Function.createDelegate(this,this._onDocumentMouseMove);$telerik.addExternalHandler(b,"mousemove",this._documentMouseMoveDelegate);this._documentMouseUpDelegate=Function.createDelegate(this,this._onDocumentMouseUp);$telerik.addExternalHandler(b,"mouseup",this._documentMouseUpDelegate)}else{if(this._documentMouseMoveDelegate){$telerik.removeExternalHandler(b,"mousemove",this._documentMouseMoveDelegate)}this._documentMouseMoveDelegate=null;if(this._documentMouseUpDelegate){$telerik.removeExternalHandler(b,"mouseup",this._documentMouseUpDelegate)}this._documentMouseUpDelegate=null}},_onDocumentMouseMove:function(e){var a=this._resize(e);if(this._autoScrollEnabled){this._autoScroll(e)}if(a){return $telerik.cancelRawEvent(e)}},_onDocumentMouseUp:function(e){var a=!this._cancelResize;this._cancelResize=true;if(a){this._clearSelection();this._setIframesVisible(true);if(this._resizeDir&&this._resizeDir.move){this._raiseDragEvent("DragEnd",null,e)}else{this._raiseEvent("ResizeEnd")}this._attachDocumentHandlers(false);if(this._scroller){this._scroller.set_enabled(false)}}},_onHandleMouseDown:function(e){this._storeStartCoords(e);return $telerik.cancelRawEvent(e)},_clearSelection:function(){if(this._document.selection&&this._document.selection.empty){this._document.selection.empty()}},_fixIeHeight:function(a,b){if("CSS1Compat"==document.compatMode){var c=(a.offsetHeight-parseInt(b));if(c>0){var d=(parseInt(a.style.height)-c);if(d>0){a.style.height=d+"px"}}}},_initializeAutoScroll:function(){if(this._autoScrollInitialized){return}this._scrollEdgeConst=40;this._scrollByConst=10;this._scroller=null;this._scrollDeltaX=0;this._scrollDeltaY=0;this._scrollerTickHandler=Function.createDelegate(this,this._onScrollerTick);this._scroller=new Telerik.Web.Timer();this._scroller.set_interval(10);this._scroller.add_tick(this._scrollerTickHandler);this._autoScrollInitialized=true},_autoScroll:function(a){this._initializeAutoScroll();var b=$telerik.getClientBounds();if(b.width>0){this._scrollDeltaX=this._scrollDeltaY=0;if(a.clientX<b.x+this._scrollEdgeConst){this._scrollDeltaX=-this._scrollByConst}else{if(a.clientX>b.width-this._scrollEdgeConst){this._scrollDeltaX=this._scrollByConst}}if(a.clientY<b.y+this._scrollEdgeConst){this._scrollDeltaY=-this._scrollByConst}else{if(a.clientY>b.height-this._scrollEdgeConst){this._scrollDeltaY=this._scrollByConst}}var c=this._scroller;if(this._scrollDeltaX!=0||this._scrollDeltaY!=0){this._originalStartX=this._startX;this._originalStartY=this._startY;c.set_enabled(true)}else{if(c.get_enabled()){this._startX=this._originalStartX;this._startY=this._originalStartY}c.set_enabled(false)}}},_onScrollerTick:function(){var a=document.documentElement.scrollLeft||document.body.scrollLeft;var b=document.documentElement.scrollTop||document.body.scrollTop;window.scrollBy(this._scrollDeltaX,this._scrollDeltaY);var c=document.documentElement.scrollLeft||document.body.scrollLeft;var d=document.documentElement.scrollTop||document.body.scrollTop;var e=c-a;var f=d-b;var g=this._element;var h={x:parseInt(g.style.left)+e,y:parseInt(g.style.top)+f};this._startX-=e;this._startY-=f;try{$telerik.setLocation(g,h)}catch(ex){}}};Telerik.Web.UI.ResizeExtender.registerClass("Telerik.Web.UI.ResizeExtender",null);
/* Animation */
Type.registerNamespace("Telerik.Web.UI.Animations");Telerik.Web.UI.Animations.playJQueryAnimation=function(a,b,c,d,e,f,g){if(!a){return}if(!b){b=2}if(!c){c=new Sys.UI.Bounds(1,1,1,1)}if(!d){d=new Sys.UI.Bounds(1,1,1,1)}if(!e){e=32}e+="";var h=parseInt(e.substr(0,1));var i=parseInt(e.substr(1,1));if(f){f()}$telerik.$(a).stop(false,true);if(b==2){$telerik.$(a).css({"left":d.x,"top":d.y}).fadeIn(500,g);return}if(b==8){var j=$telerik.getClientBounds();var k=$telerik.getClientBounds();c.x=k.width/2;c.y=k.height;switch(i){case 2:c.x=d.x;break;case 3:c.x=j.width;break;case 1:c.x=j.x}switch(h){case 2:c.y=d.y;break;case 1:c.y=j.y-d.height;break;case 3:c.y=j.height}}else{if(b==4){c.x=d.x;c.y=d.y;c.width=d.width;c.height=1;switch(i){case 2:c.x=d.x;break;case 3:c.x=d.x;break;case 1:var l=d.x;if(2==h){l+=d.width}c.x=l}switch(h){case 2:c.y=d.y;c.height=d.height;c.width=1;break;case 1:c.y=d.y+d.height;break;case 3:c.y=d.y}}else{if(b==1){}}}$telerik.$(a).css({"width":c.width,"height":c.height,"left":c.x,"top":c.y,"opacity":0.1,"filter":"alpha(opacity=10)"}).show().animate({width:d.width,height:d.height,left:d.x,top:d.y,opacity:1},500,null,g)};$telerik.$.fx.prototype.oldstep=$telerik.$.fx.prototype.step;$telerik.$.fx.prototype.step=function(a){if(this.prop=="left"||this.prop=="top"){if(this.elem.getAttribute("paused")){if(!this.elem.getAttribute("elapsedTime")){var b=(+new Date)-this.startTime;this.elem.setAttribute("elapsedTime",b)}return true}if(this.elem.getAttribute("elapsedTime")){this.startTime=(+new Date)-this.elem.getAttribute("elapsedTime");this.elem.removeAttribute("elapsedTime")}}return this.oldstep(a)};Telerik.Web.UI.Animations.jMove=function(a,b,c,d,e){this._owner=a;this._element=b;this._duration=c;this._horizontal=(typeof(d)=="undefined"||d==null)?0:d;this._vertical=(typeof(e)=="undefined"||e==null)?0:e;this._events=null;this._animationEndedDelegate=null;this._isPlaying=false;this._isPaused=false;this._isCyclic=false};Telerik.Web.UI.Animations.jMove.prototype={initialize:function(){this._animationEndedDelegate=Function.createDelegate(this,this._animationEnded)},dispose:function(){this._getAnimationQuery().stop(true,false);this._owner=null;this._element=null;this._events=null;this._animationEndedDelegate=null},get_vertical:function(){return this._vertical},set_vertical:function(a){this._vertical=a},get_horizontal:function(){return this._horizontal},set_horizontal:function(a){this._horizontal=a},get_isPlaying:function(){return this._isPlaying},get_isCyclic:function(){return this._isCyclic},set_isCyclic:function(a){this._isCyclic=a},get_isActive:function(){return true},get_events:function(){if(!this._events){this._events=new Sys.EventHandlerList()}return this._events},play:function(a){var b=this._element;var c=b.getAttribute("paused");b.removeAttribute("paused");if(!(c&&b.getAttribute("elapsedTime"))){var d=this._owner;var e=d.get_frameDuration();if(this._isPaused&&this._isCyclic&&(e>0&&!a)&&d._setAnimationTimeout){d._setAnimationTimeout(e)}else{var f=this._animationStarted();if(f!=false){var g=(isNaN(parseInt(this._vertical)))?this._horizontal:this._vertical;this._playAnimation(g)}}}this._isPlaying=true;this._isPaused=false},stop:function(){this._getAnimationQuery().stop(false,true);this._isPlaying=false},pause:function(){if(this._isPlaying){this._element.setAttribute("paused",true)}this._isPlaying=false;this._isPaused=true},add_started:function(a){this.get_events().addHandler("started",a)},remove_started:function(a){this.get_events().removeHandler("started",a)},add_ended:function(a){this.get_events().addHandler("ended",a)},remove_ended:function(a){this.get_events().removeHandler("ended",a)},_getAnimationQuery:function(){return $telerik.$(this._element)},_playAnimation:function(a){var b=this._getAnimationQuery();var c=this._getAnimatedStyleProperty();var d={queue:true};d[c]=a;b.stop(true,!this._isCyclic).animate(d,this._duration,null,this._animationEndedDelegate)},_getAnimatedStyleProperty:function(){return(isNaN(parseInt(this._vertical)))?"left":"top"},_getPosition:function(){var a=this._element;var b=this._getAnimatedStyleProperty();return a.style[b]},_animationStarted:function(){var a=new Sys.CancelEventArgs();this._raiseEvent("started",a);return!a.get_cancel()},_animationEnded:function(){this._getAnimationQuery().css("opacity","1");this._isPlaying=false;this._raiseEvent("ended",Sys.EventArgs.Empty)},_raiseEvent:function(a,b){var c=this.get_events().getHandler(a);if(c){if(!b){b=Sys.EventArgs.Empty}c(this,b)}}};Telerik.Web.UI.Animations.jMove.registerClass("Telerik.Web.UI.Animations.jMove",null,Sys.IDisposable);
/* RadToolTip */
Type.registerNamespace("Telerik.Web.UI");Telerik.Web.UI.RadToolTipControllerClass=function(){this._tooltipToShow=null;this._activeToolTip=null;this._registerGlobalBodyEventHandlers()};Telerik.Web.UI.RadToolTipControllerClass.prototype={_registerGlobalBodyEventHandlers:function(){var a=Function.createDelegate(this,function(e){if(e.keyCode==27){if(this._activeToolTip&&!this._activeToolTip.isModal()){this._hideCurrentToolTipNoAnimation()}}});$addHandler(document.body,"keydown",a);var b=Function.createDelegate(this,function(e){this._hideOnBodyClick(e)});$addHandler(document.body,"click",b);Sys.Application.add_unload(function(){$removeHandler(document.body,"keydown",a);$removeHandler(document.body,"click",b)})},_hideOnBodyClick:function(e){var a=false;if(this._activeToolTip!=null&&!this._activeToolTip.isModal()){var b=this._activeToolTip;if($telerik.isMouseOverElementEx(b._tableElement,e)){return}a=this._activeToolTip._hideIfNotManualCloseOrFromCode()}if(a){this._activeToolTip=null}},_cancelLastShowRequest:function(){if(this._tooltipToShow){var a=this._tooltipToShow;this._tooltipToShow=null;a.cancelShowDelay()}},_hideCurrentToolTipNoAnimation:function(){this._cancelLastShowRequest();if(this._activeToolTip!=null){this._activeToolTip._hideNoAnimation()}this._activeToolTip=null},requestShow:function(a){this._cancelLastShowRequest();var b=this._activeToolTip;if(b==a){return}else{if(b){b._hideIfNotManualCloseOrFromCode()}}this._tooltipToShow=a},cancelSpecificShowRequest:function(a){if(this._tooltipToShow==a){this._cancelLastShowRequest()}},showTooltip:function(a){if(!a||a.isVisible()){return}this._cancelLastShowRequest();this.set_activeToolTip(a);a.show()},notifyToolTipClosed:function(a){if(this._activeToolTip==a){this._activeToolTip=null}},set_activeToolTip:function(a){if(a!=this._activeToolTip){this._hideCurrentToolTipNoAnimation()}this._activeToolTip=a},get_activeToolTip:function(){return this._activeToolTip},getInstance:function(){return this}};Telerik.Web.UI.RadToolTipControllerClass.registerClass("Telerik.Web.UI.RadToolTipControllerClass",null);if(!Telerik.Web.UI.RadToolTipController){Telerik.Web.UI.RadToolTipController=new Telerik.Web.UI.RadToolTipControllerClass()}Type.registerNamespace("Telerik.Web.UI");Telerik.Web.UI.RadToolTip=function(a){Telerik.Web.UI.RadToolTip.initializeBase(this,[a]);this._offsetX=0;this._offsetY=6;this._position=Telerik.Web.UI.ToolTipPosition.BottomCenter;this._horizontalPosition=null;this._verticalPosition=null;this._targetControlID=null;this._serverTargetControlID=null;this._serverValue="";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._modal=false;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.Default;this._showEvent=Telerik.Web.UI.ToolTipShowEvent.OnMouseOver;this._hideEvent=Telerik.Web.UI.ToolTipHideEvent.Default;this._visibleOnPageLoad=false;this._sticky=false;this._manualClose=false;this._mouseTrailing=false;this._showCallout=true;this._renderInPageRoot=false;this._showDelayRef=null;this._autoCloseRef=null;this._showDelay=400;this._autoCloseDelay=3000;this._hideDelay=300;this._animation=Telerik.Web.UI.ToolTipAnimation.None;this._tooltipAnimation=null;this._zIndex=8000};Telerik.Web.UI.RadToolTip.getCurrent=function(){var a=Telerik.Web.UI.RadToolTipController.getInstance();if(!a){return null}return a.get_activeToolTip()};Telerik.Web.UI.RadToolTip.prototype={get_zIndex:function(){return this._zIndex},set_zIndex:function(a){var b=parseInt(a);if(isNaN(a)){return}if(this._zIndex!=a){this._zIndex=a}},initialize:function(){Telerik.Web.UI.RadToolTip.callBaseMethod(this,"initialize");this.set_position(this._position);var a=this.get_targetControl();if(a!=null){var b=a.getAttribute("_rfddecoratedID");if(b){this.set_targetControl($get(b))}}var c=this.get_text();if(this._targetControl&&!c){c=this._targetControl.getAttribute("title");if(c){this._targetControl.removeAttribute("title")}this._text=c}var d=$telerik.getCurrentStyle(this.get_element(),"zIndex");if(null!=d){this.set_zIndex(d)}if(this._visibleOnPageLoad){setTimeout(Function.createDelegate(this,function(){this.show()}),0)}},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){$clearHandlers(this._closeLink);this._closeLinkHandler=null}if(this._popupElement){var a=this.get_id();if(a){var b=$get(a);if(b){b.appendChild(this._popupElement)}}}Telerik.Web.UI.RadToolTip.callBaseMethod(this,"dispose")},isCreated:function(){return this._popupElement!=null},get_leaveTargetAndToolTip:function(){return this.isHideEventEnabled(Telerik.Web.UI.ToolTipHideEvent.LeaveTargetAndToolTip)},isHideEventEnabled:function(a){return a&this._hideEvent},hide:function(){this._hideUnconditionally()},_hideIfNotManualCloseOrFromCode:function(){var a=this.isHideEventEnabled(Telerik.Web.UI.ToolTipHideEvent.FromCode);var b=this.get_manualClose();if(b||a){return false}this._hideUnconditionally();return true},_hideUnconditionally:function(){if(!this.isVisible()){return}this._hide()},_hideNoAnimation:function(){this._hide(false)},_hide:function(a){if(this._animation!=Telerik.Web.UI.ToolTipAnimation.None){$telerik.$(this._popupElement).stop()}this.cancelHideDelay();this.cancelShowDelay();this.cancelAutoCloseDelay();var b=new Sys.CancelEventArgs();this.raiseEvent("beforeHide",b);if(b.get_cancel()){return}if(this._animation!=Telerik.Web.UI.ToolTipAnimation.None){this._calloutElement.style.display="none";var c=Function.createDelegate(this,this._afterHide);$telerik.$(this._popupElement).fadeOut(500,c)}else{this._afterHide()}},_afterHide:function(){try{if(this._popupBehavior){this._popupBehavior.hide();this._popupBehavior.pin(false)}}catch(ex){}this._getToolTipController().notifyToolTipClosed(this);this.raiseEvent("hide");this._registerPopupHandlers(false)},clone:function(a,b){if(!a){alert("clone error: No target element specified");return}var c=this._getEventsParameter();var d=this._getPropertiesParameter();d["targetControlID"]=a.getAttribute("id");if(!d["targetControlID"]){d["targetControl"]=a}var e=document.createElement("SPAN");if(b){e.setAttribute("id",b)}var f=$create(Telerik.Web.UI.RadToolTip,d,c,null,e);return f},show:function(){this._createUI();var a=new Sys.CancelEventArgs();this.raiseEvent("beforeShow",a);if(a.get_cancel()){return}if($telerik.isIE6){var b=this;window.setTimeout(function(){b._registerPopupHandlers(true)},200)}else{this._registerPopupHandlers(true)}this._popupBehavior.pin(false);window.setTimeout(Function.createDelegate(this,function(){this._getToolTipController().set_activeToolTip(this);if(this._animation==Telerik.Web.UI.ToolTipAnimation.None){this._show();this._afterShow()}else{this._playAnimation()}}),0)},updateLocation:function(){this._show()},showLoadingMessage:function(a){var b=this._getFullSkinName();var c="rtLoading";if(a){Sys.UI.DomElement.addCssClass(this._contentCell,b);Sys.UI.DomElement.addCssClass(this._contentCell,c)}else{Sys.UI.DomElement.removeCssClass(this._contentCell,b);Sys.UI.DomElement.removeCssClass(this._contentCell,c)}},isModal:function(){return this._modal},set_contentElement:function(a){this._contentCell.innerHTML="";if(a.parentNode&&a.parentNode.removeChild){a.parentNode.removeChild(a)}this._contentCell.appendChild(a);a.style.display="";this._contentElement=a;this._setOverflow();this.showLoadingMessage(false)},get_contentElement:function(){return this._contentElement},set_content:function(a){this._text=a;if(this.isCreated()){var b=document.createElement("DIV");b.innerHTML=a;this.set_contentElement(b)}},get_content:function(){return this._contentElement?this._contentElement.innerHTML:""},cancelHideDelay:function(){if(this._hideDelayRef){window.clearTimeout(this._hideDelayRef);this._hideDelayRef=0}},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.get_manualClose()||this.get_sticky()){return}if(this._autoCloseDelay){this._autoCloseRef=window.setTimeout(Function.createDelegate(this,function(){this._hideIfNotManualCloseOrFromCode()}),this._autoCloseDelay)}},_resetShowDelay:function(){this.cancelShowDelay();var a=Function.createDelegate(this,function(){this._getToolTipController().showTooltip(this);this.cancelShowDelay()});this._showDelayRef=window.setTimeout(a,this._showDelay)},_resetHideDelay:function(){this.cancelHideDelay();if(this._hideDelay>0){this._hideDelayRef=window.setTimeout(Function.createDelegate(this,function(){this._hideIfNotManualCloseOrFromCode()}),this._hideDelay)}else{this._hideIfNotManualCloseOrFromCode()}},_show:function(){var a=null;try{a=this.getToolTipBounds()}catch(e){var b=this;window.setTimeout(function(){b._addToolTipToDocument()},10);return}this._setPopupVisible(a.x,a.y)},_afterShow:function(){this._popupBehavior.pin(this._isRelativeToBrowserWindow());this._resetAutoCloseDelay();this._adjustCallout();this.raiseEvent("show")},_isRelativeToBrowserWindow:function(){if(!this._targetControl||this._relativeTo==Telerik.Web.UI.ToolTipRelativeDisplay.BrowserWindow){return true}return false},_playAnimation:function(){var c=Function.createDelegate(this,function(){var a=this.getToolTipBounds();this._setPopupVisible(a.x,a.y);var b=$telerik.getBounds(this._tableElement);$telerik.$(this._popupElement).hide();return b});var d=c();var e=Function.createDelegate(this,function(){if(this._isRelativeToBrowserWindow()){this._documentOverflowX=document.documentElement.style.overflowX;document.documentElement.style.overflowX="hidden"}if(this.get_showCallout()&&this._calloutElement){this._calloutElement.style.display="none"}});var f=Function.createDelegate(this,function(){this._popupElement.style.filter="";if(this.get_showCallout()&&this._calloutElement){this._calloutElement.style.display=""}this._show();if(null!=this._documentOverflowX){document.documentElement.style.overflowX=this._documentOverflowX;this._documentOverflowX=null}this._afterShow()});var g=this._popupElement;var h=this._animation;var i=""+this._position;var j=this._isRelativeToBrowserWindow();if(j&&this._verticalPosition!=2){vp=(this._verticalPosition==1?3:1);i=parseInt(vp+""+this._horizontalPosition)}var k=j?document.documentElement:this._targetControl;var l=k?$telerik.getBounds(k):new Sys.UI.Bounds(1,1,1,1);window.setTimeout(function(){Telerik.Web.UI.Animations.playJQueryAnimation(g,h,l,d,i,e,f)},0)},_makeModal:function(b){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(!b){return}this._onModalShowHandler=function(a){if(!a._modalExtender){a._modalExtender=new Telerik.Web.UI.ModalExtender(a._popupElement)}a._modalExtender.show()};this.add_show(this._onModalShowHandler);this._onModalCloseHandler=function(a){if(a._modalExtender){a._modalExtender.hide()}};this.add_hide(this._onModalCloseHandler)},_onMouseOver:function(e){this._logMousePosition(e);this._resetShowDelay();this._getToolTipController().requestShow(this)},_onMouseMove:function(e){this._logMousePosition(e);this._resetAutoCloseDelay();if(this._mouseTrailing&&this.isVisible()){this._show()}},_onMouseOut:function(e){if(!this.isVisible()){this.cancelShowDelay();return}var a=$telerik.isMouseOverElementEx(this._targetControl,e);if(!a){this.cancelShowDelay();if(!this.get_sticky()){this._resetHideDelay()}}},_onClick:function(e){this._onMouseOver(e);return $telerik.cancelRawEvent(e)},_onRightClick:function(e){this._onMouseOver(e);return $telerik.cancelRawEvent(e)},_registerMouseHandlers:function(a,b){if(true==b){var c={};var d=Telerik.Web.UI.ToolTipShowEvent;if(this._showEvent==d.OnMouseOver){this._onMouseOverDelegate=Function.createDelegate(this,this._onMouseOver);this._onMouseMoveDelegate=Function.createDelegate(this,this._onMouseMove);this._onMouseOutDelegate=Function.createDelegate(this,this._onMouseOut);$telerik.addExternalHandler(a,"mouseover",this._onMouseOverDelegate);$telerik.addExternalHandler(a,"mousemove",this._onMouseMoveDelegate);$telerik.addExternalHandler(a,"mouseout",this._onMouseOutDelegate)}if(this._showEvent==d.OnClick){this._onClickDelegate=Function.createDelegate(this,this._onClick);$telerik.addExternalHandler(a,"click",this._onClickDelegate)}if(this._showEvent==d.OnRightClick){this._onRightClickDelegate=Function.createDelegate(this,this._onRightClick);$telerik.addExternalHandler(a,"contextmenu",this._onRightClickDelegate)}if(this._showEvent==d.OnFocus){this._onFocusDelegate=Function.createDelegate(this,this._onMouseOver);this._onBlurDelegate=Function.createDelegate(this,this._onMouseOut);$telerik.addExternalHandler(a,"focus",this._onFocusDelegate);$telerik.addExternalHandler(a,"blur",this._onBlurDelegate)}}else{if(a){var f=[["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<f.length;i++){var g=f[i];try{if(null!=g[1]){$telerik.removeExternalHandler(a,g[0],g[1])}}catch(e){}}this._onMouseOverDelegate=null;this._onMouseMoveDelegate=null;this._onMouseOutDelegate=null;this._onClickDelegate=null;this._onRightClickDelegate=null;this._onFocusDelegate=null;this._onBlurDelegate=null}}},_registerPopupHandlers:function(a){if(true==a){if(this.get_sticky()){this._popupStickyHandler=Function.createDelegate(this,this._onPopupStickyMouseOut);$addHandler(this._tableElement,"mouseout",this._popupStickyHandler)}else{if(this.get_leaveTargetAndToolTip()){this._popupEnterHandler=Function.createDelegate(this,this._onPopupEnterToolTip);$addHandler(this._tableElement,"mouseover",this._popupEnterHandler);this._popupLeaveHandler=Function.createDelegate(this,this._onPopupLeaveToolTip);$addHandler(this._tableElement,"mouseout",this._popupLeaveHandler)}}}else{if(this._popupStickyHandler||this._popupEnterHandler||this._popupLeaveHandler){$clearHandlers(this._tableElement);this._popupStickyHandler=null;this._popupEnterHandler=null;this._popupLeaveHandler=null}}},_onPopupStickyMouseOut:function(e){var a=$telerik.isMouseOverElementEx(this._tableElement,e);if(!a){this._hideIfNotManualCloseOrFromCode()}},_onPopupEnterToolTip:function(e){var a=$telerik.isMouseOverElementEx(this._tableElement,e);if(a){this.cancelHideDelay();this.cancelAutoCloseDelay()}},_onPopupLeaveToolTip:function(e){var a=$telerik.isMouseOverElementEx(this._tableElement,e);if(!a){this._resetHideDelay();this._resetAutoCloseDelay()}},_getPropertiesParameter:function(){if(!this._propertiesParameter){var a={};var b=Telerik.Web.UI.RadToolTip.prototype;for(var c in b){var d=this[c];if(typeof(d)=="function"&&c.indexOf("get_")==0){var e=c.substring(4);if(null==this["set_"+e]){continue}var f=d.call(this);if(null==f){continue}a[e]=f;if(e=="skin"){break}}}this._propertiesParameter=a}var g=this._cloneObject(this._propertiesParameter);return g},_cloneObject:function(a){var b={};for(var c in a){b[c]=a[c]}return b},_getEventsParameter:function(){if(!this._eventsParameter){var a={};var b=this.get_events();var c=["beforeShow","show","beforeHide","hide"];for(var i=0;i<c.length;i++){var d=c[i];var e=b.getHandler(d);if(e&&typeof(eval(e))=="function"){a[d]=eval(e)}}this._eventsParameter=a}return this._eventsParameter},_getPosRelativeToMouse:function(a){var b=a.x;var c=a.y;var d=this._getMousePosition();var e=d.clientX;var f=d.clientY;var g=$telerik.standardsMode;if(!$telerik.isIE&&document.compatMode!="CSS1Compat"){g=false}else{if($telerik.isSafari){g=false}}if(g){b-=$telerik.getCorrectScrollLeft(document.documentElement);c-=document.documentElement.scrollTop}else{b-=$telerik.getCorrectScrollLeft(document.body);c-=document.body.scrollTop}var h=e-b;var i=f-c;return{x:h,y:i}},_logMousePosition:function(e){if(!e){return}this._mouseX=e.clientX;this._mouseY=e.clientY},_getMousePosition:function(){var a={};a.clientX=this._mouseX;a.clientY=this._mouseY;return a},_getCalloutBounds:function(){var a={width:0,height:0,marginLeft:0,marginTop:0};if(this._showCallout&&this._calloutElement){a.marginLeft=parseInt($telerik.getCurrentStyle(this._calloutElement,"marginLeft"));a.marginTop=parseInt($telerik.getCurrentStyle(this._calloutElement,"marginTop"));if(isNaN(a.marginLeft)){a.marginLeft=0}if(isNaN(a.marginTop)){a.marginTop=0}var b=$telerik.getBounds(this._calloutElement);if(b){if(b.width){a.width=b.width}if(b.height){a.height=b.height}}}return a},_getBoundsRelativeToBrowser:function(a,b,c){var d=this._horizontalPosition;var e=this._verticalPosition;var x=0;var y=0;if(!c){c=$telerik.getClientBounds()}var f=$telerik.getScrollOffset(document.compatMode&&document.compatMode!="BackCompat"?document.documentElement:document.body);if("fixed"!=this._popupElement.style.position){x+=f.x;y+=f.y}switch(d){case 2:x+=-parseInt(a.width/2-c.width/2);x+=this._offsetX;break;case 3:x+=c.width;x-=a.width;x-=this._offsetX;break;case 1:default:x+=-a.width;x+=(-b.width-b.marginLeft);x+=this._offsetX;break}switch(e){case 2:y+=-parseInt((a.height-c.height)/2);break;case 1:y+=this._offsetY;break;case 3:default:y+=c.height;y-=this._offsetY;y-=a.height;break}return new Sys.UI.Bounds(x,y,a.width,a.height)},_getBoundsRelativeToElement:function(a,b,c){var d=this._horizontalPosition;var e=this._verticalPosition;var x=0;var y=0;if(!c){c=$telerik.getBounds(this._targetControl)}switch(d){case 2:x+=-parseInt(a.width/2-c.width/2);x+=this._offsetX;break;case 3:x+=c.width;x-=b.marginLeft;x+=this._offsetX;break;case 1:default:x+=-a.width;x+=(-b.width-b.marginLeft);x-=this._offsetX;break}switch(e){case 2:y+=-parseInt(a.height/2-c.height/2);y+=this._offsetY;break;case 1:y-=a.height;y-=b.height+b.marginTop;y-=this._offsetY;break;case 3:default:y+=c.height;y-=b.marginTop;y+=this._offsetY;break}return new Sys.UI.Bounds(x,y,a.width,a.height)},_getBoundsRelativeToMouse:function(a,b,c){var c=this._targetControl?$telerik.getBounds(this._targetControl):$telerik.getClientBounds();var d=this._getPosRelativeToMouse(c);if(isNaN(d.x)){d.x=0;d.y=0}else{c.width=0;c.height=0}var e=this._getBoundsRelativeToElement(a,b,c);var f=new Sys.UI.Bounds(d.x+e.x,d.y+e.y,a.width,a.height);return f},getToolTipBounds:function(){var a=this._popupElement;var b=(a.style.display=="none")?true:false;if(b){a.style.visibility="hidden"}a.style.display="";this._setOverflow();if(this._firstShow!=true){this._fixIeHeight(this._tableElement,this._height);this._firstShow=true}var c=this._isRelativeToBrowserWindow()?document.documentElement:this._targetControl;this._popupBehavior.set_parentElement(c);var d=$telerik.getBounds(this._tableElement);var e=this._getCalloutBounds();if(b){this._popupElement.style.display="none";a.style.visibility=""}var f=Telerik.Web.UI.ToolTipRelativeDisplay;var g=Telerik.Web.UI.ToolTipShowEvent;var h=null;if(this._relativeTo==f.BrowserWindow){h=this._getBoundsRelativeToBrowser(d,e)}else{if(!this._targetControl&&this._showEvent==g.FromCode){h=this._getBoundsRelativeToBrowser(d,e)}else{if(this._targetControl&&this._showEvent==g.FromCode){h=this._getBoundsRelativeToElement(d,e)}else{if((this._mouseTrailing||this._relativeTo==f.Mouse)){h=this._getBoundsRelativeToMouse(d,e)}else{if(this._relativeTo==f.Element){h=this._getBoundsRelativeToElement(d,e)}}}}}return h},_fixIeHeight:function(a,b){if("CSS1Compat"==document.compatMode){var c=(a.offsetHeight-parseInt(b));if(c>0){var d=(parseInt(a.style.height)-c);if(d>0){a.style.height=d+"px"}}}},_refreshTitle:function(){if(null==this._titleElement){return}this._titleElement.innerHTML=this._title;this._titleElement.style.display=(this._title)?"":"none"},_createManualCloseButton:function(a){if(this.get_manualClose()){var b=document.createElement("A");b.href="javascript: void(0);";b.className="rtCloseButton";this._closeLinkHandler=Function.createDelegate(this,function(e){this._hideUnconditionally();return $telerik.cancelRawEvent(e)});$addHandler(b,"click",this._closeLinkHandler);this._closeLink=b;var c=document.createElement("SPAN");c.innerHTML="Close";b.title="Close";b.appendChild(c);a.appendChild(b)}},_createUI:function(){if(!this._popupElement){var a=this.get_id();var b="RadToolTipWrapper_"+a;var c=document.createElement("DIV");c.id=b;var d=this.get_element();var e=d.parentNode?d:this._getDefaultParent();var f=$telerik.isRightToLeft(e);c.className=this._getFullSkinName()+(this.get_showCallout()?" rtVisibleCallout":"")+(f?" RadToolTip_"+this._skin+"_rtl":"");c.setAttribute("unselectable","on");this._popupElement=c;var g=document.createElement("DIV");g.className="rtCallout "+this._getCalloutPosition(this._position);g.innerHTML="&nbsp;";this._calloutElement=g;var h=document.createElement("TABLE");h.className="rtWrapper";h.style.width=this._width;h.style.height=this._height;this._tableElement=h;var k=[];if(f){k=["rtWrapperTopRight","rtWrapperTopCenter","rtWrapperTopLeft","rtWrapperRightMiddle","rtWrapperContent","rtWrapperLeftMiddle","rtWrapperBottomRight","rtWrapperBottomCenter","rtWrapperBottomLeft"]}else{k=["rtWrapperTopLeft","rtWrapperTopCenter","rtWrapperTopRight","rtWrapperLeftMiddle","rtWrapperContent","rtWrapperRightMiddle","rtWrapperBottomLeft","rtWrapperBottomCenter","rtWrapperBottomRight"]}var l=0;for(var i=1;i<=3;i++){var m=h.insertRow(-1);for(var j=1;j<=3;j++){var n=m.insertCell(-1);n.innerHTML="&nbsp;";n.className=k[l];l++}}var o=h.rows[0].cells[1];o.innerHTML="";if(f){this._createManualCloseButton(o)}var p=document.createElement("DIV");p.className="rtTitlebar";p.style.display="none";this._titleElement=p;this._refreshTitle();o.appendChild(p);if(!f){this._createManualCloseButton(o)}var q=h.rows[1].cells[1];q.vAlign="top";q.innerHTML="";this._contentCell=q;var r=null;var r=null;if(this._text){this.set_content(this._text)}else{var s=this.get_id();if(s){r=$get(s)}if(r&&r.innerHTML){var t=this._transferNodeChildren(r);this.set_contentElement(t)}}c.appendChild(g);c.appendChild(h);this._popupElement.style.display="none";this._popupElement.style.position="absolute";this._addToolTipToDocument(r)}if(!this._popupBehavior){this._popupBehavior=$create(Telerik.Web.PopupBehavior,{"id":(new Date()-100)+"PopupBehavior","parentElement":this._targetControl},null,null,this._popupElement)}},_transferNodeChildren:function(a){if(!a){return null}var b=a.ownerDocument.createElement(a.tagName);var c=0;while(a.childNodes&&a.childNodes.length>c){var d=a.childNodes[c];if(this._clientStateFieldID&&d.id==this._clientStateFieldID){c=1;continue}a.removeChild(d);b.appendChild(d)}return b},_getDefaultParent:function(){var a=this._formID?document.getElementById(this._formID):null;if(!a){if(document.forms&&document.forms.length>0){a=document.forms[0]}else{a=document.body}}return a},_addToolTipToDocument:function(a){if(null!=a&&!this.get_renderInPageRoot()){a.parentNode.insertBefore(this._popupElement,a);return}var b=this._getDefaultParent();b.appendChild(this._popupElement)},_getParentByTagName:function(a,b){var c=a;b=b.toUpperCase();while(c.tagName.toUpperCase()!=b){c=c.parentNode;if(!c){break}}return c},_getFullSkinName:function(){return"RadToolTip_"+this._skin},_getUniqueString:function(){return""+(new Date()-100)},_getCalloutPosition:function(a){with(Telerik.Web.UI.ToolTipPosition){switch(a){case TopLeft:return"rtCalloutBottomRight";case TopCenter:return"rtCalloutBottomCenter";case TopRight:return"rtCalloutBottomLeft";case MiddleLeft:return"rtCalloutMiddleRight";case Center:return"rtCalloutCenter";case MiddleRight:return"rtCalloutMiddleLeft";case BottomLeft:return"rtCalloutTopRight";case BottomCenter:return"rtCalloutTopCenter";case BottomRight:return"rtCalloutTopLeft"}}return""},_getHorizontalSide:function(a){return parseInt((a+"").charAt(1))},_getVerticalSide:function(a){return parseInt((a+"").charAt(0))},_setPopupVisible:function(x,y){this._popupElement.style.zIndex=this._zIndex;this._popupBehavior.set_x(x);this._popupBehavior.set_y(y);this._popupBehavior.show();if(!this.get_width()){this._popupElement.style.width=""}},_setOverflow:function(){var a=this._contentScrolling;if(a==Telerik.Web.UI.ToolTipScrolling.Default){return}var b=this._contentElement;if(!b||b.parentNode!=this._contentCell||((!b.document||!b.document.documentElement)&&$telerik.isIE)){return}var c="";with(Telerik.Web.UI.ToolTipScrolling){switch(a){case Auto:c="auto";break;case None:c="hidden";break;case X:c="";b.style.overflowX="scroll";b.style.overflowY="hidden";break;case Y:c="";b.style.overflowY="scroll";b.style.overflowX="hidden";break;case Both:c="scroll"}}var d=b.parentNode;b.style.display="none";var e=$telerik.getBounds(d);b.style.width=e.width+"px";b.style.height=e.height+"px";if(!b.style.overflowX&&!b.style.overflowY){b.style.overflow=c}b.style.display=""},_getLeftOffset:function(){var a=Telerik.Web.UI.ToolTipPosition;if(a.Left==this._position){return(-1*this._targetControl.offsetWidth)+this._offsetX}else{if(a.Right==this._position){return this._targetControl.offsetWidth+this._offsetX}else{return this._offsetX}}},_getTopOffset:function(){var a;var b=Telerik.Web.UI.ToolTipPosition;if(b.Top==this._position){a=(-1*this._targetControl.offsetHeight)+this._offsetY}else{if(b.Bottom==this._position){a=this._targetControl.offsetHeight+this._offsetY}else{a=this._offsetY}}return a},_adjustCallout:function(){if(this.get_showCallout()&&this.get_position()!=22){var a=this.get_targetControl();if(!a){return}var b=$telerik.getBounds(a);var c=this.get_popupElement();var d=$telerik.getBounds(c);var e=c.getElementsByTagName("DIV")[0];e.style.left="";e.style.top="";var f=$telerik.getBounds(e);var g=this.get_position();var h=false;e.style.visibility="hidden";if(b.x>f.x){h=(g==13||g==23||g==33)}else{h=(g==11||g==21||g==31)}if(h){return}if(b.y>f.y){h=(g==32)}else{h=(g==12)}if(h){return}e.style.visibility="visible";var i=null;var j=null;if(this._verticalPosition==2){if(b.y<f.y&&(b.y+b.height)>f.y){return}var k=d.y-b.y;j=(Math.abs(k)+Math.floor(e.offsetHeight))}else{if(b.x<f.x&&(b.x+b.width)>f.x){return}var k=d.x-b.x;var l=this._horizontalPosition;if((l==3&&k<0)||(l==1&&k>0)||l==2){i=(Math.abs(k)+Math.floor(e.offsetWidth))}}if(j){e.style.top=j+"px"}if(i){e.style.left=i+"px"}}},isVisible:function(){var a=this._popupElement;return(a&&a.style.display!="none")},get_targetControlID:function(){return this._targetControlID},set_targetControlID:function(a){if(this._targetControlID!=a){this._targetControlID=a;var b=(this._targetControlID?$get(this._targetControlID):null);this.set_targetControl(b)}},get_serverTargetControlID:function(){return this._serverTargetControlID},set_serverTargetControlID:function(a){this._serverTargetControlID=a},get_serverValue:function(){return this._serverValue},set_serverValue:function(a){this._serverValue=a},get_value:function(){return this.get_serverValue()},set_value:function(a){this.set_serverValue(a)},get_formID:function(){return this._formID},set_formID:function(a){if(this._formID!=a){this._formID=a}},get_position:function(){return this._position},set_position:function(a){if(this._position!=a){this._position=a;if(this._calloutElement){this._calloutElement.className="rtCallout "+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(a){if(this._offsetX!=a){this._offsetX=a}},get_offsetY:function(){return this._offsetY},set_offsetY:function(a){if(this._offsetY!=a){this._offsetY=a}},get_title:function(){return this._title},set_title:function(a){if(this._title!=a){this._title=a}this._refreshTitle()},get_text:function(){return this._text},set_text:function(a){if(this._text!=a){this._text=a}if(this.isCreated()){this.set_content(this._text)}},get_width:function(){return this._width},set_width:function(a){if(this._width!=a){this._width=a}},get_height:function(){return this._height},set_height:function(a){if(this._height!=a){this._height=a}},get_relativeTo:function(){return this._relativeTo},set_relativeTo:function(a){if(this._relativeTo!=a){this._relativeTo=a}},get_contentScrolling:function(){return this._contentScrolling},set_contentScrolling:function(a){if(this._contentScrolling!=a){this._contentScrolling=a}},get_sticky:function(){return this.isHideEventEnabled(Telerik.Web.UI.ToolTipHideEvent.LeaveToolTip)},set_sticky:function(a){if(this._sticky!=a){this._sticky=a}if(this._sticky){this.set_hideEvent(Telerik.Web.UI.ToolTipHideEvent.LeaveToolTip)}},get_manualClose:function(){return this.isHideEventEnabled(Telerik.Web.UI.ToolTipHideEvent.ManualClose)},set_manualClose:function(a){if(this._manualClose!=a){this._manualClose=a}if(this._manualClose){this.set_hideEvent(Telerik.Web.UI.ToolTipHideEvent.ManualClose)}},get_showCallout:function(){return this._showCallout},set_showCallout:function(a){if(this._showCallout!=a){this._showCallout=a}},get_renderInPageRoot:function(){return this._renderInPageRoot},set_renderInPageRoot:function(a){if(this._renderInPageRoot!=a){this._renderInPageRoot=a}},get_showDelay:function(){return this._showDelay},set_showDelay:function(a){if(this._showDelay!=a){this._showDelay=a}},get_autoCloseDelay:function(){return this._autoCloseDelay},set_autoCloseDelay:function(a){if(this._autoCloseDelay!=a){this._autoCloseDelay=a}},get_hideDelay:function(){return this._hideDelay},set_hideDelay:function(a){if(this._hideDelay!=a){this._hideDelay=a}},get_mouseTrailing:function(){return this._mouseTrailing},set_mouseTrailing:function(a){if(this._mouseTrailing!=a){this._mouseTrailing=a;if(true==a){this.set_relativeTo(Telerik.Web.UI.ToolTipRelativeDisplay.Mouse)}}},get_visibleOnPageLoad:function(){return this._visibleOnPageLoad},set_visibleOnPageLoad:function(a){if(this._visibleOnPageLoad!=a){this._visibleOnPageLoad=a}},get_animation:function(){return this._animation},set_animation:function(a){if(this._animation!=a){this._animation=a}},get_showEvent:function(){return this._showEvent},set_showEvent:function(a){if(this._showEvent!=a){this._showEvent=a}},get_hideEvent:function(){return this._hideEvent},set_hideEvent:function(a){if(this._hideEvent!=a){this._hideEvent=a}},get_modal:function(){return this._modal},set_modal:function(a){if(this._modal!=a){this._modal=a}this._makeModal(this._modal)},get_skin:function(){return this._skin},set_skin:function(a){if(a&&this._skin!=a){this._skin=a}},get_targetControl:function(){return this._targetControl},set_targetControl:function(a){if(this._targetControl!=a){if(this._targetControl&&(this._targetControl!=a)){this._registerMouseHandlers(this._targetControl,false)}this._targetControl=a;var b=this._targetControl;if(b){if($telerik.isIE&&b){b.removeAttribute("alt")}this._registerMouseHandlers(b,true);if(this._popupBehavior){this._popupBehavior.set_parentElement(b)}}}},get_popupElement:function(){return this._popupElement},add_beforeShow:function(a){this.get_events().addHandler("beforeShow",a)},remove_beforeShow:function(a){this.get_events().removeHandler("beforeShow",a)},add_show:function(a){this.get_events().addHandler("show",a)},remove_show:function(a){this.get_events().removeHandler("show",a)},add_beforeHide:function(a){this.get_events().addHandler("beforeHide",a)},remove_beforeHide:function(a){this.get_events().removeHandler("beforeHide",a)},add_hide:function(a){this.get_events().addHandler("hide",a)},remove_hide:function(a){this.get_events().removeHandler("hide",a)}};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,BrowserWindow:2};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,Default:5};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);Telerik.Web.UI.ToolTipHideEvent=function(){throw Error.invalidOperation();};Telerik.Web.UI.ToolTipHideEvent.prototype={Default:1,LeaveToolTip:2,ManualClose:4,LeaveTargetAndToolTip:8,FromCode:16};Telerik.Web.UI.ToolTipHideEvent.registerEnum("Telerik.Web.UI.ToolTipHideEvent",false);