function RadMenuItem(od,Od,ld){ this.ParentMenu=od; this.oe=null; this.Oe=null; this.ParentGroup=null; this.ChildGroup=null; this.le=null; this.PreviousItem=null; this.NextItem=null; this.Container=document.getElementById(Od[0]); var ie=this ; if (this.ParentMenu.Ie.e(this.Container)){ this.Container.onmousedown= function (processedEvent){ie.MouseDown(processedEvent);} ; this.Container.onmouseup= function (processedEvent){ie.MouseUp(processedEvent);} ; this.Container.onmouseover= function (processedEvent){ie.ProcItem(processedEvent);} ; } this.Container.Images=this.Container.getElementsByTagName("i\x6d\x67"); this.Container.Cells=this.Container.getElementsByTagName("td"); this.Container.D=this.Container.getElementsByTagName("tabl\x65"); this.CustomAttributes=null; for (i=0; i<ld.length; i++){if (this.ID==ld[i][0]){ this.CustomAttributes=ld[i]; break; }} this.ID=Od[0]; this.of=Od[1]; this.Of=Od[2]; this.Width=Od[3]; this.Height=Od[4]; this.Image=this.ParentMenu.If(Od[5]); this.ImageDisabled=this.ParentMenu.If(Od[6]); this.ImageClicked=this.ParentMenu.If(Od[7]); this.ImageOver=this.ParentMenu.If(Od[8]); this.LeftLogo=this.ParentMenu.If(Od[9]); this.LeftLogoOver=this.ParentMenu.If(Od[10]); this.LeftLogoDisabled=this.ParentMenu.If(Od[11]); this.LeftLogoClicked=this.ParentMenu.If(Od[12]); this.RightLogo=this.ParentMenu.If(Od[13]); this.RightLogoOver=this.ParentMenu.If(Od[14]); this.RightLogoDisabled=this.ParentMenu.If(Od[15]); this.RightLogoClicked=this.ParentMenu.If(Od[16]); this.CssClass=Od[17]; if (!this.ParentMenu.Ie.e(this.CssClass)){ this.CssClass=od.og; } this.LevelCss=Od[18]; if (!this.ParentMenu.Ie.e(this.LevelCss)){ this.LevelCss=od.Og; } this.CssClassOver=Od[19]; if (!this.ParentMenu.Ie.e(this.CssClassOver)){ this.CssClassOver=od.lg; } this.CssClassClicked=Od[20]; if (!this.ParentMenu.Ie.e(this.CssClassClicked)){ this.CssClassClicked=od.ig; } this.CssClassDisabled=Od[21]; if (!this.ParentMenu.Ie.e(this.CssClassDisabled)){ this.CssClassDisabled=od.Ig; } this.oh=Od[22]; this.Text=Od[23]; this.Oh=Od[24]; this.lh=Od[25]; this.ih=Od[26]; this.Ih=Od[27]; this.Href=null; this.Href=Od[28]; this.Target=null; this.Target=Od[29]; this.ImageAlt=Od[30]; this.ImageLongDesc=Od[31]; this.StatusBarTip=Od[32]; this.ImageWidth=Od[33]; this.ImageHeight=Od[34]; this.oi=Od[35]; this.ToolTip=Od[36]; this.Value=Od[37]; this.ToolTip=Od[38]; this.Category=Od[39]; this.Oi=Od[40]; this.ii=Od[41]; this.Ii=Od[42]; this.Enabled=Od[43]; this.oj=Od[44]; this.Visible=Od[45]; this.Selected=Od[46]; this.Oj=null; this.Oj=Od[47]; this.ImageWidth=Od[48]; this.ImageHeight=Od[49]; this.lj=Od[50]; this.ij=null; this.ij=Od[51]; this.Ij=null; this.Ij=Od[52]; this.ok=null; this.ok=Od[53]; this.Ok=null; this.Ok=Od[54]; this.lk=Od[55]; if (this.ParentMenu.ik){ this.Ik=Od[56]; this.ll=Od[57]; }else { this.Ik=null; this.ll=null; } this.ParentGroup=this.ParentMenu.J.A(this.of); this.ChildGroup=this.ParentMenu.J.A(this.lj); this.le=this.ParentGroup.le; this.ParentGroup.O1[this.ParentGroup.O1.length]=this ; this.il=0; this.Il=0; this.SetInitialState(); this.ResetStateToInitial(); if ((this.Oj!=null) || this.Href!=null || (this.ParentMenu.ClickToOpen== true) || (this.ParentMenu.Ie.e(this.ok) || this.ParentMenu.Ie.e(this.ParentMenu.ok) || this.ParentMenu.Ie.e(this.Ij) || this.ParentMenu.Ie.e(this.ParentMenu.Ij) || this.ParentMenu.Ie.e(this.Ok))){ this.om= true; }else { this.om= false; }}RadMenuItem.prototype.MouseUp= function (processedEvent){if (this.om!= false){ this.Om(processedEvent); this.RemoveClick(processedEvent); }};RadMenuItem.prototype.MouseDown= function (processedEvent){if (!this.Enabled){return null; }if (this.ParentMenu.Ie.e(this.ij)){return true; }if (this.ParentMenu.FirstClick== false){ this.ParentMenu.FirstClick= true; if (this.ChildGroup){ this.ParentMenu.Im[this.Of+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.om!= false){ this.ApplyClick(processedEvent); this.On(processedEvent); }};RadMenuItem.prototype.ProcItem= function (){ this.ParentMenu.In(this.ParentMenu.oo); this.ParentMenu.Oo= true; var Io=null; var op=""; if (this.ChildGroup){Io=this.ChildGroup; op=Io.ID; }if (this ==(this.ParentGroup.Op)){return; }if (!this || !this.Enabled){return; }var lp=this.Of; if (this.ParentMenu.Ie.e(Io) && this.ParentMenu.Im[lp+1]==op){return; } this.ParentMenu.CloseAll(lp); if (Io && (this.ParentMenu.FirstClick== true)){ this.ParentMenu.Im[lp+1]=op; Io.Show(this.Container); }var ip=this.ParentGroup.Op; if (this ==ip){return; }if (ip){ip.RemoveHilight(); } this.ParentGroup.Op=this ; if (!this.ParentMenu.Ie.e(this.ij)){ this.ApplyHilight(); }} ; RadMenuItem.prototype.GetParentGroups= function (){if (!this.oe){ this.oe=new Hashtable(); }if (this.oe.length()<=0){var Ip=this.ParentGroup; while ((Ip!=null)){ this.oe.Add(Ip); if (Ip.le!=null){Ip=Ip.le.ParentGroup; }else {break; }}}return this.oe; };RadMenuItem.prototype.GetParentItems= function (){if (!this.Oe){ this.Oe=new Hashtable(); }if (this.Oe.length()<=0){var oq=this ; while ((oq!=null)){ this.Oe.Add(oq); if (oq.le!=null){oq=oq.le; }else {break; }}}return this.Oe; };RadMenuItem.prototype.SetInitialState= function (Oq){if (!Oq){if (this.Enabled){if (this.Selected){ this.il |= MODE_NORMAL; this.il |= MODE_SELECTED; }else { this.il |= MODE_NORMAL; }}else { this.il |= MODE_DISABLED; }}else { this.il=parseInt(Oq); }};RadMenuItem.prototype.ResetStateToInitial= function (){ this.Il=this.il; };RadMenuItem.prototype.RemoveState= function (lq){ this.Il &= ~lq; };RadMenuItem.prototype.AddState= function (iq){ this.Il |= iq; };RadMenuItem.prototype.CheckState= function (Iq){if ((this.Il&Iq)==Iq){return true; }else {return false; }};RadMenuItem.prototype.or= function (){if (this.Href!=null){try {if (this.Target!=null){if (this.Target=="\137\x62lank"){window.open(this.Href); }else if (this.Target=="\x5fself"){self.location.href=this.Href; }else if (this.Target=="\x5ftop"){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("\x46rame\x20\x27"+this.Target+"\047has n\x6f\164\x20loaded\x20or \x64oesn\x27t exi\x73t"); }}else {window.open(this.Href,this.Target); }}else {self.location.href=this.Href; }}catch (Or){}}if (this.Oj!=null){if (this.ParentMenu.lr){if (typeof(Page_ClientValidate)!="\x66u\x6e\x63tio\x6e" || Page_ClientValidate()){try {eval(this.Oj); }catch (Or){}}}else {try {eval(this.Oj); }catch (Or){}}}};RadMenuItem.prototype.Action= function (ir,processedEvent){if (this.lk){return; }if ((ir==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){if (this.ParentMenu.Ir.os && this.StatusBarTip){window.status=this.StatusBarTip; }if (this.ok){var s=this.ok+"(this,\x70rocess\x65dEven\x74\051\x3b"; eval(s); }else if (this.ParentMenu.ok){var s=this.ParentMenu.ok+"(\x74his,proc\x65ssedEv\x65\156\x74);"; eval(s); }}if ((ir==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){if (this.ParentMenu.Ie.Os(processedEvent)){return; }if (this.Ij){var s=this.Ij+"(this,pro\x63esse\x64Event);"; if (eval(s)== false){return; }}else if (this.ParentMenu.Ij){var s=this.ParentMenu.Ij+"(this,\x70rocess\x65dEvent)\x3b"; if (eval(s)== false){return; }} this.or(); }if ((ir==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){if (this.Selected== true){ this.Selected= false; }else { this.Selected= true; }if (this.Ok){var s=this.Ok+"(this\x2c"+this.Selected+"\x29;"; eval(s); }}if ((ir==MODE_NORMAL) && !this.CheckState(MODE_NORMAL)){ this.Enabled= true; }if ((ir==MODE_DISABLED) && !this.CheckState(MODE_DISABLED)){ this.Enabled= false; }};RadMenuItem.prototype.Render= function (ir,processedEvent){if (this.lk){return; }var ls=null; var is=null; var Is=null; var ot=null; if ((ir==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){ls=this.ImageOver; is=this.LeftLogoOver; Is=this.RightLogoOver; ot=this.CssClassOver; }else if ((ir==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){ls=this.ImageClicked; is=this.LeftLogoClicked; Is=this.RightLogoClicked; ot=this.CssClassClicked; }else if ((ir==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){ls=this.ImageClicked; is=this.LeftLogoClicked; Is=this.RightLogoClicked; ot=this.CssClassClicked; }else if ((ir==MODE_NORMAL) && this.CheckState(MODE_NORMAL)){ls=this.Image; is=this.LeftLogo; Is=this.RightLogo; ot=this.CssClass; }else if ((ir==MODE_DISABLED) && this.CheckState(MODE_DISABLED)){ls=this.ImageDisabled; is=this.LeftLogoDisabled; Is=this.RightLogoDisabled; ot=this.CssClassDisabled; }if (ls && (this.ParentMenu.Ot== true)){if (this.Container.Images[0].src!=ls){ this.Container.Images[0].src=ls; }}else {if (is && (this.ParentMenu.Ot== true)){if (this.Container.Images[0].src!=is){ this.Container.Images[0].src=is; }}if (Is && (this.ParentMenu.Ot== true)){var lt=(this.LeftLogo)?(this.Container.Images.length-1): 0; if (this.Container.Images[lt].src!=Is){ this.Container.Images[lt].src=Is; }}}if (ot!=null && (this.Container.className!=ot)){ this.Container.className=ot; if ((this.ParentMenu.it) && this.Container.Cells!=null){for (var i=0; i<this.Container.Cells.length; i++){ this.Container.Cells[i].className=ot; }}}};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.On= function (processedEvent){ this.AddState(MODE_SELECTED); this.Action(MODE_SELECTED,processedEvent); };RadMenuItem.prototype.Om= function (processedEvent){ this.RemoveState(MODE_SELECTED); };function RadMenuGroup(It,ou){ this.ParentMenu=It; this.O1=new Array(); this.le=null; this.oe=null; this.Oe=null; this.Container=document.getElementById(ou[0]); var ie=this ; if (this.ParentMenu.Ie.e(this.Container)){ this.Container.onmouseout= function (processedEvent){ie.GroupStatus(processedEvent);} ; } this.Visible= false; this.Op=null; this.ID=ou[0]; this.Ou=ou[1]; this.lu=ou[2]; this.iu=ou[3]; this.Iu=ou[4]; this.Of=ou[5]; this.Width=ou[6]; this.CssClass=ou[7]; this.LevelCss=ou[8]; this.ov=ou[9]; if (!this.ov){ this.ov=RIGHT_DIRECTION; } this.ExpandEffect=ou[10]; this.Ov=ou[11]; this.o1=ou[12]; if (!this.o1){ this.o1=VERTICAL_DIRECTION; } this.lv=ou[13]; this.iv=ou[14]; this.Iv=this.ParentMenu.If(ou[15]); this.ow=null; this.ow=ou[16]; this.Ow=ou[17]; if (this.Ow== true){ this.lw=ou[18]; this.iw=ou[19]; this.Iw=this.ParentMenu.If(ou[20]); this.ox=this.ParentMenu.If(ou[21]); this.Ox=this.ParentMenu.If(ou[22]); this.lx=this.ParentMenu.If(ou[23]); this.ix=this.ParentMenu.If(ou[24]); this.Ix=this.ParentMenu.If(ou[25]); this.oy=this.ParentMenu.If(ou[26]); this.Oy=this.ParentMenu.If(ou[27]); this.ly=ou[28]; this.iy=ou[29]; this.Iy=ou[30]; this.oz=ou[31]; this.Oz=null; this.lz=null; this.iz=null; this.Iz=null; this.o10=null; this.O10=null; this.l10=null; this.i10=null; this.I10=null; }}RadMenuGroup.prototype.GroupStatus= function (o11){if (!o11){var o11=window.event; }if (this.ParentMenu.Ie.U((o11.O11)?o11.O11:o11.toElement,this.ID)){return; }if (!(this.ParentMenu.ClickToOpen && this.ParentMenu.FirstClick== true)){ this.ParentMenu.Oo= true; this.ParentMenu.l11(); }};RadMenuGroup.prototype.AddItem= function (item){ this.O1.Add(item); };RadMenuGroup.prototype.RemoveItem= function (item){ this.O1.Remove(item); };RadMenuGroup.prototype.GroupExpand= function (i11,I11,o12,O12){if (!this.ParentMenu.Ie.e(i11) || !this.ParentMenu.Ie.e(I11)){return; }var l12=0; var i12=0; if (this.ParentMenu.IsStatic){l12=this.ParentMenu.Ie.I12(); i12=this.ParentMenu.Ie.ScrollLeft(); }var o13=0; var O13=0; var l13=0; var i13=0; o13=i11; O13=this.ParentMenu.Ie.I13()-(i11+o12); l13=I11; i13=this.ParentMenu.Ie.o14()-(I11+O12); if (this.l1){ this.l1(); }var O14=0; O14=this.ParentMenu.Ie.l14(this.Container.childNodes[0]); if (O14==0){O14=this.ParentMenu.Ie.l14(this.Container); }var i14=0; i14=this.ParentMenu.Ie.I14(this.Container.childNodes[0]); if (i14==0){i14=this.ParentMenu.Ie.I14(this.Container); }var o15=0; var O15=0; var l15=0; var i15=this.ParentMenu.Ie; if (i15.e(this.le)){var I15=i15.I0(this.le.Container); if (I15 && (I15.direction=="\x72\x74l")){l15=o12-O14; }}switch (this.ov){case UP_DIRECTION:o15=i11+l15; O15=I11-i14; break; case DOWN_DIRECTION:o15=i11+l15; O15=I11+O12; break; case LEFT_DIRECTION:O15=I11; o15=i11-O14; break; case RIGHT_DIRECTION:O15=I11; o15=i11+o12; break; default:O15=I11; o15=i11+o12; break; }o15+=this.lv; O15+=this.iv; var o16=this.ParentMenu.Ie.O16(o15,O15,O14,i14); if ((this.ParentMenu.Ie.I13()-(o15+i12))>(this.ParentMenu.Ie.I13()/2)){o16.l16=0; }if ((this.ParentMenu.Ie.o14()-(O15+l12))>(this.ParentMenu.Ie.o14()/2)){o16.i16=0; }if (this.ParentMenu.IsStatic){o16.i16=0; }var I16=this.ParentMenu.Ie.I0(this.Container); if (o16.l16!=0 && o16.i16!=0){I16.left=(i11-O14)+"p\x78"; I16.top=((I11+O12)-i14)+"px"; }else if (o16.l16!=0){I16.top=O15+"px"; I16.left=(i11-O14)+"px"; }else if (o16.i16!=0){I16.left=o15+"px"; I16.top=((I11+O12)-i14)+"\x70x"; }else if (o16.l16==0 && o16.i16==0){I16.left=o15+"\x70x"; I16.top=O15+"\x70x"; } this.ShowOverlay(I16.left,I16.top); this.ParentMenu.Ie.Show(this.Container); };RadMenuGroup.prototype.ShowOverlay= function (o17,O17){if (document.readyState=="complet\x65" && this.ParentMenu.l17 && (this.ParentMenu.Ir.i17 || this.ParentMenu.Ir.I17)){if (!this.ParentMenu.Ie.e(this.Container.iframeShim)){ this.Container.iframeShim=this.ParentMenu.Ie.o18(this.Container); } this.Container.iframeShim.style.top=(O17!=null)?O17: this.Container.style.top+"px"; this.Container.iframeShim.style.left=(o17!=null)?o17: this.Container.style.left+"\x70x"; this.Container.iframeShim.style.zIndex=(this.Container.style.zIndex-1); this.ParentMenu.Ie.Show(this.Container.iframeShim); }};RadMenuGroup.prototype.ApplyEffects= function (){if (this.ParentMenu.Ir.HasFilters== false && this.ParentMenu.Ie.e(document.body.filters) && this.ParentMenu.Ir.i4){ this.ParentMenu.Ir.HasFilters= true; }if ((this.ParentMenu.Ir.HasFilters== false) || !(this.ParentMenu.Ir.i4)){return; }if (this.ParentMenu.Ir.HasFilters && this.ParentMenu.Ir.O18){return; }if (this.ParentMenu.Ir.HasFilters && this.ParentMenu.Ie.e(this.ParentMenu.l18)){if (this.ParentMenu.Ie.e(this.ExpandEffect) && this.ExpandEffect!=""){var i18=""; var I18=.10000e3; if (this.ParentMenu.Ie.e(this.Ov) && this.Ov!=""){I18=this.Ov; }else if (this.ParentMenu.Ie.e(this.ParentMenu.o19) && this.o19!=""){I18=this.ParentMenu.o19; }switch (this.ExpandEffect){case "\102a\x72n":var O19="o\x75t"; var l19="v\x65rtical"; i18=this.ParentMenu.l18.i19(this.Container,O19,l19,I18); break; case "Blinds":var bands=10; var direction="down"; i18=this.ParentMenu.l18.I19(this.Container,bands,direction,I18); break; case "C\x68eckerBo\x61rd":var o1a=10; var O1a=10; var direction="r\x69ght"; i18=this.ParentMenu.l18.l1a(this.Container,o1a,O1a,direction); break; case "Fad\x65":var i1a=.10e1; i18=this.ParentMenu.l18.I1a(this.Container,i1a,I18); break; case "Gradien\x74Wipe":var O19="\x66o\x72\x77ard"; var o1b=.25; var O1b=0; i18=this.ParentMenu.l18.l1b(this.Container,O19,o1b,O1b,I18); break; case "\x49ns\x65\x74":var i1b=0; i18=this.ParentMenu.l18.I1b(this.Container,i1b,I18); break; case "\x49ris":var o1c="PLUS"; var O19="out"; i18=this.ParentMenu.l18.O1c(this.Container,o1c,O19,I18); break; case "\x50i\x78\x65lat\x65":var l1c=50; i18=this.ParentMenu.l18.i1c(this.Container,l1c,I18); break; case "RadialW\x69pe":var O1b="\x43L\x4f\x43K"; i18=this.ParentMenu.l18.I1c(this.Container,O1b,I18); break; case "Ran\x64omBars":var l19="hor\x69zontal"; i18=this.ParentMenu.l18.o1d(this.Container,l19,I18); break; case "RandomDi\x73solve":i18=this.ParentMenu.l18.O1d(this.Container,I18); break; case "Slide":var l1d="\x48IDE"; var bands=1; i18=this.ParentMenu.l18.i1d(this.Container,l1d,bands,I18); break; case "Spir\x61l":var I1d=16; var o1e=16; i18=this.ParentMenu.l18.O1e(this.Container,I1d,o1e,I18); break; case "S\x74r\x65\x74ch":var l1e="SPIN"; i18=this.ParentMenu.l18.i1e(this.Container,l1e,I18); break; case "\x53trips":var O19="\x6cef\x74\x64ow\x6e"; i18=this.ParentMenu.l18.I1e(this.Container,O19,I18); break; case "Wheel":var spokes=4; i18=this.ParentMenu.l18.o1f(this.Container,spokes,I18); break; case "\x5aigza\x67":var I1d=16; var o1e=16; i18=this.ParentMenu.l18.O1f(this.Container,I1d,o1e,I18); break; }}if (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.l1f>0){if ((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)){i18=this.ParentMenu.l18.i1f(this.Container,this.ParentMenu.Opacity,0); }if (this.ParentMenu.l1f>0){i18=this.ParentMenu.l18.I1f(this.Container,135,this.ParentMenu.o1g,this.ParentMenu.l1f); }}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.Ie.e(this.ExpandEffect) && this.ExpandEffect!=""){ this.ApplyEffects(); }var O1g=this.ParentMenu.Ie.l1g(parentElement); var i1g=this.ParentMenu.Ie.I1g(parentElement); var o1h=this.ParentMenu.Ie.l14(parentElement); var O1h=this.ParentMenu.Ie.I14(parentElement); this.GroupExpand(O1g,i1g,o1h,O1h); if (this.ow){var s=this.ow+"\x28\x74his\x29\x3b"; eval(s); }}};function RadMenu(l1h,ou,i1h,I1h){if (RadHelper.e(RadBrowserHelper)){ this.Ir=RadBrowserHelper; }else {RadBrowserHelper=new Browser(); this.Ir=RadBrowserHelper; }if (RadHelper){ this.Ie=RadHelper; }else {RadHelper=new HelperObject(RadBrowserHelper); this.Ie=RadHelper; } this.l18=null; if (RadFiltersHelper!=null){ this.l18=RadFiltersHelper; }if (this.Ir.HasFilters== false && this.Ie.e(document.body.filters) && this.Ir.i4){RadFiltersHelper=new RadFilters(); this.l18=RadFiltersHelper; } this.J=new Hashtable(); this.h=new Hashtable(); this.ID=l1h[0][0]; this.ik=l1h[0][1]; this.o1i=l1h[0][2]; this.O1i=l1h[0][3]; this.ImagesBaseDir=""; this.ImagesBaseDir=l1h[0][4]; this.l17=l1h[0][5]; this.l1i=l1h[0][6]; this.i1i=l1h[0][7]; this.I1i=l1h[0][8]; this.IsContext=l1h[0][9]; this.ContextHtmlElementID=l1h[0][10]; this.o1j=l1h[0][11]; this.lr=l1h[0][12]; this.ClickToOpen=l1h[0][13]; this.O1j=l1h[0][14]; this.Width=l1h[0][15]; this.Height=l1h[0][16]; this.it=l1h[0][17]; this.Ij=l1h[0][18]; this.ok=l1h[0][19]; this.Og=l1h[0][20]; this.og=l1h[0][21]; this.lg=l1h[0][22]; this.ig=l1h[0][23]; this.Ig=l1h[0][24]; this.l1j=l1h[0][25]; this.i1j=l1h[0][26]; this.I1j=l1h[0][27]; this.o1k=l1h[0][28]; this.O1k=l1h[0][29]; this.l1k=l1h[0][30]; this.i1k=l1h[0][31]; this.I1k=l1h[0][32]; this.o1l=l1h[0][33]; this.O1l=l1h[0][34]; this.l1l=l1h[0][35]; this.i1l=l1h[0][36]; this.I1l=l1h[0][37]; this.o1m=l1h[0][38]; this.O1m=l1h[0][39]; this.l1m=l1h[0][40]; this.i1m=l1h[0][41]; this.I1m=l1h[0][42]; this.o1n=l1h[0][43]; this.Opacity=l1h[0][44]; this.l1f=l1h[0][45]; this.o1g=l1h[0][46]; this.o19=l1h[0][47]; this.O1n=l1h[0][48]; this.IsStatic=l1h[0][49]; this.l1n=new Hashtable(); this.i1n=new Array(); this.Oo= false; this.TemplateEnabled= false; this.PopulateMenuTree(ou,i1h,I1h); this.RootGroup=this.GetGroup(l1h[0][50]); if (!this.Ie.e(this.IsContext)){ this.RootGroup.Visible= true; } this.I1n=""; this.I1n=l1h[0][51]; this.o1o=l1h[0][52]; this.Oi=l1h[0][53]; this.ii=l1h[0][54]; this.i1=l1h[0][55]; this.O1o=""; this.Ot= false; if (this.RootGroup){ this.Container=this.RootGroup.Container; } this.Im=new Array(); this.FirstClick= false; if (!this.ClickToOpen){ this.FirstClick= true; } this.oo=0; if (this.IsContext && this.Ie.e(tlrkContextMenus)){if (this.ContextHtmlElementID){tlrkContextMenus.AddItem(this.ContextHtmlElementID,this ); }else {tlrkContextMenus.A("def\x61\x75lt"); tlrkContextMenus.AddItem("\x64efault",this ); }}if (this.Ie.e(tlrkKeyboard)){tlrkKeyboard[tlrkKeyboard.length]=this ; }if (this.Ie.e(tlrkMenus)){tlrkMenus[tlrkMenus.length]=this ; }var ie=this ; this.Ie.AttachEventListener(document,"\x6do\x75\x73edo\x77n", function (processedEvent){ie.l1o(processedEvent); } ); if (typeof(ExtendMenuWithScroll)!="u\x6edefined" && (typeof(ExtendMenuWithScroll)=="\x66\x75\x6ecti\x6fn")){ExtendMenuWithScroll(); }if (typeof(ExtendMenuWithKeyboard)!="\x75\x6e\x64efi\x6eed" && (typeof(ExtendMenuWithKeyboard)=="\x66uncti\x6f\x6e")){ExtendMenuWithKeyboard(); }if (this.Ie.e(this.KeyDown) && this.Ie.e(this.KeyUp)){ this.Ie.AttachEventListener(document,"ke\x79down", function (processedEvent){ie.KeyDown(processedEvent); } ); this.Ie.AttachEventListener(document,"\x6beyu\x70", function (processedEvent){ie.KeyUp(processedEvent); } ); } this.i1o=0; this.I1o=-1; this.o1p=-1; this.ScrollLeftTime=0; this.ScrollRightTime=0; this.ScrollUpTime=0; this.ScrollDownTime=0; this.O1p= false; }RadMenu.prototype.If= function (l1p){var i1p=""; if (this.Ie.e(l1p)){if (this.Ie.e(this.ImagesBaseDir)){i1p=this.ImagesBaseDir+l1p; }else {i1p=l1p; }}return i1p; };RadMenu.prototype.PositionTopGroup= function (){ this.In(this.i1o); if (this.Ie.e(this.RootGroup)){if ((this.I1o<0) && (this.o1p<0)){if (this.l1i== true){ this.I1o=this.i1i; this.o1p=this.I1i; }else { this.I1o=this.getx(); this.o1p=this.gety(); }}if (!S){var l3=document.body; CopyObjToBody(l3,this.RootGroup.Container); }var I1p=this.Ie.I12(); var o1q=this.Ie.ScrollLeft(); var I16=this.Ie.I0(this.RootGroup.Container); if (this.Ie.e(I16.position) || I16.position==""){I16.position="a\x62\x73\157\x6cute"; }I16.top=I1p+this.o1p+"\x70\x78"; I16.left=o1q+this.I1o+"px"; var ie=this ; if (this.Ir.O1q || this.Ir.O18){ this.i1o=window.setTimeout(this.ID+"\x2e\x50\x6fsit\x69onTo\x70Group\x28);",this.o1n); ; }else { this.i1o=window.setTimeout( function (){ie.PositionTopGroup(); } ,this.o1n); }}};RadMenu.prototype.ImagePreload= function (l1q,i1q){if (l1q==i1q){ this.Ot= true; }};RadMenu.prototype.PopulateMenuTree= function (ou,i1h,I1h){var i=0; for (i=0; i<ou.length; i++){var I1q=new RadMenuGroup(this,ou[i]); this.J.Add(I1q); var o1r=I1q.Container.getElementsByTagName("\124D"); for (var d=0; d<o1r.length; d++){o1r[d].setAttribute("unsele\x63table","\x6fn"); }}for (i=0; i<i1h.length; i++){var O1r=new RadMenuItem(this,i1h[i],I1h); if (this.Ie.e(O1r.ij)){ this.TemplateEnabled= true; } this.h.Add(O1r); if (this.Ie.e(O1r.oi)){var l1r="\151"; if (this.Ie.e(O1r.ii)){l1r+=O1r.ii; }if (this.Ie.e(O1r.Oi)){l1r+=O1r.Oi; }l1r+=O1r.oi; this.l1n.AddItem(l1r,O1r); }}if (I1h && I1h.length>0){for (i=0; i<I1h.length; i++){if (this.GetItem(I1h[i][0])){ (this.GetItem(I1h[i][0])).CustomAttributes=I1h[i]; }}}var K=this.J.Values; for (i=0; i<K.length; i++){var l=0; var O1r=this.GetItem(K[i].lu); K[i].le=O1r; var H=K[i].O1; for (l=0; l<H.length; l++){var i1r=H[l]; i1r.le=O1r; if (l==0){i1r.PreviousItem=H[H.length-1]; }else {i1r.PreviousItem=H[l-1]; }if (l==(H.length-1)){i1r.NextItem=H[0]; }else {i1r.NextItem=H[l+1]; }}}};RadMenu.prototype.getx= function (){return this.Ie.l1g(this.RootGroup.Container); };RadMenu.prototype.gety= function (){return this.Ie.I1g(this.RootGroup.Container); };RadMenu.prototype.ShowMenu= function (){ this.Ie.Show(this.RootGroup.Container); };RadMenu.prototype.HideMenu= function (){ this.Ie.I1r(this.RootGroup.Container); };RadMenu.prototype.GetItem= function (o1s){return this.h.A(o1s); };RadMenu.prototype.GetGroup= function (O1s){return this.J.A(O1s); };RadMenu.prototype.ProcItem= function (l1s,op){ this.In(this.oo); this.Oo= true; var Io=this.J.A(op); var i1s=this.h.A(l1s.id); if (i1s==(i1s.ParentGroup.Op)){return; }if (!i1s || !i1s.Enabled){return; }var lp=i1s.Of; if (this.Ie.e(op) && this.Im[lp+1]==op){return; } this.CloseAll(lp); if (Io && (this.FirstClick== true)){ this.Im[lp+1]=op; Io.Show(l1s); }var ip=i1s.ParentGroup.Op; if (i1s==ip){return; }if (ip){ip.RemoveHilight(); }i1s.ParentGroup.Op=i1s; if (!this.Ie.e(i1s.ij)){i1s.ApplyHilight(); }} ; RadMenu.prototype.CloseAll= function (I1s,o1t){for (var i=this.Im.length-1; i>I1s; i--){if (this.Im[i]){var O1t=this.GetGroup(this.Im[i]); if (O1t){ this.Ie.I1r(O1t.Container.iframeShim,O1t.Container); O1t.Visible= false; this.Im[i]=null; if (O1t.Op){O1t.Op.RemoveHilight(); O1t.Op=null; }}}}if ((I1s==0) && this.RootGroup.Op){if (!o1t){ this.RootGroup.Op.RemoveHilight(); this.RootGroup.Op=null; }}} ; RadMenu.prototype.l11= function (){var ie=this ; this.In(this.oo); if (this.Ir.O1q || this.Ir.O18){ this.oo=window.setTimeout(this.ID+".\x43loseAl\x6c\x280\x29;"+this.ID+"\056UsesKeybo\x61rd = f\x61lse;w\x69ndow\x2estatu\x73=\047\x27;",this.o1n); }else { this.oo=window.setTimeout( function (){ie.CloseAll(0); ie.Oo= false; window.status=""; } ,this.o1n); }} ; RadMenu.prototype.In= function (l1t){if (l1t!=0){clearTimeout(l1t); l1t=0; }} ; RadMenu.prototype.o2= function (i1t,I1t,o1u,O1u){var Oe=i1t.GetParentItems(); var l1u=(O1u!="")?O1u: this.ig; for (var i=(Oe.Values.length-1); i>=0; i--){var i1u=Oe.Values[i].Container; if (I1t){ this.ProcItem(i1u,Oe.Values[i].lj); }if (o1u){i1u.className=l1u; if (this.it== true && i1u.Cells!=null){for (var i=0; i<i1u.Cells.length; i++){i1u.Cells[i].className=l1u; }}}}};RadMenu.prototype.MouseUp= function (l1s,processedEvent){var i1s=this.GetItem(l1s.id); if (i1s.om!= false){i1s.Om(processedEvent); i1s.RemoveClick(processedEvent); }};RadMenu.prototype.MouseDown= function (l1s,processedEvent){var i1s=this.GetItem(l1s.id); if (!i1s.Enabled){return null; }if (this.Ie.e(i1s.ij)){return true; }if (this.FirstClick== false){ this.FirstClick= true; if (i1s.ChildGroup){ this.Im[i1s.Of+1]=i1s.ChildGroup.ID; i1s.ChildGroup.Show(l1s); }}else if (this.FirstClick && this.ClickToOpen && (i1s.ParentGroup==this.RootGroup)){ this.FirstClick= false; this.CloseAll(0, true); }if (i1s.om!= false){i1s.ApplyClick(processedEvent); i1s.On(processedEvent); }};RadMenu.prototype.I1u= function (o1v){if (this.Ie.U(o1v,this.RootGroup.ID, false)){return true; }for (var i=0; i<this.Im.length; i++){if (this.Ie.e(o1v.id) && (this.Im[i]==o1v.id)){return true; }else if (this.Ie.U(o1v,this.Im[i], false)){return true; }}return false; };RadMenu.prototype.OnContext= function (processedEvent,O1v){if (!(this.IsContext)){return; }if (!processedEvent){var processedEvent=window.event; }var l1v=null;var i1v= false; var l1v=this.Ie.I(processedEvent); if (this.I1u(l1v)){return; }if (this.Ie.e(O1v)){if (!this.Ie.I1v(l1v,O1v)){return; }}var o1w=this.Ie.O1w(processedEvent); var l1w=this.Ie.i1w(processedEvent); if (!this.Ie.e(o1w) || !this.Ie.e(l1w)){return; }var I1w=this.Ie.ScrollLeft()+this.Ie.I13(); var o1x=this.Ie.I12()+this.Ie.o14(); o1w=(o1w>I1w)?I1w:o1w; l1w=(l1w>o1x)?o1x:l1w; this.Ie.X(processedEvent); this.RootGroup.GroupExpand(o1w,l1w,0,0); this.RootGroup.Visible= true; if (this.Ir.Z){ this.O1x= true; }return false; };RadMenu.prototype.l1o= function (processedEvent){if (this.ClickToOpen || this.IsContext){if (this.I1u(this.Ie.I(processedEvent))){return; } this.CloseAll(0); if (this.IsContext && this.RootGroup.Visible== true){if (this.Ir.Z && this.O1x){ this.O1x= false; return true; } this.RootGroup.Visible= false; this.Ie.I1r(this.RootGroup.Container); } this.Oo= false; window.status=""; if (this.ClickToOpen){ this.FirstClick= false; }}};
