(function(a,c,b,y){var g=".",j="rmGroup",q="rmMultiColumn",r="rmMultiGroup",i="rmGroupColumn",h="rmFirstGroupColumn",t="rmScrollWrap",u="rmSlide",p="rmLevel",k="rmHorizontal",z="rmVertical",s="rmRootLink",m="rmImageOnly",o="rmLeftImage",x="rmToggle",l="rmIcon",w="rmText",d="rmContentTemplate",e="rmDisabled",f="div",v="span",n="img"; c.RadMenuItem=function(){c.RadMenuItem.initializeBase(this); }; c.RadMenuItem.prototype={_initialize:function(B,A){c.RadMenuItem.callBaseMethod(this,"_initialize",[B,A]); var C=this.get_menu(); this._groupSettings=new c.RadMenuItemGroupSettings(B.groupSettings||{},C.get_defaultGroupSettings()); this._initializeAnimation(); this._clearNavigateUrl(); this._updateTextElementClass(); this._renderAccessKey(); this._originalExpandMode=this.get_expandMode(); },_initializeRenderedItem:function(){c.RadMenuItem.callBaseMethod(this,"_initializeRenderedItem"); this._initializeAnimation(); this._clearNavigateUrl(); this._updateTextElementClass(); this._updateLinkClass(); this._renderAccessKey(); c.RadMenu._updateChildrenPositionClass(this.get_parent()); c.RadMenu._updateChildrenPositionClass(this); },_dispose:function(){c.BaseMenuItem.callBaseMethod(this,"_dispose"); if(this._collapseAnimationEndedDelegate){if(this._slide){this._slide.remove_collapseAnimationEnded(this._collapseAnimationEndedDelegate); }this._collapseAnimationEndedDelegate=null; }if(this._expandAnimationEndedDelegate){if(this._slide){this._slide.remove_collapseAnimationEnded(this._expandAnimationEndedDelegate); }this._expandAnimationEndedDelegate=null; }if(this._slide){this._slide.dispose(); this._slide=null; }if(this._scroller){this._scroller.dispose(); this._scroller=null; }this._disposeDomElement(); this._clearTimeout(); },get_view:function(){return this._view; },withView:function(A,B){if(!this.get_view()){if(this.get_menu()){this._view=c.RadMenu.GetView(this.get_menu(),this); }else{if(B){return B(); }else{return; }}}return A(); },get_templateElement:function(){var A; if(!this._templateElement){A=this._getTemplateClassName(); this._templateElement=a(this.get_element()).children(f+g+A).get(0); }return this._templateElement; },get_childListElement:function(){if(!this._childListElement){var C=this._getSlideWrapElement(); if(C){var A=C,B=this._getScrollWrapElement(); if(B){A=B; }this._childListElement=$telerik.getFirstChildByTagName(A,"ul",0); }}return this._childListElement; },get_imageElement:function(){if(!this._imageElement){this._imageElement=a(this.get_linkElement()).children(g+o).get(0); }return this._imageElement; },get_textElement:function(){if(!this._textElement){this._textElement=a(this.get_linkElement()).children(g+w).get(0); }return this._textElement; },get_text:function(){var A=this; return A.withView(function(){return A.get_view().get_text(); },function(){return c.RadMenuItem.callBaseMethod(A,"get_text"); }); },set_text:function(B){var A=this; this.withView(function(){A.get_view().set_text(B); },function(){c.RadMenuItem.callBaseMethod(A,"set_text",[B]); }); if(this._state!=c.RadMenuItemState.Closed){this._clearWidth(); this._setWidth(this._getWidth()+"px"); }else{if(this._getParentFlow()==c.ItemFlow.Vertical){this._adjustSiblingsWidthOnShow=true; }}this._updateLinkClass(); },set_navigateUrl:function(B){var A=this; this._properties.setValue("navigateUrl",B,true); this.withView(function(){A.get_view().set_navigateUrl(B); }); this._clearNavigateUrl(); },get_groupSettings:function(){return this._groupSettings; },set_groupSettings:function(A){this._groupSettings=A; },get_hoveredImageUrl:function(){return this._properties.getValue("hoveredImageUrl",null); },set_hoveredImageUrl:function(A){this._properties.setValue("hoveredImageUrl",A,true); this._updateImageSrc(); },get_clickedImageUrl:function(){return this._properties.getValue("clickedImageUrl",null); },set_clickedImageUrl:function(A){this._properties.setValue("clickedImageUrl",A,true); this._updateImageSrc(); },get_selectedImageUrl:function(){return this._properties.getValue("selectedImageUrl",null); },set_selectedImageUrl:function(A){this._properties.setValue("selectedImageUrl",A,true); this._updateImageSrc(); },get_imageUrl:function(){if(this._imageUrl){return this._imageUrl; }this._imageUrl=this._properties.getValue("imageUrl",null); if(this._imageUrl){return this._imageUrl; }this._imageUrl=this._getCurrentImageUrl(); return this._imageUrl; },set_imageUrl:function(A){this._imageUrl=A; this._properties.setValue("imageUrl",A,true); if(!A){a(this.get_imageElement()).remove(); this._imageElement=null; return; }this._updateImageSrc(); },get_expandedImageUrl:function(){return this._properties.getValue("expandedImageUrl",null); },set_expandedImageUrl:function(A){this._properties.setValue("expandedImageUrl",A,true); this._updateImageSrc(); },get_disabledImageUrl:function(){return this._properties.getValue("disabledImageUrl",null); },set_disabledImageUrl:function(A){this._properties.setValue("disabledImageUrl",A,true); this._updateImageSrc(); },set_visible:function(H){var I=this.get_visible()!=H; if(!I){return; }c.RadMenuItem.callBaseMethod(this,"set_visible",[H]); var F=this._getParentFlow(),B=this.get_element(),D=this.get_linkElement(),G=this.get_textElement(),A=H?"":"none",C; if(F===c.ItemFlow.Vertical){this._adjustSiblingsWidthOnShow=true; }this._clearWidth(); if(D){C=D; }else{if(G){C=G; }}if(this.get_isSeparator()||this.get_templated()){C=B.childNodes[0]||B; }C.style.display=A; if(C!=B){if(this.get_visible()){B.style.cssText=this._styleCssText; }else{this._styleCssText=this.get_element().style.cssText; B.style.cssText="padding:0px;margin:0px;height:0px;overflow:hidden;"; }}if(F===c.ItemFlow.Vertical){if(!H){this._clearSiblingsWidth(); }var E=this.get_parent(); if(E.get_element().offsetWidth>0){c.RadMenu._adjustChildrenWidth(E); }}},scrollIntoView:function(){var K=this.get_parent(); if(!K){return; }var M=K._getScrollWrapElement(); if(!M){return; }var L=K._scroller; if(!L){return; }var D=(K._flow!==y&&K._flow!==null)?K._flow:K.get_groupSettings().get_flow(); var F=D==c.ItemFlow.Vertical; M[F?"scrollTop":"scrollLeft"]=0; var B=K.get_childListElement(); var I=F?"offsetTop":"offsetLeft"; var Q=F?"offsetHeight":"offsetWidth"; var A=a([K._scroller._decArrow,K._scroller._incArrow]); var C=F?A.first().height():A.first().width(); var E=F?A.last().height():A.last().width(); var O=-B[I]; var P=M[Q]-E; var N=O+M[Q]; var H=this.get_element()[I]; var J=this.get_element()[Q]; var G=H+J; if(HN-E){if(O-H>G-N){L.set_currentPosition(H-C); }else{L.set_currentPosition(H-P+J); }}},focusFirstChild:function(A){var D=this.get_items(); if(D.get_count()==0){return; }var C=D.getItem(0); var B=C; while(!C._canFocus()){C=C._getNextItem(); if(C==B){return; }}C._transferFocus(A||null); },focusLastChild:function(A){var C=this.get_items(); if(C.get_count()==0){return; }var B=C.getItem(C.get_count()-1); var D=B; while(!B._canFocus()){B=B._getPreviousItem(); if(B==D){return; }}B._transferFocus(A||null); },focusNextItem:function(A){var B=this._getNextItem(); while(!B._canFocus()){B=B._getNextItem(); }B._transferFocus(A||null); },focusPreviousItem:function(A){var B=this._getPreviousItem(); while(!B._canFocus()){B=B._getPreviousItem(); }B._transferFocus(A||null); },_render:function(A){var B=this,C=this.withView(function(){return B.get_view(); }); if(this._renderedClientTemplate){this._renderClientTemplate(A); }else{A[A.length]="
  • "; C._renderLink(A); C._renderLinkContent(A); C._renderLinkEndTag(A); this._renderChildItems(A); A[A.length]="
  • "; }},_renderLinkContent:function(A){var C=(this.get_menu().get_showToggleHandle()&&(this.get_items().get_count()>0||this.get_expandMode()===c.MenuItemExpandMode.WebService)),B=C; if(this.get_imageUrl()||this.get_enableImageSprite()){B=true; this._renderImage(A); }if(this.get_menu()._enableItemImagesPreloading){this._renderPreloadImages(A); }this.get_view()._renderTextElement(A,B); if(C){this._renderToggleButton(A); }},_renderClientTemplate:function(A){A[A.length]="
  • "; A[A.length]="
    "; A[A.length]=this._renderedClientTemplate; A[A.length]="
  • "; },_renderTextElement:function(A){A[A.length]=""; A[A.length]=this.get_text(); A[A.length]=""; },_renderToggleButton:function(A){A[A.length]=""; A[A.length]="Toggle"; A[A.length]=""; },_renderAccessKey:function(){if(this.get_isSeparator()||this.get_templated()){return; }var C=this.get_linkElement(),A; if(!C){return; }A=C.getAttribute("accessKey"); if(!A){return; }var E=this.get_textElement()||C,D=E.innerHTML,B=D.toLowerCase().indexOf(A.toLowerCase()); if(D.toLowerCase().indexOf("")!=-1){return; }if(B==-1){return; }E.innerHTML=D.substr(0,B)+""+D.substr(B,1)+""+D.substr(B+1,D.length); },_renderImage:function(B){var A=this.get_enableImageSprite(),C=A?"span":"img",E=A?" ":" alt='' src='"+this.get_imageUrl()+"' ",D=new b(B); D.append("<",C,E).append("class='",o,"' "); if(!this.get_enabled()){D.append("disabled='disabled'"); }if(A){D.append(">"); }else{D.append("/>"); }return B; },_renderPreloadImages:function(){var B=[this.get_imageUrl(),this.get_hoveredImageUrl(),this.get_expandedImageUrl(),this.get_disabledImageUrl(),this.get_clickedImageUrl(),this.get_selectedImageUrl()]; for(var A=0; A"); if(this._getShouldRenderScrollWrap()){this._renderScrollWrap(D); }var C=this._getGroupCssClass(); if(this._hasMultipleColumns()){this._renderColumns(D,B,C,E); }else{this._renderChildGroup(D,B,C,E); }if(this._getShouldRenderScrollWrap()){D.append(""); }D.append(""); },_renderScrollWrap:function(D){D.append("
    "); },_renderColumns:function(I,F,D,J){I.append("
      "); var E=this.get_groupSettings(); var K=E.get_repeatColumns(); var H=J?0:Math.min(K,F.length); var L=E.get_repeatDirection(); for(var A=0; A"); var B=L==c.MenuRepeatDirection.Vertical?this._getRowItems(A,K,F):this._getColumnItems(A,K,F); var G=D+" "+r; this._renderChildGroup(I,B,G); I.append(""); }I.append("
    "); },_renderChildGroup:function(C,B,A,D){C.append("
      "); if(!D){a.each(B,function(){this._render(C.get_buffer()); }); }C.append("
    "); },_determineCssClass:function(){var A=this; return this.withView(function(){return A.get_view()._determineCssClass(); }); },_getNextItem:function(){var B=this.get_parent().get_items(); var A=this.get_index(); if(A==B.get_count()-1){return B.getItem(0); }return B.getItem(A+1); },_getPreviousItem:function(){var B=this.get_parent().get_items(); var A=this.get_index(); if(A==0){return B.getItem(B.get_count()-1); }return B.getItem(A-1); },_getTemplateClassName:function(){var A=this; return this.withView(function(){return A.get_view().get_templateClassClass(); }); },_getGroupLevelCssClass:function(){return p+(this.get_level()+1); },_getGroupCssClass:function(){var A=new b(); A.append(this._getFlowCssClass()); if(!this._getShouldRenderScrollWrap()){A.append(" ",j," ",this._getGroupLevelCssClass()); }return A.toString(); },_getIsImageOnly:function(){if(this._isImageOnly===null){this._isImageOnly=this.get_imageElement()!=null; }return this._isImageOnly; },_getFlowCssClass:function(){if(this.get_groupSettings().get_flow()==c.ItemFlow.Vertical){return z; }else{return k; }},_getCurrentImageUrl:function(){var B=null,A=this.get_imageElement(); if(A){B=A.src; }return B; },_getParentFlow:function(){var A=this.get_parent(); if(!A){return null; }if(A==this.get_menu()){return A._flow; }else{return A.get_groupSettings().get_flow(); }},_getRowItems:function(F,D,B){var G=[]; for(var E=0; E0; J--){var I=G[J]; var H=G[J-1]; if(I.length==H.length){return; }H.push(I.shift()); }}; var C=G[D-1]; a.each(B,function(){C.push(this); A(); }); return G[F]; },_getColumnItems:function(A,F,E){var B=[]; var C=0; for(var D=0; D .rmGroupColumn > ul > .rmItem"),C=this.get_groupSettings(),G=C.get_repeatDirection(),F=C.get_repeatColumns(); if(F==1||G==c.MenuRepeatDirection.Vertical){return B; }var E=[],H=Math.ceil(B.length/F); for(var D=0; DH)){S=c.ExpandDirection.Down; U=O; }break; case c.ExpandDirection.Down:if($telerik.elementOverflowsBottom(J,N,B)){if(L.y>N.offsetHeight){S=c.ExpandDirection.Up; U=-A; }}break; case c.ExpandDirection.Left:if(B.xF){S=c.ExpandDirection.Right; Q=P; }}break; case c.ExpandDirection.Right:if($telerik.elementOverflowsRight(J,N,B)){if(F>G){S=c.ExpandDirection.Left; Q=-C; }}break; }switch(S){case c.ExpandDirection.Down:case c.ExpandDirection.Up:if($telerik.elementOverflowsRight(J,N)){var D=J.width-(B.x+C); var R=this.get_menu(); if(R.get_rightToLeft()&&this.get_level()==0){Q+=D; }else{Q=D; }}break; case c.ExpandDirection.Left:case c.ExpandDirection.Right:if($telerik.elementOverflowsBottom(J,N)){var T=Math.min(A,J.height); U=J.height-(B.y+T)-this._defaultScrollSize; }break; }this._setChildContainerPosition(Q,U); this._slide.set_direction(S); return{adjustedLeft:Q,adjustedTop:U}; },_resetAnimatedElementPosition:function(){var A=this._getAnimatedElement(); A.style.top="0px"; A.style.left="0px"; },_determineExpandDirection:function(){var A=this.get_groupSettings(); if(A.get_expandDirection()!=c.ExpandDirection.Auto){return; }var B=this._getParentFlow(); if(B==c.ItemFlow.Vertical){if(this.get_menu().get_rightToLeft()){A.set_expandDirection(c.ExpandDirection.Left); }else{A.set_expandDirection(c.ExpandDirection.Right); }}else{A.set_expandDirection(c.ExpandDirection.Down); }},_getMaximumExpandSize:function(){var F=this._slide.get_direction(),E=c.RadMenu._getViewPortSize(),A=this._getAnimationContainer(),B=$telerik.getLocation(A); if(this.get_groupSettings().get_flow()==c.ItemFlow.Vertical){var C; if(F==c.ExpandDirection.Up){C=A.offsetHeight+B.y; }else{C=E.height-B.y-this._defaultScrollSize; }return Math.min(C,E.height-this._defaultScrollSize); }var D; if(F==c.ExpandDirection.Left){D=B.x; }else{D=E.width-B.x; }return Math.min(D,E.width); },_saveAnimationContainerSize:function(){var C=this._getAnimationContainer(); var A=C.offsetHeight; var B=C.offsetWidth; this._animationContainerOriginalSize={}; this._animationContainerOriginalSize.height=A; this._animationContainerOriginalSize.width=B; },_restoreAnimationContainerSize:function(){if(this._animationContainerOriginalSize){var A=this._getAnimationContainer(); A.style.height=this._animationContainerOriginalSize.height+"px"; A.style.width=this._animationContainerOriginalSize.width+"px"; this._animationContainerOriginalSize=null; }},_getSlideDirection:function(){var A=this.get_groupSettings().get_expandDirection(); if(A==c.ExpandDirection.Auto){return null; }return A; },_getExpandClassName:function(){return"rmExpand"+this._getExpandClass(); },_getExpandClass:function(){var A=this._getSlideDirection(); switch(A){case c.jSlideDirection.Up:return"Top"; case c.jSlideDirection.Down:return"Down"; case c.jSlideDirection.Left:return"Left"; case c.jSlideDirection.Right:return"Right"; }},_fixSlideSize:function(){var A=this; this.withView(function(){A.get_view()._fixSlideSize(); }); },_fitsWindow:function(){var B=this._getMaximumExpandSize(); var A=this._getAnimationContainer(); if(this.get_groupSettings().get_flow()==c.ItemFlow.Vertical){return A.offsetHeight<=B; }return A.offsetWidth<=B; },_updateImageSrc:function(){var B=this.get_imageUrl(); if(this._hovered&&this.get_hoveredImageUrl()){B=this.get_hoveredImageUrl(); }if(this._state==c.RadMenuItemState.Open&&this.get_expandedImageUrl()){B=this.get_expandedImageUrl(); }if(!this.get_enabled()&&this.get_disabledImageUrl()){B=this.get_disabledImageUrl(); }if(this._clicked&&this.get_clickedImageUrl()){B=this.get_clickedImageUrl(); }if(this.get_selected()&&this.get_selectedImageUrl()){B=this.get_selectedImageUrl(); }if(B&&this.get_element()){var A=this.get_imageElement(); if(!A){A=this._createImageElement(); }B=B.replace(/&/ig,"&"); if(B!=A.src){A.src=B; }}},_applyCssClass:function(C,A){var B=this; this.withView(function(){B.get_view()._applyCssClass(C,A); }); },_updateLinkClass:function(){var A=this; if(this.get_isSeparator()){return; }this.withView(function(){A.get_view()._updateLinkClass(); }); },_updateTextElementClass:function(){var A=this; this.withView(function(){A.get_view()._updateTextElementClass(); }); },_updateColumnWrapSize:function(){var A=a(this.get_childListElement()); if(!A.is(".rmMultiColumn")){return; }var C=0; var B=0; a(A).children(".rmGroupColumn").children(".rmGroup").each(function(){C+=this.offsetWidth; B=Math.max(this.offsetHeight,B); }); if(C==0||B==0){return; }if($telerik.quirksMode){C+=(A.css("border-left-style")!="none"?parseInt(A.css("border-left-width"),10):0)+(A.css("border-right-style")!="none"?parseInt(A.css("border-right-width"),10):0); }A.css("width",C+"px").css("height",B+"px"); },_updateScrollPosition:function(){this._scroller.updateState(); if(this.get_menu().get_rightToLeft()&&this._groupSettings.get_flow()==c.ItemFlow.Horizontal){this.get_childListElement().style.cssFloat="left"; this._scroller.scrollToMaxPosition(); }},_updateChildListWidth:function(){var C=this.get_menu(); if(this._groupSettings.get_flow()==c.ItemFlow.Vertical&&C.get_rightToLeft()&&$telerik.isIE){var A=this.get_childListElement(); var B=a(A).children(".rmItem").get(0); if(B){A.style.width=B.offsetWidth+"px"; }}},_recalculateColumns:function(){if(this.get_groupSettings().get_repeatDirection()==c.MenuRepeatDirection.Horizontal){return; }var A=this.get_childListElement(); var C=a(A).children(".rmGroupColumn"); for(var D=C.length-1; D>0; D--){var B=C[D]; var E=C[D-1]; if(this._getColumnItemCount(E)==this._getColumnItemCount(B)){return; }a(E).children(".rmGroup").append(a(B).children(".rmGroup").children(".rmItem").eq(0)); }},_createEmptyColumn:function(){var B=this._getGroupCssClass(); var C=new b(); C.append("
  • "); this._renderChildGroup(C,[],B); C.append("
  • "); var A=a(C.toString()); a(this.get_childListElement()).append(A); return A; },_createImageElement:function(){var C=this,B=this.get_enableImageSprite()?v:n,A=this.get_linkElement()||this.get_element(); this._imageElement=document.createElement(B); this._imageElement.className=o; if(!this.get_enabled()){this._imageElement.disabled="disabled"; }if(A.firstChild){this.withView(function(){C.get_view()._positionImageElement(A); }); }else{A.appendChild(this._imageElement); }return this._imageElement; },_hasMultipleColumns:function(){var A=this.get_groupSettings(); var B=A.get_repeatColumns(); if(B==1){B=this.get_menu().get_defaultGroupSettings().get_repeatColumns(); }return B>1; },_onCollapseAnimationEnded:function(){var A=this.get_menu(); this.get_element().style.zIndex=0; A._restoreZIndex(); if(this.get_level()==0&&A.get_rightToLeft()){var B=A.get_element(); B.style.cssText=B.style.cssText; }},_onExpandAnimationEnded:function(){this._fixSlideSize(); },_stopAnimation:function(){if(this._slide){this._slide._stopAnimation(); }},_resolveCssClass:function(B,C){var A=[],D; if(!this.get_templated()){A.push(B); if(C&&this.get_text()==""&&a(this.get_textElement()).children().length===0){A.push(m); }if(C&&this._isRootLink()){A.push(s); }if(this.get_focused()&&!this.get_templated()){A.push(this.get_focusedCssClass()); }D=this.get_menu(); if(this.get_selected()&&(!D||D.get_enableSelection())){A.push(this.get_selectedCssClass()); }if(this._clicked){A.push(this.get_clickedCssClass()); }A.push(this.get_cssClass()); }if(this._state==c.RadMenuItemState.Open){A.push(this.get_expandedCssClass()); }if(!this.get_enabled()){Array.addRange(A,[e,this.get_disabledCssClass()]); }return A; },_preventDefaultUnderMobile:function(A){if(!A){return false; }var B=!(this._shouldNavigate()||a(this.get_element()).hasClass("rmTemplate")); if(B){A.preventDefault(); }else{if(!this.get_menu().get_showToggleHandle()){if(this._shouldOpen()){if(this.get_isOpen()){return true; }else{A.preventDefault(); }}}}return false; },_initializeScroller:function(){var A=this._getScrollWrapElement(); if(A){this._scroller=new c.MenuItemScroller(this,this.get_childListElement(),this.get_groupSettings().get_flow()); this._scroller.initialize(); }},_removeScrollWrapContainer:function(){var A=this.get_menu(); if(A&&((A.get_enableRoundedCorners()&&this._roundedCornersRendered)||(A.get_enableShadows()&&this._shadowsRendered))){c.RadMenu._removeScrollWrapContainer(this); }},_getShouldRenderScrollWrap:function(){if(this._hasMultipleColumns()){return false; }var C=this.get_groupSettings(); var A=this.get_menu().get_defaultGroupSettings(); var D=C.get_width(); if(!D){D=A.get_width(); }var B=C.get_height(); if(!B){B=A.get_height(); }return D||B; },_initializeAutoScroll:function(){this._removeChildListCorners(); this._buildScrollWrap(); this._initializeScroller(); this._animatedElement=null; this._scrollWrapElement=null; this._slide.set_animatedElement(this._getAnimatedElement()); this._ensureRoundedCorners(); this._ensureShadows(); },_isAutoScrollPossible:function(){var C=this.get_menu(); var B=this._getMaximumExpandSize(); var A=this._getAnimationContainer(); if(this.get_groupSettings().get_flow()==c.ItemFlow.Vertical){return(C.get_autoScrollMinimumHeight()0){return false; }if("get_contextMenuElement" in this.get_menu()){return false; }return true; }},_createLoadingItem:function(){var B=this.get_menu().get_loadingTemplate(); if(B===""){return; }var A=new c.RadMenuItem(); this.get_items().add(A); A.set_text(B); },_removeLoadingItem:function(){if(this.get_menu().get_loadingTemplate()===""){return; }var A=this.get_items().getItem(0); this.get_items().remove(A); },_onChildrenLoading:function(){this._itemsLoading=true; this._createLoadingItem(); this._doOpen(null); },_onChildrenLoaded:function(){this._removeLoadingItem(); this._itemsLoaded=true; this._itemsLoading=false; if(this.get_items().get_count()>0){var A=a(this.get_element()).hasClass("rmTemplate"); if(this._hovered||A||$telerik.isTouchDevice){this._doOpen(null); }else{if(this.get_menu()._renderMode===c.RenderMode.Lite){this._getAnimationContainer().style.width="auto"; }}}},_onChildrenLoadingError:function(){this._close(null); this._removeLoadingItem(); this._itemsLoaded=false; this._itemsLoading=false; }}; c.RadMenuItem.registerClass("Telerik.Web.UI.RadMenuItem",c.BaseMenuItem); })($telerik.$,Telerik.Web.UI,Telerik.Web.StringBuilder);