function RadMenuItem(o4,O4,l4){ this.Container=document.getElementById(O4[0]); this.Container.Images=this.Container.getElementsByTagName("i\x6dg"); this.Container.Cells=this.Container.getElementsByTagName("\x74d"); this.ParentMenu=o4; this.i4=null; this.I4=null; this.ParentGroup=null; this.ChildGroup=null; this.o5=null; this.PreviousItem=null; this.NextItem=null; this.CustomAttributes=null; for (i=0; i<l4.length; i++){if (this.ID==l4[i][0]){ this.CustomAttributes=l4[i]; break; }} this.ID=O4[0]; this.O5=O4[1]; this.l5=O4[2]; this.Width=O4[3]; this.Height=O4[4]; this.Image=O4[5]; this.ImageDisabled=O4[6]; this.ImageClicked=O4[7]; this.ImageOver=O4[8]; this.LeftLogo=O4[9]; this.LeftLogoOver=O4[10]; this.LeftLogoDisabled=O4[11]; this.LeftLogoClicked=O4[12]; this.RightLogo=O4[13]; this.RightLogoOver=O4[14]; this.RightLogoDisabled=O4[15]; this.RightLogoClicked=O4[16]; this.CssClass=O4[17]; if (!this.ParentMenu.i5.e(this.CssClass)){ this.CssClass=o4.I5; } this.LevelCss=O4[18]; if (!this.ParentMenu.i5.e(this.LevelCss)){ this.LevelCss=o4.o6; } this.CssClassOver=O4[19]; if (!this.ParentMenu.i5.e(this.CssClassOver)){ this.CssClassOver=o4.O6; } this.CssClassClicked=O4[20]; if (!this.ParentMenu.i5.e(this.CssClassClicked)){ this.CssClassClicked=o4.l6; } this.CssClassDisabled=O4[21]; if (!this.ParentMenu.i5.e(this.CssClassDisabled)){ this.CssClassDisabled=o4.i6; } this.I6=O4[22]; this.Text=O4[23]; this.o7=O4[24]; this.O7=O4[25]; this.l7=O4[26]; this.i7=O4[27]; this.Href=O4[28]; this.Target=O4[29]; this.ImageAlt=O4[30]; this.ImageLongDesc=O4[31]; this.StatusBarTip=O4[32]; this.ImageWidth=O4[33]; this.ImageHeight=O4[34]; this.I7=O4[35]; this.ToolTip=O4[36]; this.Value=O4[37]; this.ToolTip=O4[38]; this.Category=O4[39]; this.o8=O4[40]; this.O8=O4[41]; this.l8=O4[42]; this.Enabled=O4[43]; this.i8=O4[44]; this.Visible=O4[45]; this.Selected=O4[46]; this.I8=O4[47]; this.o9=O4[48]; this.ImageWidth=O4[49]; this.ImageHeight=O4[50]; this.O9=O4[51]; this.l9=null; this.l9=O4[52]; this.i9=null; this.i9=O4[53]; this.I9=null; this.I9=O4[54]; this.oa=null; this.oa=O4[55]; this.Oa=O4[56]; if (this.ParentMenu.la){ this.ia=O4[57]; this.Ia=O4[58]; }else { this.ia=null; this.Ia=null; } this.ParentGroup=this.ParentMenu.Q.A(this.O5); this.ChildGroup=this.ParentMenu.Q.A(this.O9); this.o5=this.ParentGroup.o5; this.ParentGroup.ob[this.ParentGroup.ob.length]=this ; this.Ob=0; this.lb=0; this.SetInitialState(); this.ResetStateToInitial(); }RadMenuItem.prototype.GetParentGroups= function (){if (!this.i4){ this.i4=new Hashtable(); }if (this.i4.length()<=0){var ib=this.ParentGroup; while ((ib!=null)){ this.i4.Add(ib); if (ib.o5!=null){ib=ib.o5.ParentGroup; }else {break; }}}return this.i4; };RadMenuItem.prototype.GetParentItems= function (){if (!this.I4){ this.I4=new Hashtable(); }if (this.I4.length()<=0){var Ib=this ; while ((Ib!=null)){ this.I4.Add(Ib); if (Ib.o5!=null){Ib=Ib.o5; }else {break; }}}return this.I4; };RadMenuItem.prototype.SetInitialState= function (oc){if (!oc){if (this.Enabled){if (this.Selected){ this.Ob |= MODE_NORMAL; this.Ob |= MODE_SELECTED; }else { this.Ob |= MODE_NORMAL; }}else { this.Ob |= MODE_DISABLED; }}else { this.Ob=parseInt(oc); }};RadMenuItem.prototype.ResetStateToInitial= function (){ this.lb=this.Ob; };RadMenuItem.prototype.RemoveState= function (Oc){ this.lb &= ~Oc; };RadMenuItem.prototype.AddState= function (lc){ this.lb |= lc; };RadMenuItem.prototype.CheckState= function (ic){if ((this.lb&ic)==ic){return true; }else {return false; }};RadMenuItem.prototype.Ic= function (){if (this.o9!=null && this.o9!="\x48A"){try {eval(this.o9); }catch (od){}}if (this.I8!=null && this.I8!="\x50BA"){if (this.ParentMenu.Od){if (typeof(Page_ClientValidate)!="function" || Page_ClientValidate()){try {eval(this.I8); }catch (od){}}}else {try {eval(this.I8); }catch (od){}}}};RadMenuItem.prototype.Action= function (ld,processedEvent){if (this.Oa){return; }if ((ld==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){if (this.ParentMenu.oe.Oe && this.StatusBarTip){window.status=this.StatusBarTip; }if (this.I9){var s=this.I9+"(th\x69\x73\x2cpr\x6fcessed\x45vent)\x3b"; eval(s); }else if (this.ParentMenu.I9){var s=this.ParentMenu.I9+"(this,pr\x6fcesse\x64Event);"; eval(s); }}if ((ld==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){if (this.ParentMenu.i5.le(processedEvent)){return; }if (this.i9){var s=this.i9+"\x28t\x68\x69s,p\x72ocesse\x64Event\x29;"; if (eval(s)== false){return; }}else if (this.ParentMenu.i9){var s=this.ParentMenu.i9+"\x28t\x68\x69s,p\x72ocesse\x64Event\x29;"; if (eval(s)== false){return; }} this.Ic(); }if ((ld==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){if (this.Selected== true){ this.Selected= false; }else { this.Selected= true; }if (this.oa){var s=this.oa+"\x28this,"+this.Selected+"\x29;"; eval(s); }}if ((ld==MODE_NORMAL) && !this.CheckState(MODE_NORMAL)){ this.Enabled= true; }if ((ld==MODE_DISABLED) && !this.CheckState(MODE_DISABLED)){ this.Enabled= false; }};RadMenuItem.prototype.Render= function (ld,processedEvent){if (this.Oa){return; }var ie=null; var Ie=null; var of=null; var Of=null; if ((ld==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){ie=this.ImageOver; Ie=this.LeftLogoOver; of=this.RightLogoOver; Of=this.CssClassOver; }else if ((ld==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){ie=this.ImageClicked; Ie=this.LeftLogoClicked; of=this.RightLogoClicked; Of=this.CssClassClicked; }else if ((ld==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){ie=this.ImageClicked; Ie=this.LeftLogoClicked; of=this.RightLogoClicked; Of=this.CssClassClicked; }else if ((ld==MODE_NORMAL) && this.CheckState(MODE_NORMAL)){ie=this.Image; Ie=this.LeftLogo; of=this.RightLogo; Of=this.CssClass; }else if ((ld==MODE_DISABLED) && this.CheckState(MODE_DISABLED)){ie=this.ImageDisabled; Ie=this.LeftLogoDisabled; of=this.RightLogoDisabled; Of=this.CssClassDisabled; }if (ie && (this.ParentMenu.If== true)){ this.Container.Images[0].src=ie; }else {if (Ie && (this.ParentMenu.If== true)){ this.Container.Images[0].src=Ie; }if (of && (this.ParentMenu.If== true)){var og=(this.LeftLogo)?1: 0; this.Container.Images[og].src=of; }}if (Of!=null){ this.Container.className=Of; if ((this.ParentMenu.Og) && this.Container.Cells!=null){for (var i=0; i<this.Container.Cells.length; i++){ this.Container.Cells[i].className=Of; }}}};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.lg= function (processedEvent){ this.AddState(MODE_SELECTED); this.Action(MODE_SELECTED,processedEvent); };RadMenuItem.prototype.ig= function (processedEvent){ this.RemoveState(MODE_SELECTED); };function RadMenuGroup(Ig,oh){ this.ParentMenu=Ig; this.ob=new Array(); this.o5=null; this.i4=null; this.I4=null; this.Container=document.getElementById(oh[0]); this.Visible= false; this.Oh=null; this.ID=oh[0]; this.lh=oh[1]; this.ih=oh[2]; this.Ih=oh[3]; this.oi=oh[4]; this.l5=oh[5]; this.Width=oh[6]; this.CssClass=oh[7]; this.LevelCss=oh[8]; this.Oi=oh[9]; if (!this.Oi){ this.Oi=RIGHT_DIRECTION; } this.ExpandEffect=oh[10]; this.ii=oh[11]; this.Ii=oh[12]; if (!this.Ii){ this.Ii=VERTICAL_DIRECTION; } this.oj=oh[13]; this.Oj=oh[14]; this.lj=oh[15]; this.ij=null; this.ij=oh[16]; this.Ij=oh[17]; if (this.Ij== true){ this.ok=oh[18]; this.Ok=oh[19]; this.lk=oh[20]; this.ik=oh[21]; this.Ik=oh[22]; this.ll=oh[23]; this.il=oh[24]; this.Il=oh[25]; this.om=oh[26]; this.Om=oh[27]; this.Im=oh[28]; this.On=oh[29]; this.In=oh[30]; this.oo=oh[31]; this.Oo=null; this.Io=null; this.op=null; this.Op=null; this.lp=null; this.ip=null; this.Ip=null; this.oq=null; this.Oq=null; }}RadMenuGroup.prototype.AddItem= function (item){ this.ob.Add(item); };RadMenuGroup.prototype.RemoveItem= function (item){ this.ob.Remove(item); };RadMenuGroup.prototype.GroupExpand= function (lq,iq,Iq,or){if (!this.ParentMenu.i5.e(lq) || !this.ParentMenu.i5.e(iq)){return; }var Or=0; var lr=0; if (this.ParentMenu.IsStatic){Or=this.ParentMenu.i5.ir(); lr=this.ParentMenu.i5.ScrollLeft(); }var Ir=0; var os=0; var Os=0; var ls=0; Ir=lq; os=this.ParentMenu.i5.is()-(lq+Iq); Os=iq; ls=this.ParentMenu.i5.Is()-(iq+or); var ot=this.ParentMenu.i5.Ot(this.Container); var lt=this.ParentMenu.i5.it(this.Container); var It=0; var ou=0; switch (this.Oi){case UP_DIRECTION:It=lq; ou=iq-lt; break; case DOWN_DIRECTION:It=lq; ou=iq+or; break; case LEFT_DIRECTION:ou=iq; It=lq-ot; break; case RIGHT_DIRECTION:ou=iq; It=lq+Iq; break; default:ou=iq; It=lq+Iq; break; }It+=this.oj; ou+=this.Oj; var Ou=this.ParentMenu.i5.lu(It,ou,ot,lt); if ((this.ParentMenu.i5.is()-(It+lr))>(this.ParentMenu.i5.is()/2)){Ou.iu=0; }if ((this.ParentMenu.i5.Is()-(ou+Or))>(this.ParentMenu.i5.Is()/2)){Ou.Iu=0; }if (this.ParentMenu.IsStatic){Ou.Iu=0; }var ov=this.ParentMenu.i5.Ov(this.Container); if (Ou.iu!=0 && Ou.Iu!=0){ov.left=(lq-ot)+"px"; ov.top=((iq+or)-lt)+"\x70\x78"; }else if (Ou.iu!=0){ov.top=ou+"\x70x"; ov.left=(lq-ot)+"p\x78"; }else if (Ou.Iu!=0){ov.left=It+"\x70x"; ov.top=((iq+or)-lt)+"px"; }else if (Ou.iu==0 && Ou.Iu==0){ov.left=It+"px"; ov.top=ou+"px"; } this.ShowOverlay(ov.left,ov.top); if (this.lv){ this.lv(); } this.ParentMenu.i5.Show(this.Container); };RadMenuGroup.prototype.ShowOverlay= function (iv,Iv){if (document.readyState=="comp\x6cete" && this.ParentMenu.ow && (this.ParentMenu.oe.Ow || this.ParentMenu.oe.lw)){if (!this.ParentMenu.i5.e(this.Container.iframeShim)){ this.Container.iframeShim=this.ParentMenu.i5.iw(this.Container); } this.Container.iframeShim.style.top=(Iv!=null)?Iv: this.Container.style.top+"\x70\x78"; this.Container.iframeShim.style.left=(iv!=null)?iv: this.Container.style.left+"\x70x"; this.ParentMenu.i5.Show(this.Container.iframeShim); }};RadMenuGroup.prototype.ApplyEffects= function (){if (this.ParentMenu.oe.HasFilters== false && this.ParentMenu.i5.e(document.body.filters) && this.ParentMenu.oe.m){ this.ParentMenu.oe.HasFilters= true; }if ((this.ParentMenu.oe.HasFilters== false) || !(this.ParentMenu.oe.m)){return; }if (this.ParentMenu.oe.HasFilters && this.ParentMenu.i5.e(this.ParentMenu.Iw)){if (this.ParentMenu.i5.e(this.ExpandEffect) && this.ExpandEffect!=""){var ox=""; switch (this.ExpandEffect){case "B\x61rn":var Ox="\x6f\x75\x74"; var lx="vertic\x61l"; ox=this.ParentMenu.Iw.ix(this.Container,Ox,lx,this.ParentMenu.Ix); break; case "\x42lin\x64\x73":var bands=10; var direction="do\x77n"; ox=this.ParentMenu.Iw.oy(this.Container,bands,direction,this.ParentMenu.Ix); break; case "\x43\x68\x65cke\x72Board":var Oy=10; var ly=10; var direction="right"; ox=this.ParentMenu.Iw.iy(this.Container,Oy,ly,direction); break; case "\x46ade":var Iy=.10e1; ox=this.ParentMenu.Iw.oz(this.Container,Iy,this.ParentMenu.Ix); break; case "GradientW\x69pe":var Ox="\x66orwar\x64"; var Oz=.25; var lz=0; ox=this.ParentMenu.Iw.iz(this.Container,Ox,Oz,lz,this.ParentMenu.Ix); break; case "\x49\x6e\163\x65t":var Iz=0; ox=this.ParentMenu.Iw.o10(this.Container,Iz,this.ParentMenu.Ix); break; case "\x49ri\x73":var O10="PLUS"; var Ox="\x6fut"; ox=this.ParentMenu.Iw.l10(this.Container,O10,Ox,this.ParentMenu.Ix); break; case "\x50ixe\x6c\x61te":var i10=50; ox=this.ParentMenu.Iw.I10(this.Container,i10,this.ParentMenu.Ix); break; case "\x52adia\x6c\x57i\x70e":var lz="CLOCK"; ox=this.ParentMenu.Iw.o11(this.Container,lz,this.ParentMenu.Ix); break; case "\x52an\x64\x6fmB\x61rs":var lx="hor\x69zontal"; ox=this.ParentMenu.Iw.O11(this.Container,lx,this.ParentMenu.Ix); break; case "Rando\x6dDissolv\x65":ox=this.ParentMenu.Iw.l11(this.Container,this.ParentMenu.Ix); break; case "Slide":var i11="HIDE"; var bands=1; ox=this.ParentMenu.Iw.I11(this.Container,i11,bands,this.ParentMenu.Ix); break; case "\123\x70iral":var o12=16; var O12=16; ox=this.ParentMenu.Iw.l12(this.Container,o12,O12,this.ParentMenu.Ix); break; case "Stretc\x68":var i12="SPIN"; ox=this.ParentMenu.Iw.I12(this.Container,i12,this.ParentMenu.Ix); break; case "\x53tr\x69\x70s":var Ox="\x6c\x65\x66tdo\x77n"; ox=this.ParentMenu.Iw.o13(this.Container,Ox,this.ParentMenu.Ix); break; case "Wh\x65el":var spokes=4; ox=this.ParentMenu.Iw.O13(this.Container,spokes,this.ParentMenu.Ix); break; case "\x5a\x69\147\x7aag":var o12=16; var O12=16; ox=this.ParentMenu.Iw.l13(this.Container,o12,O12,this.ParentMenu.Ix); break; }}if (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.i13>0){if ((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)){ox=this.ParentMenu.Iw.I13(this.Container,this.ParentMenu.Opacity,0); }if (this.ParentMenu.i13>0){ox=this.ParentMenu.Iw.o14(this.Container,135,this.ParentMenu.O14,this.ParentMenu.i13); }}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 l14=this.ParentMenu.i5.i14(parentElement); var I14=this.ParentMenu.i5.o15(parentElement); var O15=this.ParentMenu.i5.Ot(parentElement); var l15=this.ParentMenu.i5.it(parentElement); this.GroupExpand(l14,I14,O15,l15); this.Container.style.display="\x62lock"; if (this.ij){var s=this.ij+"\x28this\x29\x3b"; eval(s); }}};function RadMenu(i15,oh,I15,o16){if (RadBrowserHelper){ this.oe=RadBrowserHelper; }else {RadBrowserHelper=new Browser(); this.oe=RadBrowserHelper; }if (RadHelper){ this.i5=RadHelper; }else {RadHelper=new HelperObject(RadBrowserHelper); this.i5=RadHelper; } this.Iw=null; if (RadFiltersHelper!=null){ this.Iw=RadFiltersHelper; }if (this.oe.HasFilters== false && this.i5.e(document.body.filters) && this.oe.m){RadFiltersHelper=new RadFilters(); this.Iw=RadFiltersHelper; } this.Q=new Hashtable(); this.O16=new Hashtable(); this.ID=i15[0][0]; this.la=i15[0][1]; this.l16=i15[0][2]; this.i16=i15[0][3]; this.ImagesBaseDir=i15[0][4]; this.ow=i15[0][5]; this.I16=i15[0][6]; this.o17=i15[0][7]; this.O17=i15[0][8]; this.IsContext=i15[0][9]; this.ContextHtmlElementID=i15[0][10]; this.l17=i15[0][11]; this.Od=i15[0][12]; this.ClickToOpen=i15[0][13]; this.i17=i15[0][14]; this.Width=i15[0][15]; this.Height=i15[0][16]; this.Og=i15[0][17]; this.i9=i15[0][18]; this.I9=i15[0][19]; this.o6=i15[0][20]; this.I5=i15[0][21]; this.O6=i15[0][22]; this.l6=i15[0][23]; this.i6=i15[0][24]; this.I17=i15[0][25]; this.o18=i15[0][26]; this.O18=i15[0][27]; this.l18=i15[0][28]; this.i18=i15[0][29]; this.I18=i15[0][30]; this.o19=i15[0][31]; this.O19=i15[0][32]; this.l19=i15[0][33]; this.i19=i15[0][34]; this.I19=i15[0][35]; this.o1a=i15[0][36]; this.O1a=i15[0][37]; this.l1a=i15[0][38]; this.i1a=i15[0][39]; this.I1a=i15[0][40]; this.o1b=i15[0][41]; this.O1b=i15[0][42]; this.l1b=i15[0][43]; this.Opacity=i15[0][44]; this.i13=i15[0][45]; this.O14=i15[0][46]; this.Ix=i15[0][47]; this.i1b=i15[0][48]; this.IsStatic=i15[0][49]; this.I1b=new Hashtable(); this.o1c=new Array(); this.O1c= false; this.TemplateEnabled= false; this.PopulateMenuTree(oh,I15,o16); this.RootGroup=this.GetGroup(i15[0][50]); if (!this.i5.e(this.IsContext)){ this.RootGroup.Visible= true; } this.l1c=i15[0][51]; this.i1c=i15[0][52]; this.o8=i15[0][53]; this.O8=i15[0][54]; this.I1c=""; this.If= false; if (this.RootGroup){ this.Container=this.RootGroup.Container; } this.o1d=new Array(); this.O1d= false; if (!this.ClickToOpen){ this.O1d= true; } this.l1d=0; if (this.IsContext && this.i5.e(tlrkContextMenus)){if (this.ContextHtmlElementID){tlrkContextMenus[this.ContextHtmlElementID]=this ; }else {tlrkContextMenus["defa\x75\x6ct"]=this ; }}if (this.i5.e(tlrkKeyboard)){tlrkKeyboard[tlrkKeyboard.length]=this ; }if (this.i5.e(tlrkMenus)){tlrkMenus[tlrkMenus.length]=this ; }var i1d=this ; this.i5.AttachEventListener(document,"mousedo\x77n", function (processedEvent){i1d.I1d(processedEvent); } ); if (typeof(ExtendMenuWithScroll)!="undef\x69ned" && (typeof(ExtendMenuWithScroll)=="\x66unct\x69\x6fn")){ExtendMenuWithScroll(); }if (typeof(this.i1c)!="\x75n\x64\x65fin\x65d" && typeof(ExtendMenuWithKeyboard)!="u\x6edefined" && (typeof(ExtendMenuWithKeyboard)=="\x66un\x63\x74ion")){ExtendMenuWithKeyboard(); }if (this.i5.e(this.KeyDown) && this.i5.e(this.KeyUp)){ this.i5.AttachEventListener(document,"\x6beydown", function (processedEvent){i1d.KeyDown(processedEvent); } ); this.i5.AttachEventListener(document,"\x6beyup", function (processedEvent){i1d.KeyUp(processedEvent); } ); } this.o1e=0; this.O1e=-1; this.l1e=-1; this.ScrollLeftTime=0; this.ScrollRightTime=0; this.ScrollUpTime=0; this.ScrollDownTime=0; }RadMenu.prototype.PositionTopGroup= function (){ this.i1e(this.o1e); if (this.i5.e(this.RootGroup)){if ((this.O1e<0) && (this.l1e<0)){if (this.I16== true){ this.O1e=this.o17; this.l1e=this.O17; }else { this.O1e=this.getx(); this.l1e=this.gety(); }}var I1e=this.i5.ir(); var o1f=this.i5.ScrollLeft(); var ov=this.i5.Ov(this.RootGroup.Container); if (this.i5.e(ov.position) || ov.position==""){ov.position="absolute"; }ov.top=I1e+this.l1e+"\x70x"; ov.left=o1f+this.O1e+"px"; var i1d=this ; this.o1e=window.setTimeout( function (){i1d.PositionTopGroup(); } ,this.l1b); }};RadMenu.prototype.ImagePreload= function (O1f,l1f){if (O1f==l1f){ this.If= true; }};RadMenu.prototype.PopulateMenuTree= function (oh,I15,o16){var i=0; for (i=0; i<oh.length; i++){var i1f=new RadMenuGroup(this,oh[i]); this.Q.Add(i1f); var I1f=i1f.Container.getElementsByTagName("\x54\x44"); for (var o1g=0; o1g<I1f.length; o1g++){I1f[o1g].setAttribute("uns\x65lectabl\x65","on"); }}for (i=0; i<I15.length; i++){var O1g=new RadMenuItem(this,I15[i],o16); if (this.i5.e(O1g.l9)){ this.TemplateEnabled= true; } this.O16.Add(O1g); if (this.i5.e(O1g.I7)){var l1g="\x69"; if (this.i5.e(O1g.O8)){l1g+=O1g.O8; }if (this.i5.e(O1g.o8)){l1g+=O1g.o8; }l1g+=O1g.I7; this.I1b.AddItem(l1g,O1g); }}if (o16 && o16.length>0){for (i=0; i<o16.length; i++){if (this.GetItem(o16[i][0])){ (this.GetItem(o16[i][0])).CustomAttributes=o16[i]; }}}var i1g=this.Q.Values; for (i=0; i<i1g.length; i++){var P=0; var O1g=this.GetItem(i1g[i].ih); i1g[i].o5=O1g; var I1g=i1g[i].ob; for (P=0; P<I1g.length; P++){var o1h=I1g[P]; o1h.o5=O1g; if (P==0){o1h.PreviousItem=I1g[I1g.length-1]; }else {o1h.PreviousItem=I1g[P-1]; }if (P==(I1g.length-1)){o1h.NextItem=I1g[0]; }else {o1h.NextItem=I1g[P+1]; }}}};RadMenu.prototype.getx= function (){return this.i5.i14(this.RootGroup.Container); };RadMenu.prototype.gety= function (){return this.i5.o15(this.RootGroup.Container); };RadMenu.prototype.ShowMenu= function (){ this.i5.Show(this.RootGroup.Container); };RadMenu.prototype.HideMenu= function (){ this.i5.O1h(this.RootGroup.Container); };RadMenu.prototype.GetItem= function (l1h){return this.O16.A(l1h); };RadMenu.prototype.GetGroup= function (i1h){return this.Q.A(i1h); };RadMenu.prototype.GroupStatus= function (I1h,o1i){if (!o1i){var o1i=window.event; }if (this.i5.U((o1i.O1i)?o1i.O1i:o1i.toElement,I1h.id)){return; }if (!(this.ClickToOpen && this.O1d== true)){ this.O1c= true; this.l1i(); }};RadMenu.prototype.ProcItem= function (i1i,I1i){ this.i1e(this.l1d); this.O1c= true; var o1j=this.Q.A(I1i); var O1j=this.O16.A(i1i.id); if (O1j==(O1j.ParentGroup.Oh)){return; }if (!O1j || !O1j.Enabled){return; }var l1j=O1j.l5; if (this.o1d[l1j+1]==I1i){return; } this.CloseAll(l1j); if (o1j && (this.O1d== true)){ this.o1d[l1j+1]=I1i; o1j.Show(i1i); }var i1j=O1j.ParentGroup.Oh; if (O1j==i1j){return; }if (i1j){i1j.RemoveHilight(); }O1j.ParentGroup.Oh=O1j; if (!this.i5.e(O1j.l9)){O1j.ApplyHilight(); }} ; RadMenu.prototype.CloseAll= function (I1j,o1k){for (var i=this.o1d.length-1; i>I1j; i--){if (this.o1d[i]){var O1k=this.GetGroup(this.o1d[i]); if (O1k){ this.i5.O1h(O1k.Container.iframeShim,O1k.Container); O1k.Visible= false; this.o1d[i]=null; if (O1k.Oh){O1k.Oh.RemoveHilight(); O1k.Oh=null; }}}}if ((I1j==0) && this.RootGroup.Oh){if (!o1k){ this.RootGroup.Oh.RemoveHilight(); this.RootGroup.Oh=null; }}} ; RadMenu.prototype.l1i= function (){var i1d=this ; this.i1e(this.l1d); this.l1d=window.setTimeout( function (){i1d.CloseAll(0); i1d.O1c= false; window.status=""; } ,this.l1b); } ; RadMenu.prototype.i1e= function (l1k){if (l1k!=0){clearTimeout(l1k); l1k=0; }} ; RadMenu.prototype.i17= function (i1k,I1k,o1l,O1l){var I4=i1k.GetParentItems(); var l1l=(O1l!="")?O1l: this.l6; for (var i=(I4.Values.length-1); i>=0; i--){I4.Values[i].CssClass=l1l; var i1l=I4.Values[i].Container; if (I1k){ this.ProcItem(i1l,I4.Values[i].O9);}if (o1l){i1l.className=l1l; if (this.Og== true && i1l.Cells!=null){for (var i=0; i<i1l.Cells.length; i++){i1l.Cells[i].className=l1l; }}}}};RadMenu.prototype.MouseUp= function (i1i,processedEvent){var O1j=this.GetItem(i1i.id); O1j.ig(processedEvent); O1j.RemoveClick(processedEvent); };RadMenu.prototype.MouseDown= function (i1i,processedEvent){var O1j=this.GetItem(i1i.id); if (!O1j.Enabled){return null; }if (this.i5.e(O1j.l9)){return true; }if (this.O1d== false){ this.O1d= true; if (O1j.ChildGroup){ this.o1d[O1j.l5+1]=O1j.ChildGroup.ID; O1j.ChildGroup.Show(i1i); }}else if (this.O1d && this.ClickToOpen && (O1j.ParentGroup==this.RootGroup)){ this.O1d= false; this.CloseAll(0, true); }O1j.ApplyClick(processedEvent); O1j.lg(processedEvent); };RadMenu.prototype.I1l= function (o1m){if (this.i5.U(o1m,this.RootGroup.ID, false)){return true; }for (var i=0; i<this.o1d.length; i++){if (this.o1d[i]==o1m.id){return true; }else if (this.i5.U(o1m,this.o1d[i], false)){return true; }}return false; };RadMenu.prototype.X= function (processedEvent){if (!(this.IsContext)){return; }if (!processedEvent){var processedEvent=window.event; }if (this.I1l(this.i5.I(processedEvent))){return; }var O1m=this.i5.l1m(processedEvent); var i1m=this.i5.I1m(processedEvent); if (!this.i5.e(O1m) || !this.i5.e(i1m)){return; }var o1n=this.i5.ScrollLeft()+this.i5.is(); var O1n=this.i5.ir()+this.i5.Is(); O1m=(O1m>o1n)?o1n:O1m; i1m=(i1m>O1n)?O1n:i1m; this.i5.W(processedEvent); this.RootGroup.GroupExpand(O1m,i1m,0,0); this.RootGroup.Visible= true; if (this.oe.Z){ this.l1n= true; }return false; };RadMenu.prototype.I1d= function (processedEvent){if (this.ClickToOpen || this.IsContext){if (this.I1l(this.i5.I(processedEvent))){return; } this.CloseAll(0); if (this.IsContext && this.RootGroup.Visible== true){if (this.oe.Z && this.l1n){ this.l1n= false; return true; } this.RootGroup.Visible= false; this.i5.O1h(this.RootGroup.Container); } this.O1c= false; window.status=""; if (this.ClickToOpen){ this.O1d= false; }}};
