function RadMenuItem(oe,Oe,le){ this.ParentMenu=oe; this.ie=null; this.Ie=null; this.ParentGroup=null; this.ChildGroup=null; this.of=null; this.PreviousItem=null; this.NextItem=null; this.Container=document.getElementById(Oe[0]); var Of=this ; if (this.ParentMenu.If.e(this.Container)){ this.Container.onmousedown= function (processedEvent){Of.MouseDown(processedEvent);} ; this.Container.onmouseup= function (processedEvent){Of.MouseUp(processedEvent);} ; this.Container.onmouseover= function (processedEvent){Of.ProcItem(processedEvent);} ; } this.Container.Images=this.Container.getElementsByTagName("\151\x6dg"); this.Container.Cells=this.Container.getElementsByTagName("td"); this.Container.F=this.Container.getElementsByTagName("tabl\x65"); this.CustomAttributes=null; for (i=0; i<le.length; i++){if (this.ID==le[i][0]){ this.CustomAttributes=le[i]; break; }} this.ID=Oe[0]; this.og=Oe[1]; this.Og=Oe[2]; this.Width=Oe[3]; this.Height=Oe[4]; this.Image=this.ParentMenu.lg(Oe[5]); this.ImageDisabled=this.ParentMenu.lg(Oe[6]); this.ImageClicked=this.ParentMenu.lg(Oe[7]); this.ImageOver=this.ParentMenu.lg(Oe[8]); this.LeftLogo=this.ParentMenu.lg(Oe[9]); this.LeftLogoOver=this.ParentMenu.lg(Oe[10]); this.LeftLogoDisabled=this.ParentMenu.lg(Oe[11]); this.LeftLogoClicked=this.ParentMenu.lg(Oe[12]); this.RightLogo=this.ParentMenu.lg(Oe[13]); this.RightLogoOver=this.ParentMenu.lg(Oe[14]); this.RightLogoDisabled=this.ParentMenu.lg(Oe[15]); this.RightLogoClicked=this.ParentMenu.lg(Oe[16]); this.CssClass=Oe[17]; if (!this.ParentMenu.If.e(this.CssClass)){ this.CssClass=oe.ig; } this.LevelCss=Oe[18]; if (!this.ParentMenu.If.e(this.LevelCss)){ this.LevelCss=oe.Ig; } this.CssClassOver=Oe[19]; if (!this.ParentMenu.If.e(this.CssClassOver)){ this.CssClassOver=oe.oh; } this.CssClassClicked=Oe[20]; if (!this.ParentMenu.If.e(this.CssClassClicked)){ this.CssClassClicked=oe.Oh; } this.CssClassDisabled=Oe[21]; if (!this.ParentMenu.If.e(this.CssClassDisabled)){ this.CssClassDisabled=oe.lh; } this.ih=Oe[22]; this.Text=Oe[23]; this.Ih=Oe[24]; this.oi=Oe[25]; this.Oi=Oe[26]; this.ii=Oe[27]; this.Href=null; this.Href=Oe[28]; this.Target=null; this.Target=Oe[29]; this.ImageAlt=Oe[30]; this.ImageLongDesc=Oe[31]; this.StatusBarTip=Oe[32]; this.ImageWidth=Oe[33]; this.ImageHeight=Oe[34]; this.Ii=Oe[35]; this.ToolTip=Oe[36]; this.Value=Oe[37]; this.ToolTip=Oe[38]; this.Category=Oe[39]; this.oj=Oe[40]; this.Oj=Oe[41]; this.lj=Oe[42]; this.Enabled=Oe[43]; this.ij=Oe[44]; this.Visible=Oe[45]; this.Selected=Oe[46]; this.Ij=null; this.Ij=Oe[47]; this.ImageWidth=Oe[48]; this.ImageHeight=Oe[49]; this.ok=Oe[50]; this.Ok=null; this.Ok=Oe[51]; this.lk=null; this.lk=Oe[52]; this.ik=null; this.ik=Oe[53]; this.Ik=null; this.Ik=Oe[54]; this.ll=Oe[55]; if (this.ParentMenu.il){ this.Il=Oe[56]; this.om=Oe[57]; }else { this.Il=null; this.om=null; } this.ParentGroup=this.ParentMenu.AllGroups.A(this.og); this.ChildGroup=this.ParentMenu.AllGroups.A(this.ok); this.of=this.ParentGroup.of; this.ParentGroup.I0[this.ParentGroup.I0.length]=this ; this.Om=0; this.Im=0; this.SetInitialState(); this.ResetStateToInitial(); if ((this.Ij!=null) || this.Href!=null || (this.ParentMenu.ClickToOpen== true) || (this.ParentMenu.If.e(this.ik) || this.ParentMenu.If.e(this.ParentMenu.ik) || this.ParentMenu.If.e(this.lk) || this.ParentMenu.If.e(this.ParentMenu.lk) || this.ParentMenu.If.e(this.Ik))){ this.On= true; }else { this.On= false; }}RadMenuItem.prototype.MouseUp= function (processedEvent){if (this.On!= false){ this.In(processedEvent); this.RemoveClick(processedEvent); }};RadMenuItem.prototype.MouseDown= function (processedEvent){if (!this.Enabled){return null; }if (this.ParentMenu.If.e(this.Ok)){return true; }if (this.ParentMenu.FirstClick== false){ this.ParentMenu.FirstClick= true; if (this.ChildGroup){ this.ParentMenu.oo[this.Og+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.On!= false){ this.ApplyClick(processedEvent); this.Oo(processedEvent); }};RadMenuItem.prototype.ProcItem= function (){ this.ParentMenu.Io(this.ParentMenu.op); this.ParentMenu.Op= true; var lp=null; var ip=""; if (this.ChildGroup){lp=this.ChildGroup; ip=lp.ID; }if (this ==(this.ParentGroup.Ip)){return; }if (!this || !this.Enabled){return; }var oq=this.Og; if (this.ParentMenu.If.e(lp) && this.ParentMenu.oo[oq+1]==ip){return; } this.ParentMenu.CloseAll(oq); if (lp && (this.ParentMenu.FirstClick== true)){ this.ParentMenu.oo[oq+1]=ip; lp.Show(this.Container); }var Oq=this.ParentGroup.Ip; if (this ==Oq){return; }if (Oq){Oq.RemoveHilight(); } this.ParentGroup.Ip=this ; if (!this.ParentMenu.If.e(this.Ok)){ this.ApplyHilight(); }} ; RadMenuItem.prototype.GetParentGroups= function (){if (!this.ie){ this.ie=new Hashtable(); }if (this.ie.length()<=0){var lq=this.ParentGroup; while ((lq!=null)){ this.ie.Add(lq); if (lq.of!=null){lq=lq.of.ParentGroup; }else {break; }}}return this.ie; };RadMenuItem.prototype.GetParentItems= function (){if (!this.Ie){ this.Ie=new Hashtable(); }if (this.Ie.length()<=0){var iq=this ; while ((iq!=null)){ this.Ie.Add(iq); if (iq.of!=null){iq=iq.of; }else {break; }}}return this.Ie; };RadMenuItem.prototype.SetInitialState= function (Iq){if (!Iq){if (this.Enabled){if (this.Selected){ this.Om |= MODE_NORMAL; this.Om |= MODE_SELECTED; }else { this.Om |= MODE_NORMAL; }}else { this.Om |= MODE_DISABLED; }}else { this.Om=parseInt(Iq); }};RadMenuItem.prototype.ResetStateToInitial= function (){ this.Im=this.Om; };RadMenuItem.prototype.RemoveState= function (or){ this.Im &= ~or; };RadMenuItem.prototype.AddState= function (Or){ this.Im |= Or; };RadMenuItem.prototype.CheckState= function (lr){if ((this.Im&lr)==lr){return true; }else {return false; }};RadMenuItem.prototype.ir= function (){if (this.Href!=null){try {if (this.Target!=null){if (this.Target=="\x5fblank"){window.open(this.Href); }else if (this.Target=="_se\x6cf"){self.location.href=this.Href; }else if (this.Target=="_top"){top.location.href=this.Href; }else if (this.Target=="\137parent"){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("\x46\x72ame \047"+this.Target+"\x27has \x6e\x6ft \x6coaded\x20or d\x6fesn\x27t exi\x73t"); }}else {window.open(this.Href,this.Target); }}else {self.location.href=this.Href; }}catch (Ir){}}if (this.Ij!=null){if (this.ParentMenu.os){if (typeof(Page_ClientValidate)!="f\x75nction" || Page_ClientValidate()){try {eval(this.Ij); }catch (Ir){}}}else {try {eval(this.Ij); }catch (Ir){}}}};RadMenuItem.prototype.Action= function (Os,processedEvent){if (this.ll){return; }if ((Os==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){if (this.ParentMenu.ls.is && this.StatusBarTip){window.status=this.StatusBarTip; }if (this.ik){var s=this.ik+"(\x74\x68is,proc\x65ssedE\x76ent)\x3b"; eval(s); }else if (this.ParentMenu.ik){var s=this.ParentMenu.ik+"(\x74his,proc\x65ssedEv\x65\156\x74);"; eval(s); }}if ((Os==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){if (this.ParentMenu.If.Is(processedEvent)){return; }if (this.lk){var s=this.lk+"(this\x2cprocess\x65dEvent\x29;"; if (eval(s)== false){return; }}else if (this.ParentMenu.lk){var s=this.ParentMenu.lk+"\x28this,pr\x6f\x63e\x73sedEve\x6et);"; if (eval(s)== false){return; }} this.ir(); }if ((Os==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){if (this.Selected== true){ this.Selected= false; }else { this.Selected= true; }if (this.Ik){var s=this.Ik+"\x28th\x69\x73,"+this.Selected+");"; eval(s); }}if ((Os==MODE_NORMAL) && !this.CheckState(MODE_NORMAL)){ this.Enabled= true; }if ((Os==MODE_DISABLED) && !this.CheckState(MODE_DISABLED)){ this.Enabled= false; }};RadMenuItem.prototype.Render= function (Os,processedEvent){if (this.ll){return; }var ot=null; var Ot=null; var lt=null; var it=null; if ((Os==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){ot=this.ImageOver; Ot=this.LeftLogoOver; lt=this.RightLogoOver; it=this.CssClassOver; }else if ((Os==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){ot=this.ImageClicked; Ot=this.LeftLogoClicked; lt=this.RightLogoClicked; it=this.CssClassClicked; }else if ((Os==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){ot=this.ImageClicked; Ot=this.LeftLogoClicked; lt=this.RightLogoClicked; it=this.CssClassClicked; }else if ((Os==MODE_NORMAL) && this.CheckState(MODE_NORMAL)){ot=this.Image; Ot=this.LeftLogo; lt=this.RightLogo; it=this.CssClass; }else if ((Os==MODE_DISABLED) && this.CheckState(MODE_DISABLED)){ot=this.ImageDisabled; Ot=this.LeftLogoDisabled; lt=this.RightLogoDisabled; it=this.CssClassDisabled; }if (ot && (this.ParentMenu.It== true)){if (this.Container.Images[0].src!=ot){ this.Container.Images[0].src=ot; }}else {if (Ot && (this.ParentMenu.It== true)){if (this.Container.Images[0].src!=Ot){ this.Container.Images[0].src=Ot; }}if (lt && (this.ParentMenu.It== true)){var ou=(this.LeftLogo)?(this.Container.Images.length-1): 0; if (this.Container.Images[ou].src!=lt){ this.Container.Images[ou].src=lt; }}}if (it!=null && (this.Container.className!=it)){ this.Container.className=it; if ((this.ParentMenu.Ou) && this.Container.Cells!=null){for (var i=0; i<this.Container.Cells.length; i++){ this.Container.Cells[i].className=it; }}}};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.Oo= function (processedEvent){ this.AddState(MODE_SELECTED); this.Action(MODE_SELECTED,processedEvent); };RadMenuItem.prototype.In= function (processedEvent){ this.RemoveState(MODE_SELECTED); };function RadMenuGroup(lu,iu){ this.ParentMenu=lu; this.I0=new Array(); this.of=null; this.ie=null; this.Ie=null; this.Container=document.getElementById(iu[0]); var Of=this ; if (this.ParentMenu.If.e(this.Container)){ this.Container.onmouseout= function (processedEvent){Of.GroupStatus(processedEvent);} ; } this.Visible= false; this.Ip=null; this.ID=iu[0]; this.Iu=iu[1]; this.ov=iu[2]; this.Ov=iu[3]; this.lv=iu[4]; this.Og=iu[5]; this.Width=iu[6]; this.CssClass=iu[7]; this.LevelCss=iu[8]; this.iv=iu[9]; if (!this.iv){ this.iv=RIGHT_DIRECTION; } this.ExpandEffect=iu[10]; this.Iv=iu[11]; this.i0=iu[12]; if (!this.i0){ this.i0=VERTICAL_DIRECTION; } this.ow=iu[13]; this.Ow=iu[14]; this.lw=this.ParentMenu.lg(iu[15]); this.iw=null; this.iw=iu[16]; this.Iw=iu[17]; if (this.Iw== true){ this.ox=iu[18]; this.Ox=iu[19]; this.lx=this.ParentMenu.lg(iu[20]); this.ix=this.ParentMenu.lg(iu[21]); this.Ix=this.ParentMenu.lg(iu[22]); this.oy=this.ParentMenu.lg(iu[23]); this.Oy=this.ParentMenu.lg(iu[24]); this.ly=this.ParentMenu.lg(iu[25]); this.iy=this.ParentMenu.lg(iu[26]); this.Iy=this.ParentMenu.lg(iu[27]); this.oz=iu[28]; this.Oz=iu[29]; this.lz=iu[30]; this.iz=iu[31]; this.Iz=null; this.o10=null; this.O10=null; this.l10=null; this.i10=null; this.I10=null; this.o11=null; this.O11=null; this.l11=null; }}RadMenuGroup.prototype.GroupStatus= function (i11){if (!i11){var i11=window.event; }if (this.ParentMenu.If.U((i11.I11)?i11.I11:i11.toElement,this.ID)){return; }if (!(this.ParentMenu.ClickToOpen && this.ParentMenu.FirstClick== true)){ this.ParentMenu.Op= true; this.ParentMenu.o12(); }};RadMenuGroup.prototype.AddItem= function (item){ this.I0.Add(item); };RadMenuGroup.prototype.RemoveItem= function (item){ this.I0.Remove(item); };RadMenuGroup.prototype.GroupExpand= function (O12,l12,i12,I12){if (!this.ParentMenu.If.e(O12) || !this.ParentMenu.If.e(l12)){return; }var o13=0; var O13=0; if (this.ParentMenu.IsStatic){o13=this.ParentMenu.If.l13(); O13=this.ParentMenu.If.ScrollLeft(); }var i13=0; var I13=0; var o14=0; var O14=0; i13=O12; I13=this.ParentMenu.If.l14()-(O12+i12); o14=l12; O14=this.ParentMenu.If.i14()-(l12+I12); if (this.o1){ this.o1(); }var I14=0; I14=this.ParentMenu.If.o15(this.Container.childNodes[0]); if (I14==0){I14=this.ParentMenu.If.o15(this.Container); }var O15=0; O15=this.ParentMenu.If.l15(this.Container.childNodes[0]); if (O15==0){O15=this.ParentMenu.If.l15(this.Container); }var i15=0; var I15=0; var o16=0; var O16=this.ParentMenu.If; if (O16.e(this.of)){var l16=O16.l0(this.of.Container); if (l16 && (l16.direction=="\x72tl")){o16=i12-I14; }}switch (this.iv){case UP_DIRECTION:i15=O12+o16; I15=l12-O15; break; case DOWN_DIRECTION:i15=O12+o16; I15=l12+I12; break; case LEFT_DIRECTION:I15=l12; i15=O12-I14; break; case RIGHT_DIRECTION:I15=l12; i15=O12+i12; break; default:I15=l12; i15=O12+i12; break; }i15+=this.ow; I15+=this.Ow; var i16=this.ParentMenu.If.I16(i15,I15,I14,O15); if ((this.ParentMenu.If.l14()-(i15+O13))>(this.ParentMenu.If.l14()/2)){i16.o17=0; }if ((this.ParentMenu.If.i14()-(I15+o13))>(this.ParentMenu.If.i14()/2)){i16.O17=0; }if (this.ParentMenu.IsStatic){i16.O17=0; }var l17=this.ParentMenu.If.l0(this.Container); if (i16.o17!=0 && i16.O17!=0){l17.left=(O12-I14)+"\x70x"; l17.top=((l12+I12)-O15)+"px"; }else if (i16.o17!=0){l17.top=I15+"px"; l17.left=(O12-I14)+"\x70x"; }else if (i16.O17!=0){l17.left=i15+"\x70x"; l17.top=((l12+I12)-O15)+"\x70x"; }else if (i16.o17==0 && i16.O17==0){l17.left=i15+"\x70\x78"; l17.top=I15+"px"; } this.ShowOverlay(l17.left,l17.top); this.ParentMenu.If.Show(this.Container); };RadMenuGroup.prototype.ShowOverlay= function (i17,I17){if (document.readyState=="\x63ompl\x65\x74e" && this.ParentMenu.o18 && (this.ParentMenu.ls.O18 || this.ParentMenu.ls.l18)){if (!this.ParentMenu.If.e(this.Container.iframeShim)){ this.Container.iframeShim=this.ParentMenu.If.i18(this.Container); } this.Container.iframeShim.style.top=(I17!=null)?I17: this.Container.style.top+"\x70x"; this.Container.iframeShim.style.left=(i17!=null)?i17: this.Container.style.left+"\x70x"; this.Container.iframeShim.style.zIndex=(this.Container.style.zIndex-1); this.ParentMenu.If.Show(this.Container.iframeShim); }};RadMenuGroup.prototype.ApplyEffects= function (){if (this.ParentMenu.ls.HasFilters== false && this.ParentMenu.If.e(document.body.filters) && this.ParentMenu.ls.O4){ this.ParentMenu.ls.HasFilters= true; }if ((this.ParentMenu.ls.HasFilters== false) || !(this.ParentMenu.ls.O4)){return; }if (this.ParentMenu.ls.HasFilters && this.ParentMenu.ls.I18){return; }if (this.ParentMenu.ls.HasFilters && this.ParentMenu.If.e(this.ParentMenu.o19)){if (this.ParentMenu.If.e(this.ExpandEffect) && this.ExpandEffect!=""){var O19=""; var l19=.10000e3; if (this.ParentMenu.If.e(this.Iv) && this.Iv!=""){l19=this.Iv; }else if (this.ParentMenu.If.e(this.ParentMenu.i19) && this.i19!=""){l19=this.ParentMenu.i19; }switch (this.ExpandEffect){case "Bar\x6e":var I19="o\x75t"; var o1a="\x76ertica\x6c"; O19=this.ParentMenu.o19.O1a(this.Container,I19,o1a,l19); break; case "Blin\x64s":var bands=10; var direction="down"; O19=this.ParentMenu.o19.l1a(this.Container,bands,direction,l19); break; case "\x43hec\x6b\x65r\x42oard":var i1a=10; var I1a=10; var direction="r\x69ght"; O19=this.ParentMenu.o19.o1b(this.Container,i1a,I1a,direction); break; case "\x46ade":var O1b=.10e1; O19=this.ParentMenu.o19.l1b(this.Container,O1b,l19); break; case "\x47rad\x69\x65nt\x57ipe":var I19="\x66o\x72\x77ard"; var i1b=.25; var I1b=0; O19=this.ParentMenu.o19.o1c(this.Container,I19,i1b,I1b,l19); break; case "I\x6eset":var O1c=0; O19=this.ParentMenu.o19.l1c(this.Container,O1c,l19); break; case "\x49ris":var i1c="\x50LUS"; var I19="ou\x74"; O19=this.ParentMenu.o19.I1c(this.Container,i1c,I19,l19); break; case "Pixe\x6cate":var o1d=50; O19=this.ParentMenu.o19.O1d(this.Container,o1d,l19); break; case "\x52a\x64\x69alWipe":var I1b="\x43LO\x43\x4b"; O19=this.ParentMenu.o19.l1d(this.Container,I1b,l19); break; case "\x52and\x6f\x6dBa\x72s":var o1a="horizonta\x6c"; O19=this.ParentMenu.o19.i1d(this.Container,o1a,l19); break; case "R\x61ndomDiss\x6flve":O19=this.ParentMenu.o19.I1d(this.Container,l19); break; case "\x53\x6c\x69de":var o1e="\110\x49DE"; var bands=1; O19=this.ParentMenu.o19.O1e(this.Container,o1e,bands,l19); break; case "Spira\x6c":var l1e=16; var i1e=16; O19=this.ParentMenu.o19.I1e(this.Container,l1e,i1e,l19); break; case "Stre\x74ch":var o1f="SPIN"; O19=this.ParentMenu.o19.O1f(this.Container,o1f,l19); break; case "Str\x69ps":var I19="leftdown"; O19=this.ParentMenu.o19.l1f(this.Container,I19,l19); break; case "\127\x68eel":var spokes=4; O19=this.ParentMenu.o19.i1f(this.Container,spokes,l19); break; case "Zigza\x67":var l1e=16; var i1e=16; O19=this.ParentMenu.o19.I1f(this.Container,l1e,i1e,l19); break; }}if (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.o1g>0){if ((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)){O19=this.ParentMenu.o19.O1g(this.Container,this.ParentMenu.Opacity,0); }if (this.ParentMenu.o1g>0){O19=this.ParentMenu.o19.l1g(this.Container,135,this.ParentMenu.i1g,this.ParentMenu.o1g); }}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.If.e(this.ExpandEffect) && this.ExpandEffect!="") || this.ParentMenu.If.e(this.ExpandEffect) || (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.o1g>0)){ this.ApplyEffects(); }var I1g=this.ParentMenu.If.o1h(parentElement); var O1h=this.ParentMenu.If.l1h(parentElement); var i1h=this.ParentMenu.If.o15(parentElement); var I1h=this.ParentMenu.If.l15(parentElement); this.GroupExpand(I1g,O1h,i1h,I1h); if (this.iw){var s=this.iw+"\050\x74his);"; eval(s); }}};function RadMenu(o1i,iu,O1i,l1i){if (RadHelper.e(RadBrowserHelper)){ this.ls=RadBrowserHelper; }else {RadBrowserHelper=new Browser(); this.ls=RadBrowserHelper; }if (RadHelper){ this.If=RadHelper; }else {RadHelper=new HelperObject(RadBrowserHelper); this.If=RadHelper; } this.o19=null; if (RadFiltersHelper!=null){ this.o19=RadFiltersHelper; }if (this.ls.HasFilters== false && this.If.e(document.body.filters) && this.ls.O4){RadFiltersHelper=new RadFilters(); this.o19=RadFiltersHelper; } this.AllGroups=new Hashtable(); this.AllItems=new Hashtable(); this.ID=o1i[0][0]; this.il=o1i[0][1]; this.i1i=o1i[0][2]; this.I1i=o1i[0][3]; this.ImagesBaseDir=""; this.ImagesBaseDir=o1i[0][4]; this.o18=o1i[0][5]; this.o1j=o1i[0][6]; this.O1j=o1i[0][7]; this.l1j=o1i[0][8]; this.IsContext=o1i[0][9]; this.ContextHtmlElementID=o1i[0][10]; this.i1j=o1i[0][11]; this.os=o1i[0][12]; this.ClickToOpen=o1i[0][13]; this.I1j=o1i[0][14]; this.Width=o1i[0][15]; this.Height=o1i[0][16]; this.Ou=o1i[0][17]; this.lk=o1i[0][18]; this.ik=o1i[0][19]; this.Ig=o1i[0][20]; this.ig=o1i[0][21]; this.oh=o1i[0][22]; this.Oh=o1i[0][23]; this.lh=o1i[0][24]; this.o1k=o1i[0][25]; this.O1k=o1i[0][26]; this.l1k=o1i[0][27]; this.i1k=o1i[0][28]; this.I1k=o1i[0][29]; this.o1l=o1i[0][30]; this.O1l=o1i[0][31]; this.l1l=o1i[0][32]; this.i1l=o1i[0][33]; this.I1l=o1i[0][34]; this.o1m=o1i[0][35]; this.O1m=o1i[0][36]; this.l1m=o1i[0][37]; this.i1m=o1i[0][38]; this.I1m=o1i[0][39]; this.o1n=o1i[0][40]; this.O1n=o1i[0][41]; this.l1n=o1i[0][42]; this.i1n=o1i[0][43]; this.Opacity=o1i[0][44]; this.o1g=o1i[0][45]; this.i1g=o1i[0][46]; this.i19=o1i[0][47]; this.I1n=o1i[0][48]; this.IsStatic=o1i[0][49]; this.o1o=new Hashtable(); this.O1o=new Array(); this.Op= false; this.TemplateEnabled= false; this.PopulateMenuTree(iu,O1i,l1i); this.RootGroup=this.GetGroup(o1i[0][50]); if (!this.If.e(this.IsContext)){ this.RootGroup.Visible= true; } this.l1o=""; this.l1o=o1i[0][51]; this.i1o=o1i[0][52]; this.oj=o1i[0][53]; this.Oj=o1i[0][54]; this.O1=o1i[0][55]; this.I1o=""; this.It= false; if (this.RootGroup){ this.Container=this.RootGroup.Container; } this.oo=new Array(); this.FirstClick= false; if (!this.ClickToOpen){ this.FirstClick= true; } this.op=0; if (this.IsContext && this.If.e(tlrkContextMenus)){if (this.ContextHtmlElementID){tlrkContextMenus.AddItem(this.ContextHtmlElementID,this ); }else {tlrkContextMenus.A("\x64\x65fault"); tlrkContextMenus.AddItem("def\x61ult",this ); }}if (this.If.e(tlrkKeyboard)){tlrkKeyboard[tlrkKeyboard.length]=this ; }if (this.If.e(tlrkMenus)){tlrkMenus[tlrkMenus.length]=this ; }var Of=this ; this.If.AttachEventListener(document,"mousedo\x77n", function (processedEvent){Of.o1p(processedEvent); } ); if (typeof(ExtendMenuWithScroll)!="\x75\x6e\144\x65fine\x64" && (typeof(ExtendMenuWithScroll)=="\146\x75nction")){ExtendMenuWithScroll(); }if (typeof(ExtendMenuWithKeyboard)!="und\x65fined" && (typeof(ExtendMenuWithKeyboard)=="\x66unction")){ExtendMenuWithKeyboard(); }if (this.If.e(this.KeyDown) && this.If.e(this.KeyUp)){ this.If.AttachEventListener(document,"\x6b\x65\x79dow\x6e", function (processedEvent){Of.KeyDown(processedEvent); } ); this.If.AttachEventListener(document,"\x6b\x65\x79up", function (processedEvent){Of.KeyUp(processedEvent); } ); } this.O1p=0; this.l1p=-1; this.i1p=-1; this.ScrollLeftTime=0; this.ScrollRightTime=0; this.ScrollUpTime=0; this.ScrollDownTime=0; this.I1p= false; this.o1q= false; this.InitDefaults(); }RadMenu.prototype.InitDefaults= function (){if (document.readyState && document.readyState=="\143ompl\x65te" && !this.o1q){MenuCopyToBody(); if (this.RootGroup.o1){ this.RootGroup.o1(); }o0(this ); if (RadHelper.e(this.O1)){var l1=this.AllItems.A(this.O1); if (l1!=null){ this.ClickToOpen= true; this.FirstClick= true; this.i1(l1, true , false ,""); }}if (this.IsStatic== true){ this.PositionTopGroup(); } this.o1q= true; }};RadMenu.prototype.lg= function (O1q){var l1q=""; if (this.If.e(O1q)){if (this.If.e(this.ImagesBaseDir)){l1q=this.ImagesBaseDir+O1q; }else {l1q=O1q; }}return l1q; };RadMenu.prototype.PositionTopGroup= function (){ this.Io(this.O1p); if (this.If.e(this.RootGroup)){if ((this.l1p<0) && (this.i1p<0)){if (this.o1j== true){ this.l1p=this.O1j; this.i1p=this.l1j; }else { this.l1p=this.getx(); this.i1p=this.gety(); }}if (!S){var o3=document.body; CopyObjToBody(o3,this.RootGroup.Container); }var i1q=this.If.l13(); var I1q=this.If.ScrollLeft(); var l17=this.If.l0(this.RootGroup.Container); if (this.If.e(l17.position) || l17.position==""){l17.position="\x61\x62solut\x65"; }l17.top=i1q+this.i1p+"\x70x"; l17.left=I1q+this.l1p+"px"; var Of=this ; if (this.ls.o1r || this.ls.I18){ this.O1p=window.setTimeout(this.ID+"\x2eP\x6f\x73iti\x6fnTopG\x72oup(\x29;",this.i1n); ; }else { this.O1p=window.setTimeout( function (){Of.PositionTopGroup(); } ,this.i1n); }}};RadMenu.prototype.ImagePreload= function (O1r,l1r){if (O1r==l1r){ this.It= true; }};RadMenu.prototype.PopulateMenuTree= function (iu,O1i,l1i){var i=0; for (i=0; i<iu.length; i++){var i1r=new RadMenuGroup(this,iu[i]); this.AllGroups.Add(i1r); var I1r=i1r.Container.getElementsByTagName("\x54\x44"); for (var f=0; f<I1r.length; f++){I1r[f].setAttribute("unsel\x65\x63tabl\x65","on"); }}for (i=0; i<O1i.length; i++){var o1s=new RadMenuItem(this,O1i[i],l1i); if (this.If.e(o1s.Ok)){ this.TemplateEnabled= true; } this.AllItems.Add(o1s); if (this.If.e(o1s.Ii)){var O1s="\x69"; if (this.If.e(o1s.Oj)){O1s+=o1s.Oj; }if (this.If.e(o1s.oj)){O1s+=o1s.oj; }O1s+=o1s.Ii; this.o1o.AddItem(O1s,o1s); }}if (l1i && l1i.length>0){for (i=0; i<l1i.length; i++){if (this.GetItem(l1i[i][0])){ (this.GetItem(l1i[i][0])).CustomAttributes=l1i[i]; }}}var K=this.AllGroups.Values; for (i=0; i<K.length; i++){var l=0; var o1s=this.GetItem(K[i].ov); K[i].of=o1s; var J=K[i].I0; for (l=0; l<J.length; l++){var l1s=J[l]; l1s.of=o1s; if (l==0){l1s.PreviousItem=J[J.length-1]; }else {l1s.PreviousItem=J[l-1]; }if (l==(J.length-1)){l1s.NextItem=J[0]; }else {l1s.NextItem=J[l+1]; }}}};RadMenu.prototype.getx= function (){return this.If.o1h(this.RootGroup.Container); };RadMenu.prototype.gety= function (){return this.If.l1h(this.RootGroup.Container); };RadMenu.prototype.ShowMenu= function (){ this.If.Show(this.RootGroup.Container); };RadMenu.prototype.HideMenu= function (){ this.If.i1s(this.RootGroup.Container); };RadMenu.prototype.GetItem= function (I1s){return this.AllItems.A(I1s); };RadMenu.prototype.GetGroup= function (o1t){return this.AllGroups.A(o1t); };RadMenu.prototype.ProcItem= function (O1t,ip){ this.Io(this.op); this.Op= true; var lp=this.AllGroups.A(ip); var l1t=this.AllItems.A(O1t.id); if (l1t==(l1t.ParentGroup.Ip)){return; }if (!l1t || !l1t.Enabled){return; }var oq=l1t.Og; if (this.If.e(ip) && this.oo[oq+1]==ip){return; } this.CloseAll(oq); if (lp && (this.FirstClick== true)){ this.oo[oq+1]=ip; lp.Show(O1t); }var Oq=l1t.ParentGroup.Ip; if (l1t==Oq){return; }if (Oq){Oq.RemoveHilight(); }l1t.ParentGroup.Ip=l1t; if (!this.If.e(l1t.Ok)){l1t.ApplyHilight(); }} ; RadMenu.prototype.CloseAll= function (i1t,I1t){for (var i=this.oo.length-1; i>i1t; i--){if (this.oo[i]){var o1u=this.GetGroup(this.oo[i]); if (o1u){ this.If.i1s(o1u.Container.iframeShim,o1u.Container); o1u.Visible= false; this.oo[i]=null; if (o1u.Ip){o1u.Ip.RemoveHilight(); o1u.Ip=null; }}}}if ((i1t==0) && this.RootGroup.Ip){if (!I1t){ this.RootGroup.Ip.RemoveHilight(); this.RootGroup.Ip=null; }}} ; RadMenu.prototype.o12= function (){var Of=this ; this.Io(this.op); if (this.ls.o1r || this.ls.I18){ this.op=window.setTimeout(this.ID+"\x2eC\x6c\x6fseA\x6cl(0);"+this.ID+"\x2eUs\x65\x73Ke\x79\142\x6fard \x3d fa\x6cse;wi\x6e\144\x6fw.st\141\x74us=\x27\047\073",this.i1n); }else { this.op=window.setTimeout( function (){Of.CloseAll(0); Of.Op= false; window.status=""; } ,this.i1n); }} ; RadMenu.prototype.Io= function (O1u){if (O1u!=0){clearTimeout(O1u); O1u=0; }} ; RadMenu.prototype.i1= function (l1u,i1u,I1u,o1v){var Ie=l1u.GetParentItems(); var O1v=(o1v!="")?o1v: this.Oh; for (var i=(Ie.Values.length-1); i>=0; i--){var l1v=Ie.Values[i].Container; if (i1u){ this.ProcItem(l1v,Ie.Values[i].ok); }if (I1u){l1v.className=O1v; if (this.Ou== true && l1v.Cells!=null){for (var i=0; i<l1v.Cells.length; i++){l1v.Cells[i].className=O1v; }}}}};RadMenu.prototype.MouseUp= function (O1t,processedEvent){var l1t=this.GetItem(O1t.id); if (l1t.On!= false){l1t.In(processedEvent); l1t.RemoveClick(processedEvent); }};RadMenu.prototype.MouseDown= function (O1t,processedEvent){var l1t=this.GetItem(O1t.id); if (!l1t.Enabled){return null; }if (this.If.e(l1t.Ok)){return true; }if (this.FirstClick== false){ this.FirstClick= true; if (l1t.ChildGroup){ this.oo[l1t.Og+1]=l1t.ChildGroup.ID; l1t.ChildGroup.Show(O1t); }}else if (this.FirstClick && this.ClickToOpen && (l1t.ParentGroup==this.RootGroup)){ this.FirstClick= false; this.CloseAll(0, true); }if (l1t.On!= false){l1t.ApplyClick(processedEvent); l1t.Oo(processedEvent); }};RadMenu.prototype.i1v= function (I1v){if (this.If.U(I1v,this.RootGroup.ID, false)){return true; }for (var i=0; i<this.oo.length; i++){if (this.If.e(I1v.id) && (this.oo[i]==I1v.id)){return true; }else if (this.If.U(I1v,this.oo[i], false)){return true; }}return false; };RadMenu.prototype.OnContext= function (processedEvent,o1w){if (!(this.IsContext)){return; }if (!processedEvent){var processedEvent=window.event; }var O1w=null;var l1w= false; var O1w=this.If.I(processedEvent); if (this.i1v(O1w)){return; }if (this.If.e(o1w)){if (!this.If.i1w(O1w,o1w)){return; }}var I1w=this.If.o1x(processedEvent); var O1x=this.If.l1x(processedEvent); if (!this.If.e(I1w) || !this.If.e(O1x)){return; }var i1x=this.If.ScrollLeft()+this.If.l14(); var I1x=this.If.l13()+this.If.i14(); I1w=(I1w>i1x)?i1x:I1w; O1x=(O1x>I1x)?I1x:O1x; this.If.X(processedEvent); this.RootGroup.GroupExpand(I1w,O1x,0,0); this.RootGroup.Visible= true; if (this.ls.Z){ this.o1y= true; }return false; };RadMenu.prototype.o1p= function (processedEvent){if (this.ClickToOpen || this.IsContext){if (this.i1v(this.If.I(processedEvent))){return; } this.CloseAll(0); if (this.IsContext && this.RootGroup.Visible== true){if (this.ls.Z && this.o1y){ this.o1y= false; return true; } this.RootGroup.Visible= false; this.If.i1s(this.RootGroup.Container); } this.Op= false; window.status=""; if (this.ClickToOpen){ this.FirstClick= false; }}};

