function RadMenuItem(i5,I5,o6){ this.Container=document.getElementById(I5[0]); this.Container.Images=this.Container.getElementsByTagName("img"); this.Container.Cells=this.Container.getElementsByTagName("td"); this.ParentMenu=i5; this.O6=null; this.l6=null; this.ParentGroup=null; this.ChildGroup=null; this.i6=null; this.PreviousItem=null; this.NextItem=null; this.CustomAttributes=null; for (i=0; i<o6.length; i++){if (this.ID==o6[i][0]){ this.CustomAttributes=o6[i]; break; }} this.ID=I5[0]; this.I6=I5[1]; this.o7=I5[2]; this.Width=I5[3]; this.Height=I5[4]; this.Image=I5[5]; this.ImageDisabled=I5[6]; this.ImageClicked=I5[7]; this.ImageOver=I5[8]; this.LeftLogo=I5[9]; this.LeftLogoOver=I5[10]; this.LeftLogoDisabled=I5[11]; this.LeftLogoClicked=I5[12]; this.RightLogo=I5[13]; this.RightLogoOver=I5[14]; this.RightLogoDisabled=I5[15]; this.RightLogoClicked=I5[16]; this.CssClass=I5[17]; if (!this.ParentMenu.O7.e(this.CssClass)){ this.CssClass=i5.l7; } this.LevelCss=I5[18]; if (!this.ParentMenu.O7.e(this.LevelCss)){ this.LevelCss=i5.i7; } this.CssClassOver=I5[19]; if (!this.ParentMenu.O7.e(this.CssClassOver)){ this.CssClassOver=i5.I7; } this.CssClassClicked=I5[20]; if (!this.ParentMenu.O7.e(this.CssClassClicked)){ this.CssClassClicked=i5.o8; } this.CssClassDisabled=I5[21]; if (!this.ParentMenu.O7.e(this.CssClassDisabled)){ this.CssClassDisabled=i5.O8; } this.l8=I5[22]; this.Text=I5[23]; this.i8=I5[24]; this.I8=I5[25]; this.o9=I5[26]; this.O9=I5[27]; this.Href=I5[28]; this.Target=I5[29]; this.ImageAlt=I5[30]; this.ImageLongDesc=I5[31]; this.StatusBarTip=I5[32]; this.ImageWidth=I5[33]; this.ImageHeight=I5[34]; this.l9=I5[35]; this.ToolTip=I5[36]; this.Value=I5[37]; this.ToolTip=I5[38]; this.Category=I5[39]; this.i9=I5[40]; this.I9=I5[41]; this.oa=I5[42]; this.Enabled=I5[43]; this.Oa=I5[44]; this.Visible=I5[45]; this.Selected=I5[46]; this.la=I5[47]; this.ia=I5[48]; this.ImageWidth=I5[49]; this.ImageHeight=I5[50]; this.Ia=I5[51]; this.ob=null; this.ob=I5[52]; this.Ob=null; this.Ob=I5[53]; this.lb=null; this.lb=I5[54]; this.ib=null; this.ib=I5[55]; this.Ib=I5[56]; if (this.ParentMenu.oc){ this.Oc=I5[57]; this.lc=I5[58]; }else { this.Oc=null; this.lc=null; } this.ParentGroup=this.ParentMenu.K.A(this.I6); this.ChildGroup=this.ParentMenu.K.A(this.Ia); this.i6=this.ParentGroup.i6; this.ParentGroup.ic[this.ParentGroup.ic.length]=this ; this.Ic=0; this.od=0; this.SetInitialState(); this.ResetStateToInitial(); if ((this.la!=null && this.la!="\x50\x42A") || (this.ia!=null && this.ia!="\x48A") || (this.ParentMenu.ClickToOpen== true) || (this.ParentMenu.O7.e(this.lb) || this.ParentMenu.O7.e(this.ParentMenu.lb) || this.ParentMenu.O7.e(this.Ob) || this.ParentMenu.O7.e(this.ParentMenu.Ob) || this.ParentMenu.O7.e(this.ib))){ this.Od= true; }else { this.Od= false; }}RadMenuItem.prototype.GetParentGroups= function (){if (!this.O6){ this.O6=new Hashtable(); }if (this.O6.length()<=0){var ld=this.ParentGroup; while ((ld!=null)){ this.O6.Add(ld); if (ld.i6!=null){ld=ld.i6.ParentGroup; }else {break; }}}return this.O6; };RadMenuItem.prototype.GetParentItems= function (){if (!this.l6){ this.l6=new Hashtable(); }if (this.l6.length()<=0){var oe=this ; while ((oe!=null)){ this.l6.Add(oe); if (oe.i6!=null){oe=oe.i6; }else {break; }}}return this.l6; };RadMenuItem.prototype.SetInitialState= function (Oe){if (!Oe){if (this.Enabled){if (this.Selected){ this.Ic |= MODE_NORMAL; this.Ic |= MODE_SELECTED; }else { this.Ic |= MODE_NORMAL; }}else { this.Ic |= MODE_DISABLED; }}else { this.Ic=parseInt(Oe); }};RadMenuItem.prototype.ResetStateToInitial= function (){ this.od=this.Ic; };RadMenuItem.prototype.RemoveState= function (le){ this.od &= ~le; };RadMenuItem.prototype.AddState= function (ie){ this.od |= ie; };RadMenuItem.prototype.CheckState= function (Ie){if ((this.od&Ie)==Ie){return true; }else {return false; }};RadMenuItem.prototype.of= function (){if (this.ia!=null && this.ia!="\x48\x41"){try {eval(this.ia); }catch (Of){}}if (this.la!=null && this.la!="\x50BA"){if (this.ParentMenu.If){if (typeof(Page_ClientValidate)!="fun\x63tion" || Page_ClientValidate()){try {eval(this.la); }catch (Of){}}}else {try {eval(this.la); }catch (Of){}}}};RadMenuItem.prototype.Action= function (og,processedEvent){if (this.Ib){return; }if ((og==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){if (this.ParentMenu.Og.lg && this.StatusBarTip){window.status=this.StatusBarTip; }if (this.lb){var s=this.lb+"\x28this\x2c\x70r\x6f\143\x65sse\x64E\x76ent);"; eval(s); }else if (this.ParentMenu.lb){var s=this.ParentMenu.lb+"(th\x69s,proces\x73edEven\x74);"; eval(s); }}if ((og==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){if (this.ParentMenu.O7.ig(processedEvent)){return; }if (this.Ob){var s=this.Ob+"\x28th\x69\x73,p\x72ocess\x65\144\x45vent\x29;"; if (eval(s)== false){return; }}else if (this.ParentMenu.Ob){var s=this.ParentMenu.Ob+"\x28thi\x73\x2cpr\x6fcessed\x45vent)\x3b"; if (eval(s)== false){return; }} this.of(); }if ((og==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){if (this.Selected== true){ this.Selected= false; }else { this.Selected= true; }if (this.ib){var s=this.ib+"\x28this,"+this.Selected+"\x29;"; eval(s); }}if ((og==MODE_NORMAL) && !this.CheckState(MODE_NORMAL)){ this.Enabled= true; }if ((og==MODE_DISABLED) && !this.CheckState(MODE_DISABLED)){ this.Enabled= false; }};RadMenuItem.prototype.Render= function (og,processedEvent){if (this.Ib){return; }var Ig=null; var oh=null; var Oh=null; var lh=null; if ((og==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){Ig=this.ImageOver; oh=this.LeftLogoOver; Oh=this.RightLogoOver; lh=this.CssClassOver; }else if ((og==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){Ig=this.ImageClicked; oh=this.LeftLogoClicked; Oh=this.RightLogoClicked; lh=this.CssClassClicked; }else if ((og==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){Ig=this.ImageClicked; oh=this.LeftLogoClicked; Oh=this.RightLogoClicked; lh=this.CssClassClicked; }else if ((og==MODE_NORMAL) && this.CheckState(MODE_NORMAL)){Ig=this.Image; oh=this.LeftLogo; Oh=this.RightLogo; lh=this.CssClass; }else if ((og==MODE_DISABLED) && this.CheckState(MODE_DISABLED)){Ig=this.ImageDisabled; oh=this.LeftLogoDisabled; Oh=this.RightLogoDisabled; lh=this.CssClassDisabled; }if (Ig && (this.ParentMenu.ih== true)){ this.Container.Images[0].src=Ig; }else {if (oh && (this.ParentMenu.ih== true)){ this.Container.Images[0].src=oh; }if (Oh && (this.ParentMenu.ih== true)){var Ih=(this.LeftLogo)?1: 0; this.Container.Images[Ih].src=Oh; }}if (lh!=null){ this.Container.className=lh; if ((this.ParentMenu.oi) && this.Container.Cells!=null){for (var i=0; i<this.Container.Cells.length; i++){ this.Container.Cells[i].className=lh; }}}};RadMenuItem.prototype.ApplyHilight= function (){ this.AddState(MODE_HILIGHT); this.Render(MODE_HILIGHT); this.Action(MODE_HILIGHT); };RadMenuItem.prototype.RemoveHilight= function (){ this.RemoveState(MODE_HILIGHT); if (this.CheckState(MODE_NORMAL)){ this.Render(MODE_NORMAL); }else if (this.CheckState(MODE_DISABLED)){ this.Render(MODE_DISABLED); }};RadMenuItem.prototype.ApplyClick= function (processedEvent){ this.AddState(MODE_CLICKED); this.Render(MODE_CLICKED); };RadMenuItem.prototype.RemoveClick= function (processedEvent){ this.Action(MODE_CLICKED,processedEvent); this.RemoveState(MODE_CLICKED); this.Render(MODE_HILIGHT); };RadMenuItem.prototype.Oi= function (processedEvent){ this.AddState(MODE_SELECTED); this.Action(MODE_SELECTED,processedEvent); };RadMenuItem.prototype.ii= function (processedEvent){ this.RemoveState(MODE_SELECTED); };function RadMenuGroup(Ii,oj){ this.ParentMenu=Ii; this.ic=new Array(); this.i6=null; this.O6=null; this.l6=null; this.Container=document.getElementById(oj[0]); this.Visible= false; this.Oj=null; this.ID=oj[0]; this.lj=oj[1]; this.ij=oj[2]; this.Ij=oj[3]; this.ok=oj[4]; this.o7=oj[5]; this.Width=oj[6]; this.CssClass=oj[7]; this.LevelCss=oj[8]; this.Ok=oj[9]; if (!this.Ok){ this.Ok=RIGHT_DIRECTION; } this.ExpandEffect=oj[10]; this.lk=oj[11]; this.ik=oj[12]; if (!this.ik){ this.ik=VERTICAL_DIRECTION; } this.Ik=oj[13]; this.ll=oj[14]; this.il=oj[15]; this.Il=null; this.Il=oj[16]; this.om=oj[17]; if (this.om== true){ this.Om=oj[18]; this.Im=oj[19]; this.On=oj[20]; this.In=oj[21]; this.oo=oj[22]; this.Oo=oj[23]; this.Io=oj[24]; this.op=oj[25]; this.Op=oj[26]; this.lp=oj[27]; this.ip=oj[28]; this.Ip=oj[29]; this.oq=oj[30]; this.Oq=oj[31]; this.lq=null; this.iq=null; this.Iq=null; this.or=null; this.Or=null; this.lr=null; this.ir=null; this.Ir=null; this.os=null; }}RadMenuGroup.prototype.AddItem= function (item){ this.ic.Add(item); };RadMenuGroup.prototype.RemoveItem= function (item){ this.ic.Remove(item); };RadMenuGroup.prototype.GroupExpand= function (Os,ls,is,Is){if (!this.ParentMenu.O7.e(Os) || !this.ParentMenu.O7.e(ls)){return; }var ot=0; var Ot=0; if (this.ParentMenu.IsStatic){ot=this.ParentMenu.O7.lt(); Ot=this.ParentMenu.O7.ScrollLeft(); }var it=0; var It=0; var ou=0; var Ou=0; it=Os; It=this.ParentMenu.O7.lu()-(Os+is); ou=ls; Ou=this.ParentMenu.O7.iu()-(ls+Is); var Iu=this.ParentMenu.O7.ov(this.Container); var Ov=this.ParentMenu.O7.lv(this.Container); var iv=0; var Iv=0; switch (this.Ok){case UP_DIRECTION:iv=Os; Iv=ls-Ov; break; case DOWN_DIRECTION:iv=Os; Iv=ls+Is; break; case LEFT_DIRECTION:Iv=ls; iv=Os-Iu; break; case RIGHT_DIRECTION:Iv=ls; iv=Os+is; break; default:Iv=ls; iv=Os+is; break; }iv+=this.Ik; Iv+=this.ll; var ow=this.ParentMenu.O7.Ow(iv,Iv,Iu,Ov); if ((this.ParentMenu.O7.lu()-(iv+Ot))>(this.ParentMenu.O7.lu()/2)){ow.lw=0; }if ((this.ParentMenu.O7.iu()-(Iv+ot))>(this.ParentMenu.O7.iu()/2)){ow.iw=0; }if (this.ParentMenu.IsStatic){ow.iw=0; }var Iw=this.ParentMenu.O7.ox(this.Container); if (ow.lw!=0 && ow.iw!=0){Iw.left=(Os-Iu)+"\160\x78"; Iw.top=((ls+Is)-Ov)+"px"; }else if (ow.lw!=0){Iw.top=Iv+"\160\x78"; Iw.left=(Os-Iu)+"\x70x"; }else if (ow.iw!=0){Iw.left=iv+"px"; Iw.top=((ls+Is)-Ov)+"\x70\x78"; }else if (ow.lw==0 && ow.iw==0){Iw.left=iv+"px"; Iw.top=Iv+"\x70x"; } this.ShowOverlay(Iw.left,Iw.top); if (this.Ox){ this.Ox(); } this.ParentMenu.O7.Show(this.Container); };RadMenuGroup.prototype.ShowOverlay= function (lx,ix){if (document.readyState=="\x63\x6fmplete" && this.ParentMenu.Ix && (this.ParentMenu.Og.oy || this.ParentMenu.Og.Oy)){if (!this.ParentMenu.O7.e(this.Container.iframeShim)){ this.Container.iframeShim=this.ParentMenu.O7.ly(this.Container); } this.Container.iframeShim.style.top=(ix!=null)?ix: this.Container.style.top+"px"; this.Container.iframeShim.style.left=(lx!=null)?lx: this.Container.style.left+"px"; this.Container.iframeShim.style.zIndex=(this.Container.style.zIndex-1); this.ParentMenu.O7.Show(this.Container.iframeShim); }};RadMenuGroup.prototype.ApplyEffects= function (){if (this.ParentMenu.Og.HasFilters== false && this.ParentMenu.O7.e(document.body.filters) && this.ParentMenu.Og.G){ this.ParentMenu.Og.HasFilters= true; }if ((this.ParentMenu.Og.HasFilters== false) || !(this.ParentMenu.Og.G)){return; }if (this.ParentMenu.Og.HasFilters && this.ParentMenu.O7.e(this.ParentMenu.iy)){if (this.ParentMenu.O7.e(this.ExpandEffect) && this.ExpandEffect!=""){var Iy=""; switch (this.ExpandEffect){case "\x42\141\x72n":var oz="o\x75t"; var Oz="vertica\x6c"; Iy=this.ParentMenu.iy.lz(this.Container,oz,Oz,this.ParentMenu.iz); break; case "Bl\x69nds":var bands=10; var direction="\144\x6fwn"; Iy=this.ParentMenu.iy.Iz(this.Container,bands,direction,this.ParentMenu.iz); break; case "C\x68eckerBoa\x72d":var o10=10; var O10=10; var direction="\x72ight"; Iy=this.ParentMenu.iy.l10(this.Container,o10,O10,direction); break; case "F\x61de":var i10=.10e1; Iy=this.ParentMenu.iy.I10(this.Container,i10,this.ParentMenu.iz); break; case "\x47radie\x6e\x74W\x69pe":var oz="fo\x72ward"; var o11=.25; var O11=0; Iy=this.ParentMenu.iy.l11(this.Container,oz,o11,O11,this.ParentMenu.iz); break; case "In\x73et":var i11=0; Iy=this.ParentMenu.iy.I11(this.Container,i11,this.ParentMenu.iz); break; case "Iris":var o12="\x50LU\x53"; var oz="o\x75t"; Iy=this.ParentMenu.iy.O12(this.Container,o12,oz,this.ParentMenu.iz); break; case "\x50i\x78\x65lat\x65":var l12=50; Iy=this.ParentMenu.iy.i12(this.Container,l12,this.ParentMenu.iz); break; case "RadialW\x69pe":var O11="CLO\x43K"; Iy=this.ParentMenu.iy.I12(this.Container,O11,this.ParentMenu.iz); break; case "\x52andomBa\x72\x73":var Oz="ho\x72izontal"; Iy=this.ParentMenu.iy.o13(this.Container,Oz,this.ParentMenu.iz); break; case "\x52ando\x6d\x44i\x73\163\x6flve":Iy=this.ParentMenu.iy.O13(this.Container,this.ParentMenu.iz); break; case "\x53lide":var l13="\x48IDE"; var bands=1; Iy=this.ParentMenu.iy.i13(this.Container,l13,bands,this.ParentMenu.iz); break; case "\x53pira\x6c":var I13=16; var o14=16; Iy=this.ParentMenu.iy.O14(this.Container,I13,o14,this.ParentMenu.iz); break; case "S\x74retch":var l14="S\x50IN"; Iy=this.ParentMenu.iy.i14(this.Container,l14,this.ParentMenu.iz); break; case "Str\x69ps":var oz="l\x65ftdown"; Iy=this.ParentMenu.iy.I14(this.Container,oz,this.ParentMenu.iz); break; case "W\x68eel":var spokes=4; Iy=this.ParentMenu.iy.o15(this.Container,spokes,this.ParentMenu.iz); break; case "\x5a\x69\x67zag":var I13=16; var o14=16; Iy=this.ParentMenu.iy.O15(this.Container,I13,o14,this.ParentMenu.iz); break; }}if (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.l15>0){if ((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)){Iy=this.ParentMenu.iy.i15(this.Container,this.ParentMenu.Opacity,0); }if (this.ParentMenu.l15>0){Iy=this.ParentMenu.iy.I15(this.Container,135,this.ParentMenu.o16,this.ParentMenu.l15); }}if (this.Container.filters[0]!=null){ this.Container.filters[0].apply(); this.Container.filters[0].play(); }}};RadMenuGroup.prototype.Show= function (parentElement){if (!this.Visible){ this.Visible= true; this.ApplyEffects(); var O16=this.ParentMenu.O7.l16(parentElement); var i16=this.ParentMenu.O7.I16(parentElement); var o17=this.ParentMenu.O7.ov(parentElement); var O17=this.ParentMenu.O7.lv(parentElement); this.GroupExpand(O16,i16,o17,O17); if (this.Il){var s=this.Il+"\050\x74his);"; eval(s); }}};function RadMenu(l17,oj,i17,I17){if (RadBrowserHelper){ this.Og=RadBrowserHelper; }else {RadBrowserHelper=new Browser(); this.Og=RadBrowserHelper; }if (RadHelper){ this.O7=RadHelper; }else {RadHelper=new HelperObject(RadBrowserHelper); this.O7=RadHelper; } this.iy=null; if (RadFiltersHelper!=null){ this.iy=RadFiltersHelper; }if (this.Og.HasFilters== false && this.O7.e(document.body.filters) && this.Og.G){RadFiltersHelper=new RadFilters(); this.iy=RadFiltersHelper; } this.K=new Hashtable(); this.t=new Hashtable(); this.ID=l17[0][0]; this.oc=l17[0][1]; this.o18=l17[0][2]; this.O18=l17[0][3]; this.ImagesBaseDir=l17[0][4]; this.Ix=l17[0][5]; this.l18=l17[0][6]; this.i18=l17[0][7]; this.I18=l17[0][8]; this.IsContext=l17[0][9]; this.ContextHtmlElementID=l17[0][10]; this.o19=l17[0][11]; this.If=l17[0][12]; this.ClickToOpen=l17[0][13]; this.O19=l17[0][14]; this.Width=l17[0][15]; this.Height=l17[0][16]; this.oi=l17[0][17]; this.Ob=l17[0][18]; this.lb=l17[0][19]; this.i7=l17[0][20]; this.l7=l17[0][21]; this.I7=l17[0][22]; this.o8=l17[0][23]; this.O8=l17[0][24]; this.l19=l17[0][25]; this.i19=l17[0][26]; this.I19=l17[0][27]; this.o1a=l17[0][28]; this.O1a=l17[0][29]; this.l1a=l17[0][30]; this.i1a=l17[0][31]; this.I1a=l17[0][32]; this.o1b=l17[0][33]; this.O1b=l17[0][34]; this.l1b=l17[0][35]; this.i1b=l17[0][36]; this.I1b=l17[0][37]; this.o1c=l17[0][38]; this.O1c=l17[0][39]; this.l1c=l17[0][40]; this.i1c=l17[0][41]; this.I1c=l17[0][42]; this.o1d=l17[0][43]; this.Opacity=l17[0][44]; this.l15=l17[0][45]; this.o16=l17[0][46]; this.iz=l17[0][47]; this.O1d=l17[0][48]; this.IsStatic=l17[0][49]; this.l1d=new Hashtable(); this.i1d=new Array(); this.I1d= false; this.TemplateEnabled= false; this.PopulateMenuTree(oj,i17,I17); this.RootGroup=this.GetGroup(l17[0][50]); if (!this.O7.e(this.IsContext)){ this.RootGroup.Visible= true; } this.o1e=l17[0][51]; this.O1e=l17[0][52]; this.i9=l17[0][53]; this.I9=l17[0][54]; this.v=l17[0][55]; this.l1e=""; this.ih= false; if (this.RootGroup){ this.Container=this.RootGroup.Container; } this.i1e=new Array(); this.S= false; if (!this.ClickToOpen){ this.S= true; } this.I1e=0; if (this.IsContext && this.O7.e(tlrkContextMenus)){if (this.ContextHtmlElementID){tlrkContextMenus[this.ContextHtmlElementID]=this ; }else {tlrkContextMenus["defa\x75\x6ct"]=this ; }}if (this.O7.e(tlrkKeyboard)){tlrkKeyboard[tlrkKeyboard.length]=this ; }if (this.O7.e(tlrkMenus)){tlrkMenus[tlrkMenus.length]=this ; }var o1f=this ; this.O7.AttachEventListener(document,"moused\x6fwn", function (processedEvent){o1f.O1f(processedEvent); } ); if (typeof(ExtendMenuWithScroll)!="\x75nd\x65\x66ine\x64" && (typeof(ExtendMenuWithScroll)=="functi\x6fn")){ExtendMenuWithScroll(); }if (typeof(ExtendMenuWithKeyboard)!="unde\x66ined" && (typeof(ExtendMenuWithKeyboard)=="\x66unct\x69\x6fn")){ExtendMenuWithKeyboard(); }if (this.O7.e(this.KeyDown) && this.O7.e(this.KeyUp)){ this.O7.AttachEventListener(document,"\x6be\x79\x64own", function (processedEvent){o1f.KeyDown(processedEvent); } ); this.O7.AttachEventListener(document,"keyup", function (processedEvent){o1f.KeyUp(processedEvent); } ); } this.l1f=0; this.i1f=-1; this.I1f=-1; this.ScrollLeftTime=0; this.ScrollRightTime=0; this.ScrollUpTime=0; this.ScrollDownTime=0; }RadMenu.prototype.PositionTopGroup= function (){ this.o1g(this.l1f); if (this.O7.e(this.RootGroup)){if ((this.i1f<0) && (this.I1f<0)){if (this.l18== true){ this.i1f=this.i18; this.I1f=this.I18; }else { this.i1f=this.getx(); this.I1f=this.gety(); }}var O1g=this.O7.lt(); var l1g=this.O7.ScrollLeft(); var Iw=this.O7.ox(this.RootGroup.Container); if (this.O7.e(Iw.position) || Iw.position==""){Iw.position="\x61bsolute"; }Iw.top=O1g+this.I1f+"\x70\x78"; Iw.left=l1g+this.i1f+"px"; var o1f=this ; this.l1f=window.setTimeout( function (){o1f.PositionTopGroup(); } ,this.o1d); }};RadMenu.prototype.ImagePreload= function (i1g,I1g){if (i1g==I1g){ this.ih= true; }};RadMenu.prototype.PopulateMenuTree= function (oj,i17,I17){var i=0; for (i=0; i<oj.length; i++){var o1h=new RadMenuGroup(this,oj[i]); this.K.Add(o1h); var O1h=o1h.Container.getElementsByTagName("T\x44"); for (var l1h=0; l1h<O1h.length; l1h++){O1h[l1h].setAttribute("unse\x6cectable","\x6fn"); }}for (i=0; i<i17.length; i++){var i1h=new RadMenuItem(this,i17[i],I17); if (this.O7.e(i1h.ob)){ this.TemplateEnabled= true; } this.t.Add(i1h); if (this.O7.e(i1h.l9)){var I1h="\x69"; if (this.O7.e(i1h.I9)){I1h+=i1h.I9; }if (this.O7.e(i1h.i9)){I1h+=i1h.i9; }I1h+=i1h.l9; this.l1d.AddItem(I1h,i1h); }}if (I17 && I17.length>0){for (i=0; i<I17.length; i++){if (this.GetItem(I17[i][0])){ (this.GetItem(I17[i][0])).CustomAttributes=I17[i]; }}}var o1i=this.K.Values; for (i=0; i<o1i.length; i++){var k=0; var i1h=this.GetItem(o1i[i].ij); o1i[i].i6=i1h; var O1i=o1i[i].ic; for (k=0; k<O1i.length; k++){var l1i=O1i[k]; l1i.i6=i1h; if (k==0){l1i.PreviousItem=O1i[O1i.length-1]; }else {l1i.PreviousItem=O1i[k-1]; }if (k==(O1i.length-1)){l1i.NextItem=O1i[0]; }else {l1i.NextItem=O1i[k+1]; }}}};RadMenu.prototype.getx= function (){return this.O7.l16(this.RootGroup.Container); };RadMenu.prototype.gety= function (){return this.O7.I16(this.RootGroup.Container); };RadMenu.prototype.ShowMenu= function (){ this.O7.Show(this.RootGroup.Container); };RadMenu.prototype.HideMenu= function (){ this.O7.i1i(this.RootGroup.Container); };RadMenu.prototype.GetItem= function (I1i){return this.t.A(I1i); };RadMenu.prototype.GetGroup= function (o1j){return this.K.A(o1j); };RadMenu.prototype.GroupStatus= function (O1j,l1j){if (!l1j){var l1j=window.event; }if (this.O7.U((l1j.i1j)?l1j.i1j:l1j.toElement,O1j.id)){return; }if (!(this.ClickToOpen && this.S== true)){ this.I1d= true; this.I1j(); }};RadMenu.prototype.ProcItem= function (o1k,O1k){ this.o1g(this.I1e); this.I1d= true; var l1k=this.K.A(O1k); var i1k=this.t.A(o1k.id); if (i1k==(i1k.ParentGroup.Oj)){return; }if (!i1k || !i1k.Enabled){return; }var I1k=i1k.o7; if (this.O7.e(O1k) && this.i1e[I1k+1]==O1k){return; } this.CloseAll(I1k); if (l1k && (this.S== true)){ this.i1e[I1k+1]=O1k; l1k.Show(o1k); }var o1l=i1k.ParentGroup.Oj; if (i1k==o1l){return; }if (o1l){o1l.RemoveHilight(); }i1k.ParentGroup.Oj=i1k; if (!this.O7.e(i1k.ob)){i1k.ApplyHilight(); }} ; RadMenu.prototype.CloseAll= function (O1l,l1l){for (var i=this.i1e.length-1; i>O1l; i--){if (this.i1e[i]){var i1l=this.GetGroup(this.i1e[i]); if (i1l){ this.O7.i1i(i1l.Container.iframeShim,i1l.Container); i1l.Visible= false; this.i1e[i]=null; if (i1l.Oj){i1l.Oj.RemoveHilight(); i1l.Oj=null; }}}}if ((O1l==0) && this.RootGroup.Oj){if (!l1l){ this.RootGroup.Oj.RemoveHilight(); this.RootGroup.Oj=null; }}} ; RadMenu.prototype.I1j= function (){var o1f=this ; this.o1g(this.I1e); this.I1e=window.setTimeout( function (){o1f.CloseAll(0); o1f.I1d= false; window.status=""; } ,this.o1d); } ; RadMenu.prototype.o1g= function (I1l){if (I1l!=0){clearTimeout(I1l); I1l=0; }} ; RadMenu.prototype.R= function (o1m,O1m,l1m,i1m){var l6=o1m.GetParentItems(); var I1m=(i1m!="")?i1m: this.o8; for (var i=(l6.Values.length-1); i>=0; i--){var o1n=l6.Values[i].Container; if (O1m){ this.ProcItem(o1n,l6.Values[i].Ia); }if (l1m){o1n.className=I1m; if (this.oi== true && o1n.Cells!=null){for (var i=0; i<o1n.Cells.length; i++){o1n.Cells[i].className=I1m; }}}}};RadMenu.prototype.MouseUp= function (o1k,processedEvent){var i1k=this.GetItem(o1k.id); if (i1k.Od!= false){i1k.ii(processedEvent); i1k.RemoveClick(processedEvent); }};RadMenu.prototype.MouseDown= function (o1k,processedEvent){var i1k=this.GetItem(o1k.id); if (!i1k.Enabled){return null; }if (this.O7.e(i1k.ob)){return true; }if (this.S== false){ this.S= true; if (i1k.ChildGroup){ this.i1e[i1k.o7+1]=i1k.ChildGroup.ID; i1k.ChildGroup.Show(o1k); }}else if (this.S && this.ClickToOpen && (i1k.ParentGroup==this.RootGroup)){ this.S= false; this.CloseAll(0, true); }if (i1k.Od!= false){i1k.ApplyClick(processedEvent); i1k.Oi(processedEvent); }};RadMenu.prototype.O1n= function (l1n){if (this.O7.U(l1n,this.RootGroup.ID, false)){return true; }for (var i=0; i<this.i1e.length; i++){if (this.i1e[i]==l1n.id){return true; }else if (this.O7.U(l1n,this.i1e[i], false)){return true; }}return false; };RadMenu.prototype.OnContext= function (processedEvent,i1n){if (!(this.IsContext)){return; }if (!processedEvent){var processedEvent=window.event; }var I1n=null;var o1o= false; var I1n=this.O7.I(processedEvent); if (this.O1n(I1n)){return; }if (this.O7.e(i1n)){if (!this.O7.O1o(I1n,i1n)){return; }}var l1o=this.O7.i1o(processedEvent); var I1o=this.O7.o1p(processedEvent); if (!this.O7.e(l1o) || !this.O7.e(I1o)){return; }var O1p=this.O7.ScrollLeft()+this.O7.lu(); var l1p=this.O7.lt()+this.O7.iu(); l1o=(l1o>O1p)?O1p:l1o; I1o=(I1o>l1p)?l1p:I1o; this.O7.X(processedEvent); this.RootGroup.GroupExpand(l1o,I1o,0,0); this.RootGroup.Visible= true; if (this.Og.Z){ this.i1p= true; }return false; };RadMenu.prototype.O1f= function (processedEvent){if (this.ClickToOpen || this.IsContext){if (this.O1n(this.O7.I(processedEvent))){return; } this.CloseAll(0); if (this.IsContext && this.RootGroup.Visible== true){if (this.Og.Z && this.i1p){ this.i1p= false; return true; } this.RootGroup.Visible= false; this.O7.i1i(this.RootGroup.Container); } this.I1d= false; window.status=""; if (this.ClickToOpen){ this.S= false; }}};
