function RadMenuItem(iy,Iy,oz){ this.ParentMenu=iy; this.Oz=null; this.lz=null; this.ParentGroup=null; this.ChildGroup=null; this.iz=null; this.PreviousItem=null; this.NextItem=null; this.Container=document.getElementById(Iy[0]); var Iz=this ; if (this.ParentMenu.o10.ie(this.Container)){ this.Container.onmousedown= function (processedEvent){Iz.MouseDown(processedEvent);} ; this.Container.onmouseup= function (processedEvent){Iz.MouseUp(processedEvent);} ; this.Container.onmouseover= function (processedEvent){Iz.ProcItem(processedEvent);} ; } this.Container.Images=this.Container.getElementsByTagName("\x69\x6dg"); this.Container.Cells=this.Container.getElementsByTagName("td"); this.Container.O10=this.Container.getElementsByTagName("table"); this.CustomAttributes=null; for (i=0; i<oz.length; i++){if (this.ID==oz[i][0]){ this.CustomAttributes=oz[i]; break; }} this.ID=Iy[0]; this.l10=Iy[1]; this.i10=Iy[2]; this.Width=Iy[3]; this.Height=Iy[4]; this.Image=this.ParentMenu.I10(Iy[5]); this.ImageDisabled=this.ParentMenu.I10(Iy[6]); this.ImageClicked=this.ParentMenu.I10(Iy[7]); this.ImageOver=this.ParentMenu.I10(Iy[8]); this.LeftLogo=this.ParentMenu.I10(Iy[9]); this.LeftLogoOver=this.ParentMenu.I10(Iy[10]); this.LeftLogoDisabled=this.ParentMenu.I10(Iy[11]); this.LeftLogoClicked=this.ParentMenu.I10(Iy[12]); this.RightLogo=this.ParentMenu.I10(Iy[13]); this.RightLogoOver=this.ParentMenu.I10(Iy[14]); this.RightLogoDisabled=this.ParentMenu.I10(Iy[15]); this.RightLogoClicked=this.ParentMenu.I10(Iy[16]); this.CssClass=Iy[17]; if (!this.ParentMenu.o10.ie(this.CssClass)){ this.CssClass=iy.o11; } this.LevelCss=Iy[18]; if (!this.ParentMenu.o10.ie(this.LevelCss)){ this.LevelCss=iy.O11; } this.CssClassOver=Iy[19]; if (!this.ParentMenu.o10.ie(this.CssClassOver)){ this.CssClassOver=iy.l11; } this.CssClassClicked=Iy[20]; if (!this.ParentMenu.o10.ie(this.CssClassClicked)){ this.CssClassClicked=iy.i11; } this.CssClassDisabled=Iy[21]; if (!this.ParentMenu.o10.ie(this.CssClassDisabled)){ this.CssClassDisabled=iy.I11; } this.o12=Iy[22]; this.Text=Iy[23]; this.O12=Iy[24]; this.l12=Iy[25]; this.i12=Iy[26]; this.I12=Iy[27]; this.Href=null; this.Href=Iy[28]; this.Target=null; this.Target=Iy[29]; this.ImageAlt=Iy[30]; this.ImageLongDesc=Iy[31]; this.StatusBarTip=Iy[32]; this.ImageWidth=Iy[33]; this.ImageHeight=Iy[34]; this.o13=Iy[35]; this.ToolTip=Iy[36]; this.Value=Iy[37]; this.ToolTip=Iy[38]; this.Category=Iy[39]; this.O13=Iy[40]; this.l13=Iy[41]; this.i13=Iy[42]; this.Enabled=Iy[43]; this.I13=Iy[44]; this.Visible=Iy[45]; this.Selected=Iy[46]; this.o14=null; this.o14=Iy[47]; this.ImageWidth=Iy[48]; this.ImageHeight=Iy[49]; this.O14=Iy[50]; this.l14=null; this.l14=Iy[51]; this.i14=null; this.i14=Iy[52]; this.I14=null; this.I14=Iy[53]; this.o15=null; this.o15=Iy[54]; this.O15=Iy[55]; if (this.ParentMenu.l15){ this.i15=Iy[56]; this.I15=Iy[57]; }else { this.i15=null; this.I15=null; } this.ParentGroup=this.ParentMenu.AllGroups.o16(this.l10); this.ChildGroup=this.ParentMenu.AllGroups.o16(this.O14); this.iz=this.ParentGroup.iz; this.ParentGroup.O16[this.ParentGroup.O16.length]=this ; this.l16=0; this.i16=0; this.SetInitialState(); this.ResetStateToInitial(); if ((this.o14!=null) || this.Href!=null || (this.ParentMenu.ClickToOpen== true) || (this.ParentMenu.o10.ie(this.I14) || this.ParentMenu.o10.ie(this.ParentMenu.I14) || this.ParentMenu.o10.ie(this.i14) || this.ParentMenu.o10.ie(this.ParentMenu.i14) || this.ParentMenu.o10.ie(this.o15))){ this.I16= true; }else { this.I16= false; }}RadMenuItem.prototype.MouseUp= function (processedEvent){if (this.I16!= false){ this.o17(processedEvent); this.RemoveClick(processedEvent); }};RadMenuItem.prototype.MouseDown= function (processedEvent){if (!this.Enabled){return null; }if (this.ParentMenu.o10.ie(this.l14)){return true; }if (this.ParentMenu.FirstClick== false){ this.ParentMenu.FirstClick= true; if (this.ChildGroup){ this.ParentMenu.O17[this.i10+1]=this.ChildGroup.ID; this.ChildGroup.Show(this.Container); }}else if (this.ParentMenu.FirstClick && this.ParentMenu.ClickToOpen && (this.ParentGroup==this.ParentMenu.RootGroup)){ this.ParentMenu.FirstClick= false; this.ParentMenu.CloseAll(0, true); }if (this.I16!= false){ this.ApplyClick(processedEvent); this.l17(processedEvent); }};RadMenuItem.prototype.ProcItem= function (){ this.ParentMenu.i17(this.ParentMenu.I17); this.ParentMenu.o18= true; var O18=null; var l18=""; if (this.ChildGroup){O18=this.ChildGroup; l18=O18.ID; }if (this ==(this.ParentGroup.i18)){return; }if (!this || !this.Enabled){return; }var I18=this.i10; if (this.ParentMenu.o10.ie(O18) && this.ParentMenu.O17[I18+1]==l18){return; } this.ParentMenu.CloseAll(I18); if (O18 && (this.ParentMenu.FirstClick== true)){ this.ParentMenu.O17[I18+1]=l18; O18.Show(this.Container); }var o19=this.ParentGroup.i18; if (this ==o19){return; }if (o19){o19.RemoveHilight(); } this.ParentGroup.i18=this ; if (!this.ParentMenu.o10.ie(this.l14)){ this.ApplyHilight(); }} ; RadMenuItem.prototype.GetParentGroups= function (){if (!this.Oz){ this.Oz=new Hashtable(); }if (this.Oz.length()<=0){var O19=this.ParentGroup; while ((O19!=null)){ this.Oz.Add(O19); if (O19.iz!=null){O19=O19.iz.ParentGroup; }else {break; }}}return this.Oz; };RadMenuItem.prototype.GetParentItems= function (){if (!this.lz){ this.lz=new Hashtable(); }if (this.lz.length()<=0){var l19=this ; while ((l19!=null)){ this.lz.Add(l19); if (l19.iz!=null){l19=l19.iz; }else {break; }}}return this.lz; };RadMenuItem.prototype.SetInitialState= function (i19){if (!i19){if (this.Enabled){if (this.Selected){ this.l16 |= MODE_NORMAL; this.l16 |= MODE_SELECTED; }else { this.l16 |= MODE_NORMAL; }}else { this.l16 |= MODE_DISABLED; }}else { this.l16=parseInt(i19); }};RadMenuItem.prototype.ResetStateToInitial= function (){ this.i16=this.l16; };RadMenuItem.prototype.RemoveState= function (I19){ this.i16 &= ~I19; };RadMenuItem.prototype.AddState= function (o1a){ this.i16 |= o1a; };RadMenuItem.prototype.CheckState= function (O1a){if ((this.i16&O1a)==O1a){return true; }else {return false; }};RadMenuItem.prototype.l1a= function (){if (this.Href!=null){try {if (this.Target!=null){if (this.Target=="_self"){self.location.href=this.Href; }else if (this.Target=="\x5fto\x70"){top.location.href=this.Href; }else if (this.Target=="\x5fparent"){self.parent.location.href=this.Href; }else if (top.frames){if (top.frames[this.Target]){top.frames[this.Target].location.href=this.Href; }else {window.alert("F\x72\x61me \047"+this.Target+"\x27has not \x6c\x6fad\x65\x64 or\x20does\x6e\x27t \x65\x78is\x74"); }}else {window.open(this.Href,this.Target); }}else {self.location.href=this.Href; }}catch (e){}}if (this.o14!=null){if (this.ParentMenu.i1a){if (typeof(Page_ClientValidate)!="function" || Page_ClientValidate()){try {eval(this.o14); }catch (e){}}}else {try {eval(this.o14); }catch (e){}}}};RadMenuItem.prototype.Action= function (I1a,processedEvent){if (this.O15){return; }if ((I1a==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){if (this.ParentMenu.le.I0 && this.StatusBarTip){window.status=this.StatusBarTip; }if (this.I14){var s=this.I14+"\x28this,pr\x6f\x63ess\x65\x64Eve\x6e\164\x29\x3b"; eval(s); }else if (this.ParentMenu.I14){var s=this.ParentMenu.I14+"\x28\x74his,pr\x6f\x63esse\x64\x45ve\x6e\164)\x3b"; eval(s); }}if ((I1a==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){if (this.ParentMenu.o10.oh(processedEvent)){return; }if (this.i14){var s=this.i14+"(this,p\x72\x6fcess\x65\x64Even\x74);"; if (eval(s)== false){return; }}else if (this.ParentMenu.i14){var s=this.ParentMenu.i14+"(this,proce\x73\x73edE\x76\x65nt)\x3b"; if (eval(s)== false){return; }} this.l1a(); }if ((I1a==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){if (this.Selected== true){ this.Selected= false; }else { this.Selected= true; }if (this.o15){var s=this.o15+"\x28this,"+this.Selected+"\x29;"; eval(s); }}if ((I1a==MODE_NORMAL) && !this.CheckState(MODE_NORMAL)){ this.Enabled= true; }if ((I1a==MODE_DISABLED) && !this.CheckState(MODE_DISABLED)){ this.Enabled= false; }};RadMenuItem.prototype.Render= function (I1a,processedEvent){if (this.O15){return; }var o1b=null; var O1b=null; var l1b=null; var i1b=null; if ((I1a==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){o1b=this.ImageOver; O1b=this.LeftLogoOver; l1b=this.RightLogoOver; i1b=this.CssClassOver; }else if ((I1a==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){o1b=this.ImageClicked; O1b=this.LeftLogoClicked; l1b=this.RightLogoClicked; i1b=this.CssClassClicked; }else if ((I1a==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){o1b=this.ImageClicked; O1b=this.LeftLogoClicked; l1b=this.RightLogoClicked; i1b=this.CssClassClicked; }else if ((I1a==MODE_NORMAL) && this.CheckState(MODE_NORMAL)){o1b=this.Image; O1b=this.LeftLogo; l1b=this.RightLogo; i1b=this.CssClass; }else if ((I1a==MODE_DISABLED) && this.CheckState(MODE_DISABLED)){o1b=this.ImageDisabled; O1b=this.LeftLogoDisabled; l1b=this.RightLogoDisabled; i1b=this.CssClassDisabled; }if (o1b && (this.ParentMenu.I1b== true)){if (this.Container.Images[0].src!=o1b){ this.Container.Images[0].src=o1b; }}else {if (O1b && (this.ParentMenu.I1b== true)){if (this.Container.Images[0].src!=O1b){ this.Container.Images[0].src=O1b; }}if (l1b && (this.ParentMenu.I1b== true)){var o1c=(this.LeftLogo)?(this.Container.Images.length-1): 0; if (this.Container.Images[o1c].src!=l1b){ this.Container.Images[o1c].src=l1b; }}}if (i1b!=null && (this.Container.className!=i1b)){ this.Container.className=i1b; if ((this.ParentMenu.O1c) && this.Container.Cells!=null){for (var i=0; i<this.Container.Cells.length; i++){ this.Container.Cells[i].className=i1b; }}}};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.l17= function (processedEvent){ this.AddState(MODE_SELECTED); this.Action(MODE_SELECTED,processedEvent); };RadMenuItem.prototype.o17= function (processedEvent){ this.RemoveState(MODE_SELECTED); };function RadMenuGroup(l1c,i1c){ this.ParentMenu=l1c; this.O16=new Array(); this.iz=null; this.Oz=null; this.lz=null; this.Container=document.getElementById(i1c[0]); var Iz=this ; if (this.ParentMenu.o10.ie(this.Container)){ this.Container.onmouseout= function (processedEvent){Iz.GroupStatus(processedEvent);} ; } this.Visible= false; this.i18=null; this.ID=i1c[0]; this.I1c=i1c[1]; this.o1d=i1c[2]; this.O1d=i1c[3]; this.l1d=i1c[4]; this.i10=i1c[5]; this.Width=i1c[6]; this.CssClass=i1c[7]; this.LevelCss=i1c[8]; this.i1d=i1c[9]; if (!this.i1d){ this.i1d=RIGHT_DIRECTION; } this.ExpandEffect=i1c[10]; this.I1d=i1c[11]; this.o1e=i1c[12]; if (!this.o1e){ this.o1e=VERTICAL_DIRECTION; } this.O1e=i1c[13]; this.l1e=i1c[14]; this.i1e=this.ParentMenu.I10(i1c[15]); this.I1e=null; this.I1e=i1c[16]; this.OnClientGroupCollapse=null; this.o1f=i1c[17]; if (this.o1f== true){ this.O1f=i1c[18]; this.l1f=i1c[19]; this.i1f=this.ParentMenu.I10(i1c[20]); this.I1f=this.ParentMenu.I10(i1c[21]); this.o1g=this.ParentMenu.I10(i1c[22]); this.O1g=this.ParentMenu.I10(i1c[23]); this.l1g=this.ParentMenu.I10(i1c[24]); this.i1g=this.ParentMenu.I10(i1c[25]); this.I1g=this.ParentMenu.I10(i1c[26]); this.o1h=this.ParentMenu.I10(i1c[27]); this.O1h=i1c[28]; this.l1h=i1c[29]; this.i1h=i1c[30]; this.I1h=i1c[31]; this.o1i=null; this.O1i=null; this.l1i=null; this.i1i=null; this.I1i=null; this.o1j=null; this.O1j=null; this.l1j=null; this.i1j=null; }}RadMenuGroup.prototype.GroupStatus= function (I1j){if (!I1j){var I1j=window.event; }if (this.ParentMenu.o10.Il((I1j.Ig)?I1j.Ig:I1j.toElement,this.ID)){return; }if (!(this.ParentMenu.ClickToOpen && this.ParentMenu.FirstClick== true)){ this.ParentMenu.o18= true; this.ParentMenu.o1k(); }};RadMenuGroup.prototype.AddItem= function (item){ this.O16.Add(item); };RadMenuGroup.prototype.RemoveItem= function (item){ this.O16.Remove(item); };RadMenuGroup.prototype.GroupExpand= function (O1k,l1k,i1k,I1k){if (!this.ParentMenu.o10.ie(O1k) || !this.ParentMenu.o10.ie(l1k)){return; }var o1l=0; var O1l=0; if (this.ParentMenu.IsStatic){o1l=this.ParentMenu.o10.Iq(); O1l=this.ParentMenu.o10.ScrollLeft(); }var l1l=0; var i1l=0; var I1l=0; var o1m=0; l1l=O1k; i1l=this.ParentMenu.o10.os()-(O1k+i1k); I1l=l1k; o1m=this.ParentMenu.o10.Os()-(l1k+I1k); if (this.O1m){ this.O1m(); }var l1m=0; l1m=this.ParentMenu.o10.Ij(this.Container.childNodes[0]); if (l1m==0){l1m=this.ParentMenu.o10.Ij(this.Container); }var i1m=0; i1m=this.ParentMenu.o10.ok(this.Container.childNodes[0]); if (i1m==0){i1m=this.ParentMenu.o10.ok(this.Container); }var I1m=0; var o1n=0; var O1n=0; var l1n=this.ParentMenu.o10; if (l1n.ie(this.iz)){var i1n=l1n.oj(this.iz.Container); if (i1n && (i1n.direction=="\x72\x74\x6c")){O1n=i1k-l1m; }}switch (this.i1d){case UP_DIRECTION:I1m=O1k+O1n; o1n=l1k-i1m; break; case DOWN_DIRECTION:I1m=O1k+O1n; o1n=l1k+I1k; break; case LEFT_DIRECTION:o1n=l1k; I1m=O1k-l1m; break; case RIGHT_DIRECTION:o1n=l1k; I1m=O1k+i1k; break; default:o1n=l1k; I1m=O1k+i1k; break; }I1m+=this.O1e; o1n+=this.l1e; var I1n=this.ParentMenu.o10.ls(I1m,o1n,l1m,i1m); if ((this.ParentMenu.o10.os()-(I1m+O1l))>(this.ParentMenu.o10.os()/2)){I1n.Iu=0; }if ((this.ParentMenu.o10.Os()-(o1n+o1l))>(this.ParentMenu.o10.Os()/2)){I1n.ov=0; }if (this.ParentMenu.IsStatic){I1n.ov=0; }var Oo=this.ParentMenu.o10.oj(this.Container); if (I1n.Iu!=0 && I1n.ov!=0){Oo.left=(O1k-l1m)+"px"; Oo.top=((l1k+I1k)-i1m)+"p\x78"; }else if (I1n.Iu!=0){Oo.top=o1n+"px"; Oo.left=(O1k-l1m)+"px"; }else if (I1n.ov!=0){Oo.left=I1m+"\x70x"; Oo.top=((l1k+I1k)-i1m)+"\x70x"; }else if (I1n.Iu==0 && I1n.ov==0){Oo.left=I1m+"px"; Oo.top=o1n+"px"; } this.ShowOverlay(Oo.left,Oo.top); this.ParentMenu.o10.Show(this.Container); };RadMenuGroup.prototype.ShowOverlay= function (o1o,O1o){if (document.readyState=="complete" && this.ParentMenu.l1o && (this.ParentMenu.le.P || this.ParentMenu.le.N)){if (!this.ParentMenu.o10.ie(this.Container.iframeShim)){ this.Container.iframeShim=this.ParentMenu.o10.Oj(this.Container); } this.Container.iframeShim.style.top=(O1o!=null)?O1o: this.Container.style.top+"p\x78"; this.Container.iframeShim.style.left=(o1o!=null)?o1o: this.Container.style.left+"\x70\x78"; this.Container.iframeShim.style.zIndex=(this.Container.style.zIndex-1); this.ParentMenu.o10.Show(this.Container.iframeShim); }};RadMenuGroup.prototype.ApplyEffects= function (){if (this.ParentMenu.le.HasFilters== false && this.ParentMenu.o10.ie(document.body.filters) && this.ParentMenu.le.o){ this.ParentMenu.le.HasFilters= true; }if ((this.ParentMenu.le.HasFilters== false) || !(this.ParentMenu.le.o)){return; }if (this.ParentMenu.le.HasFilters && this.ParentMenu.le.Q){return; }if (this.ParentMenu.le.HasFilters && this.ParentMenu.o10.ie(this.ParentMenu.i1o)){if (this.ParentMenu.o10.ie(this.ExpandEffect) && this.ExpandEffect!=""){var I1o=""; var o1p=.10000e3; if (this.ParentMenu.o10.ie(this.I1d) && this.I1d!=""){o1p=this.I1d; }else if (this.ParentMenu.o10.ie(this.ParentMenu.O1p) && this.O1p!=""){o1p=this.ParentMenu.O1p; }switch (this.ExpandEffect){case "B\x61rn":var I4="out"; var o5="vertical"; I1o=this.ParentMenu.i1o.l4(this.Container,I4,o5,o1p); break; case "Blinds":var bands=10; var direction="down"; I1o=this.ParentMenu.i1o.l5(this.Container,bands,direction,o1p); break; case "Ch\x65\143\x6b\x65rBoa\x72\x64":var I5=10; var o6=10; var direction="\x72ight"; I1o=this.ParentMenu.i1o.i5(this.Container,I5,o6,direction); break; case "Fade":var l6=.10e1; I1o=this.ParentMenu.i1o.O6(this.Container,l6,o1p); break; case "\x47\162adie\x6e\x74Wip\x65":var I4="\x66orward"; var Oa=.25; var o8=0; I1o=this.ParentMenu.i1o.oa(this.Container,I4,Oa,o8,o1p); break; case "\x49nset":var Ia=0; I1o=this.ParentMenu.i1o.ia(this.Container,Ia,o1p); break; case "Iris":var I6="PLUS"; var I4="out"; I1o=this.ParentMenu.i1o.i6(this.Container,I6,I4,o1p); break; case "Pixelate":var O7=50; I1o=this.ParentMenu.i1o.o7(this.Container,O7,o1p); break; case "\x52adialWi\x70\x65":var o8="CLOCK"; I1o=this.ParentMenu.i1o.I7(this.Container,o8,o1p); break; case "\x52andomBa\x72\x73":var o5="horizo\x6e\x74al"; I1o=this.ParentMenu.i1o.l7(this.Container,o5,o1p); break; case "Rand\x6f\x6d\x44i\x73\x73olve":I1o=this.ParentMenu.i1o.i7(this.Container,o1p); break; case "Slide":var l8="\x48IDE"; var bands=1; I1o=this.ParentMenu.i1o.O8(this.Container,l8,bands,o1p); break; case "Spir\x61\x6c":var I8=16; var o9=16; I1o=this.ParentMenu.i1o.i8(this.Container,I8,o9,o1p); break; case "\x53tretch":var l9="\x53PIN"; I1o=this.ParentMenu.i1o.O9(this.Container,l9,o1p); break; case "Strips":var I4="\x6c\x65ftdown"; I1o=this.ParentMenu.i1o.i9(this.Container,I4,o1p); break; case "\127\x68eel":var spokes=4; I1o=this.ParentMenu.i1o.I9(this.Container,spokes,o1p); break; case "\x5aigzag":var I8=16; var o9=16; I1o=this.ParentMenu.i1o.la(this.Container,I8,o9,o1p); break; }}if (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.l1p>0){if ((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)){I1o=this.ParentMenu.i1o.Oc(this.Container,this.ParentMenu.Opacity,0); }if (this.ParentMenu.l1p>0){I1o=this.ParentMenu.i1o.oc(this.Container,135,this.ParentMenu.i1p,this.ParentMenu.l1p); }}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; if ((this.ParentMenu.o10.ie(this.ExpandEffect) && this.ExpandEffect!="") || this.ParentMenu.o10.ie(this.ExpandEffect) || (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.l1p>0)){ this.ApplyEffects(); }var I1p=this.ParentMenu.o10.Or(parentElement); var o1q=this.ParentMenu.o10.Ir(parentElement); var O1q=this.ParentMenu.o10.Ij(parentElement); var l1q=this.ParentMenu.o10.ok(parentElement); this.GroupExpand(I1p,o1q,O1q,l1q); if (this.I1e){var s=this.I1e+"\x28t\x68\x69s);"; eval(s); }}};function RadMenu(i1q,i1c,I1q,o1r){if (RadHelper.ie(RadBrowserHelper)){ this.le=RadBrowserHelper; }else {RadBrowserHelper=new Browser(); this.le=RadBrowserHelper; }if (RadHelper){ this.o10=RadHelper; }else {RadHelper=new HelperObject(RadBrowserHelper); this.o10=RadHelper; } this.i1o=null; if (RadFiltersHelper!=null){ this.i1o=RadFiltersHelper; }if (this.le.HasFilters== false && this.o10.ie(document.body.filters) && this.le.o){RadFiltersHelper=new RadFilters(); this.i1o=RadFiltersHelper; } this.AllGroups=new Hashtable(); this.AllItems=new Hashtable(); this.ID=i1q[0][0]; this.l15=i1q[0][1]; this.O1r=i1q[0][2]; this.l1r=i1q[0][3]; this.ImagesBaseDir=""; this.ImagesBaseDir=i1q[0][4]; this.l1o=i1q[0][5]; this.i1r=i1q[0][6]; this.I1r=i1q[0][7]; this.o1s=i1q[0][8]; this.IsContext=i1q[0][9]; this.ContextHtmlElementID=i1q[0][10]; this.O1s=i1q[0][11]; this.i1a=i1q[0][12]; this.ClickToOpen=i1q[0][13]; this.l1s=i1q[0][14]; this.Width=i1q[0][15]; this.Height=i1q[0][16]; this.O1c=i1q[0][17]; this.i14=i1q[0][18]; this.I14=i1q[0][19]; this.O11=i1q[0][20]; this.o11=i1q[0][21]; this.l11=i1q[0][22]; this.i11=i1q[0][23]; this.I11=i1q[0][24]; this.i1s=i1q[0][25]; this.I1s=i1q[0][26]; this.o1t=i1q[0][27]; this.O1t=i1q[0][28]; this.l1t=i1q[0][29]; this.i1t=i1q[0][30]; this.I1t=i1q[0][31]; this.o1u=i1q[0][32]; this.O1u=i1q[0][33]; this.l1u=i1q[0][34]; this.i1u=i1q[0][35]; this.I1u=i1q[0][36]; this.o1v=i1q[0][37]; this.O1v=i1q[0][38]; this.l1v=i1q[0][39]; this.i1v=i1q[0][40]; this.I1v=i1q[0][41]; this.o1w=i1q[0][42]; this.O1w=i1q[0][43]; this.Opacity=i1q[0][44]; this.l1p=i1q[0][45]; this.i1p=i1q[0][46]; this.O1p=i1q[0][47]; this.l1w=i1q[0][48]; this.IsStatic=i1q[0][49]; this.i1w=new Hashtable(); this.I1w=new Array(); this.o18= false; this.TemplateEnabled= false; this.PopulateMenuTree(i1c,I1q,o1r); this.RootGroup=this.GetGroup(i1q[0][50]); if (!this.o10.ie(this.IsContext)){ this.RootGroup.Visible= true; } this.o1x=""; this.o1x=i1q[0][51]; this.O1x=i1q[0][52]; this.O13=i1q[0][53]; this.l13=i1q[0][54]; this.l1x=i1q[0][55]; this.i1x=""; this.I1b= false; if (this.RootGroup){ this.Container=this.RootGroup.Container; } this.O17=new Array(); this.FirstClick= false; if (!this.ClickToOpen){ this.FirstClick= true; } this.I17=0; if (this.IsContext && this.o10.ie(tlrkContextMenus)){if (this.ContextHtmlElementID){tlrkContextMenus.AddItem(this.ContextHtmlElementID,this ); }else {tlrkContextMenus.o16("d\x65fa\x75\x6ct"); tlrkContextMenus.AddItem("default",this ); }}if (this.o10.ie(tlrkKeyboard)){tlrkKeyboard[tlrkKeyboard.length]=this ; }if (this.o10.ie(tlrkMenus)){tlrkMenus[tlrkMenus.length]=this ; }var Iz=this ; this.o10.AttachEventListener(document,"\x6dousedown", function (processedEvent){Iz.I1x(processedEvent); } ); if (typeof(ExtendMenuWithScroll)!="\x75ndefin\x65\x64" && (typeof(ExtendMenuWithScroll)=="f\x75\x6ection")){ExtendMenuWithScroll(); }if (typeof(ExtendMenuWithKeyboard)!="\x75\x6edefin\x65\x64" && (typeof(ExtendMenuWithKeyboard)=="\x66\x75nction")){ExtendMenuWithKeyboard(); }if (this.o10.ie(this.KeyDown) && this.o10.ie(this.KeyUp)){ this.o10.AttachEventListener(document,"\x6b\x65ydown", function (processedEvent){Iz.KeyDown(processedEvent); } ); this.o10.AttachEventListener(document,"\x6beyup", function (processedEvent){Iz.KeyUp(processedEvent); } ); } this.o1y=0; this.O1y=-1; this.l1y=-1; this.ScrollLeftTime=0; this.ScrollRightTime=0; this.ScrollUpTime=0; this.ScrollDownTime=0; this.i1y= false; this.I1y= false; this.InitDefaults(); }RadMenu.prototype.InitDefaults= function (){if (((document.readyState && document.readyState=="complete") || typeof(document.readyState)=="undefine\x64") && !this.I1y){MenuCopyToBody(); if (this.RootGroup.O1m){ this.RootGroup.O1m(); }o1z(this ); if (RadHelper.ie(this.l1x)){var O1z=this.AllItems.o16(this.l1x); if (O1z!=null){ this.ClickToOpen= true; this.FirstClick= true; this.l1z(O1z, true , false ,""); }}if (this.IsStatic== true){ this.PositionTopGroup(); } this.I1y= true; }};RadMenu.prototype.I10= function (i1z){var I1z=""; if (this.o10.ie(i1z)){if (this.o10.ie(this.ImagesBaseDir)){I1z=this.ImagesBaseDir+i1z; }else {I1z=i1z; }}return I1z; };RadMenu.prototype.PositionTopGroup= function (){ this.i17(this.o1y); if (this.o10.ie(this.RootGroup)){if ((this.O1y<0) && (this.l1y<0)){if (this.i1r== true){ this.O1y=this.I1r; this.l1y=this.o1s; }else { this.O1y=this.getx(); this.l1y=this.gety(); }}if (!o20){var O20=document.body; CopyObjToBody(O20,this.RootGroup.Container); }var l20=this.o10.Iq(); var i20=this.o10.ScrollLeft(); var Oo=this.o10.oj(this.RootGroup.Container); if (this.o10.ie(Oo.position) || Oo.position==""){Oo.position="\141\x62solute"; }Oo.top=l20+this.l1y+"\x70x"; Oo.left=i20+this.O1y+"px"; var Iz=this ; if (this.le.R || this.le.Q){ this.o1y=window.setTimeout(this.ID+"\x2ePosit\x69\x6fnTop\x47\x72oup\x28);",this.O1w); ; }else { this.o1y=window.setTimeout( function (){Iz.PositionTopGroup(); } ,this.O1w); }}};RadMenu.prototype.ImagePreload= function (I20,o21){if (I20==o21){ this.I1b= true; }};RadMenu.prototype.PopulateMenuTree= function (i1c,I1q,o1r){var i=0; for (i=0; i<i1c.length; i++){var O21=new RadMenuGroup(this,i1c[i]); this.AllGroups.Add(O21); var l21=O21.Container.getElementsByTagName("TD"); for (var i21=0; i21<l21.length; i21++){l21[i21].setAttribute("\x75nselectable","on"); }}for (i=0; i<I1q.length; i++){var I21=new RadMenuItem(this,I1q[i],o1r); if (this.o10.ie(I21.l14)){ this.TemplateEnabled= true; } this.AllItems.Add(I21); if (this.o10.ie(I21.o13)){var o22="\x69"; if (this.o10.ie(I21.l13)){o22+=I21.l13; }if (this.o10.ie(I21.O13)){o22+=I21.O13; }o22+=I21.o13; this.i1w.AddItem(o22,I21); }}if (o1r && o1r.length>0){for (i=0; i<o1r.length; i++){if (this.GetItem(o1r[i][0])){ (this.GetItem(o1r[i][0])).CustomAttributes=o1r[i]; }}}var O22=this.AllGroups.Values; for (i=0; i<O22.length; i++){var j=0; var I21=this.GetItem(O22[i].o1d); O22[i].iz=I21; var l22=O22[i].O16; for (j=0; j<l22.length; j++){var i22=l22[j]; i22.iz=I21; if (j==0){i22.PreviousItem=l22[l22.length-1]; }else {i22.PreviousItem=l22[j-1]; }if (j==(l22.length-1)){i22.NextItem=l22[0]; }else {i22.NextItem=l22[j+1]; }}}};RadMenu.prototype.getx= function (){return this.o10.Or(this.RootGroup.Container); };RadMenu.prototype.gety= function (){return this.o10.Ir(this.RootGroup.Container); };RadMenu.prototype.ShowMenu= function (){ this.o10.Show(this.RootGroup.Container); };RadMenu.prototype.HideMenu= function (){ this.o10.In(this.RootGroup.Container); };RadMenu.prototype.GetItem= function (I22){return this.AllItems.o16(I22); };RadMenu.prototype.GetGroup= function (o23){return this.AllGroups.o16(o23); };RadMenu.prototype.ProcItem= function (O23,l18){ this.i17(this.I17); this.o18= true; var O18=this.AllGroups.o16(l18); var l23=this.AllItems.o16(O23.id); if (l23==(l23.ParentGroup.i18)){return; }if (!l23 || !l23.Enabled){return; }var I18=l23.i10; if (this.o10.ie(l18) && this.O17[I18+1]==l18){return; } this.CloseAll(I18); if (O18 && (this.FirstClick== true)){ this.O17[I18+1]=l18; O18.Show(O23); }var o19=l23.ParentGroup.i18; if (l23==o19){return; }if (o19){o19.RemoveHilight(); }l23.ParentGroup.i18=l23; if (!this.o10.ie(l23.l14)){l23.ApplyHilight(); }} ; RadMenu.prototype.CloseAll= function (i23,I23){for (var i=this.O17.length-1; i>i23; i--){if (this.O17[i]){var o24=this.GetGroup(this.O17[i]); if (o24){ this.o10.In(o24.Container.iframeShim,o24.Container); o24.Visible= false; this.O17[i]=null; if (o24.i18){o24.i18.RemoveHilight(); o24.i18=null; }if (o24.OnClientGroupCollapse){var s=o24.OnClientGroupCollapse+"\050this);"; eval(s); }}}}if ((i23==0) && this.RootGroup.i18){if (!I23){ this.RootGroup.i18.RemoveHilight(); this.RootGroup.i18=null; }}} ; RadMenu.prototype.o1k= function (){var Iz=this ; this.i17(this.I17); if (this.le.R || this.le.Q){ this.I17=window.setTimeout(this.ID+".CloseAl\x6c(0);"+this.ID+".UsesKeyb\x6f\x61rd \x3d\x20fals\x65;windo\x77\056\x73\x74at\x75s=\047\x27;",this.O1w); }else { this.I17=window.setTimeout( function (){Iz.CloseAll(0); Iz.o18= false; window.status=""; } ,this.O1w); }} ; RadMenu.prototype.i17= function (O24){if (O24!=0){clearTimeout(O24); O24=0; }} ; RadMenu.prototype.l1z= function (l24,i24,I24,o25){var lz=l24.GetParentItems(); var O25=(o25!="")?o25: this.i11; for (var i=(lz.Values.length-1); i>=0; i--){var l25=lz.Values[i].Container; if (i24){ this.ProcItem(l25,lz.Values[i].O14); }if (I24){l25.className=O25; if (this.O1c== true && l25.Cells!=null){for (var i=0; i<l25.Cells.length; i++){l25.Cells[i].className=O25; }}}}};RadMenu.prototype.MouseUp= function (O23,processedEvent){var l23=this.GetItem(O23.id); if (l23.I16!= false){l23.o17(processedEvent); l23.RemoveClick(processedEvent); }};RadMenu.prototype.MouseDown= function (O23,processedEvent){var l23=this.GetItem(O23.id); if (!l23.Enabled){return null; }if (this.o10.ie(l23.l14)){return true; }if (this.FirstClick== false){ this.FirstClick= true; if (l23.ChildGroup){ this.O17[l23.i10+1]=l23.ChildGroup.ID; l23.ChildGroup.Show(O23); }}else if (this.FirstClick && this.ClickToOpen && (l23.ParentGroup==this.RootGroup)){ this.FirstClick= false; this.CloseAll(0, true); }if (l23.I16!= false){l23.ApplyClick(processedEvent); l23.l17(processedEvent); }};RadMenu.prototype.i25= function (I25){if (this.o10.Il(I25,this.RootGroup.ID, false)){return true; }for (var i=0; i<this.O17.length; i++){if (this.o10.ie(I25.id) && (this.O17[i]==I25.id)){return true; }else if (this.o10.Il(I25,this.O17[i], false)){return true; }}return false; };RadMenu.prototype.OnContext= function (processedEvent,o26){if (!(this.IsContext)){return; }if (!processedEvent){var processedEvent=window.event; }var O26=null;var l26= false; var O26=this.o10.lg(processedEvent); if (this.i25(O26)){return; }if (this.o10.ie(o26)){if (!this.o10.Om(O26,o26)){return; }}var i26=this.o10.Ih(processedEvent); var I26=this.o10.oi(processedEvent); if (!this.o10.ie(i26) || !this.o10.ie(I26)){return; }var o27=this.o10.ScrollLeft()+this.o10.os(); var O27=this.o10.Iq()+this.o10.Os(); i26=(i26>o27)?o27:i26; I26=(I26>O27)?O27:I26; this.o10.ii(processedEvent); this.RootGroup.GroupExpand(i26,I26,0,0); this.RootGroup.Visible= true; if (this.le.M){ this.l27= true; }return false; };RadMenu.prototype.I1x= function (processedEvent){if (this.ClickToOpen || this.IsContext){if (this.i25(this.o10.lg(processedEvent))){return; } this.CloseAll(0); if (this.IsContext && this.RootGroup.Visible== true){if (this.le.M && this.l27){ this.l27= false; return true; } this.RootGroup.Visible= false; this.o10.In(this.RootGroup.Container); if (this.RootGroup.OnClientGroupCollapse){var s=this.RootGroup.OnClientGroupCollapse+"\x28\x74his);"; eval(s); }} this.o18= false; window.status=""; if (this.ClickToOpen){ this.FirstClick= false; }}};
