function RadMenuItem(i5,I5,o6){ this.Container=document.getElementById(I5[0]); this.Container.Images=this.Container.getElementsByTagName("img"); this.Container.Cells=this.Container.getElementsByTagName("\x74d"); this.ParentMenu=i5; this.O6=null; this.l6=null; this.ParentGroup=null; this.ChildGroup=null; this.i6=null; this.PreviousItem=null; this.NextItem=null; this.CustomAttributes=null; for (i=0; i<o6.length; i++){if (this.ID==o6[i][0]){ this.CustomAttributes=o6[i]; break; }} this.ID=I5[0]; this.I6=I5[1]; this.o7=I5[2]; this.Width=I5[3]; this.Height=I5[4]; this.Image=this.ParentMenu.O7(I5[5]); this.ImageDisabled=this.ParentMenu.O7(I5[6]); this.ImageClicked=this.ParentMenu.O7(I5[7]); this.ImageOver=this.ParentMenu.O7(I5[8]); this.LeftLogo=this.ParentMenu.O7(I5[9]); this.LeftLogoOver=this.ParentMenu.O7(I5[10]); this.LeftLogoDisabled=this.ParentMenu.O7(I5[11]); this.LeftLogoClicked=this.ParentMenu.O7(I5[12]); this.RightLogo=this.ParentMenu.O7(I5[13]); this.RightLogoOver=this.ParentMenu.O7(I5[14]); this.RightLogoDisabled=this.ParentMenu.O7(I5[15]); this.RightLogoClicked=this.ParentMenu.O7(I5[16]); this.CssClass=I5[17]; if (!this.ParentMenu.l7.e(this.CssClass)){ this.CssClass=i5.i7; } this.LevelCss=I5[18]; if (!this.ParentMenu.l7.e(this.LevelCss)){ this.LevelCss=i5.I7; } this.CssClassOver=I5[19]; if (!this.ParentMenu.l7.e(this.CssClassOver)){ this.CssClassOver=i5.o8; } this.CssClassClicked=I5[20]; if (!this.ParentMenu.l7.e(this.CssClassClicked)){ this.CssClassClicked=i5.O8; } this.CssClassDisabled=I5[21]; if (!this.ParentMenu.l7.e(this.CssClassDisabled)){ this.CssClassDisabled=i5.l8; } this.i8=I5[22]; this.Text=I5[23]; this.I8=I5[24]; this.o9=I5[25]; this.O9=I5[26]; this.l9=I5[27]; this.Href=null; this.Href=I5[28]; this.Target=null; this.Target=I5[29]; this.ImageAlt=I5[30]; this.ImageLongDesc=I5[31]; this.StatusBarTip=I5[32]; this.ImageWidth=I5[33]; this.ImageHeight=I5[34]; this.i9=I5[35]; this.ToolTip=I5[36]; this.Value=I5[37]; this.ToolTip=I5[38]; this.Category=I5[39]; this.I9=I5[40]; this.oa=I5[41]; this.Oa=I5[42]; this.Enabled=I5[43]; this.la=I5[44]; this.Visible=I5[45]; this.Selected=I5[46]; this.ia=null; this.ia=I5[47]; this.ImageWidth=I5[48]; this.ImageHeight=I5[49]; this.Ia=I5[50]; this.ob=null; this.ob=I5[51]; this.Ob=null; this.Ob=I5[52]; this.lb=null; this.lb=I5[53]; this.ib=null; this.ib=I5[54]; this.Ib=I5[55]; if (this.ParentMenu.oc){ this.Oc=I5[56]; this.lc=I5[57]; }else { this.Oc=null; this.lc=null; } this.ParentGroup=this.ParentMenu.K.A(this.I6); this.ChildGroup=this.ParentMenu.K.A(this.Ia); this.i6=this.ParentGroup.i6; this.ParentGroup.ic[this.ParentGroup.ic.length]=this ; this.Ic=0; this.od=0; this.SetInitialState(); this.ResetStateToInitial(); if ((this.ia!=null) || this.Href!=null || (this.ParentMenu.ClickToOpen== true) || (this.ParentMenu.l7.e(this.lb) || this.ParentMenu.l7.e(this.ParentMenu.lb) || this.ParentMenu.l7.e(this.Ob) || this.ParentMenu.l7.e(this.ParentMenu.Ob) || this.ParentMenu.l7.e(this.ib))){ this.Od= true; }else { this.Od= false; }}RadMenuItem.prototype.GetParentGroups= function (){if (!this.O6){ this.O6=new Hashtable(); }if (this.O6.length()<=0){var ld=this.ParentGroup; while ((ld!=null)){ this.O6.Add(ld); if (ld.i6!=null){ld=ld.i6.ParentGroup; }else {break; }}}return this.O6; };RadMenuItem.prototype.GetParentItems= function (){if (!this.l6){ this.l6=new Hashtable(); }if (this.l6.length()<=0){var oe=this ; while ((oe!=null)){ this.l6.Add(oe); if (oe.i6!=null){oe=oe.i6; }else {break; }}}return this.l6; };RadMenuItem.prototype.SetInitialState= function (Oe){if (!Oe){if (this.Enabled){if (this.Selected){ this.Ic |= MODE_NORMAL; this.Ic |= MODE_SELECTED; }else { this.Ic |= MODE_NORMAL; }}else { this.Ic |= MODE_DISABLED; }}else { this.Ic=parseInt(Oe); }};RadMenuItem.prototype.ResetStateToInitial= function (){ this.od=this.Ic; };RadMenuItem.prototype.RemoveState= function (le){ this.od &= ~le; };RadMenuItem.prototype.AddState= function (ie){ this.od |= ie; };RadMenuItem.prototype.CheckState= function (Ie){if ((this.od&Ie)==Ie){return true; }else {return false; }};RadMenuItem.prototype.of= function (){if (this.Href!=null){try {if (this.Target!=null){if (this.Target=="_\x62lank"){window.open(this.Href); }else if (this.Target=="\x5fself"){self.location.href=this.Href; }else if (this.Target=="_top"){top.location.href=this.Href; }else if (this.Target=="_p\x61rent"){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("Fram\x65 \047"+this.Target+"\x27has\x20\x6eot\x20loade\x64\040\x6fr \x64oesn\047t exi\x73t"); }}else {window.open(this.Href,this.Target); }}else {self.location.href=this.Href; }}catch (Of){}}if (this.ia!=null){if (this.ParentMenu.If){if (typeof(Page_ClientValidate)!="fu\x6ection" || Page_ClientValidate()){try {eval(this.ia); }catch (Of){}}}else {try {eval(this.ia); }catch (Of){}}}};RadMenuItem.prototype.Action= function (og,processedEvent){if (this.Ib){return; }if ((og==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){if (this.ParentMenu.Og.lg && this.StatusBarTip){window.status=this.StatusBarTip; }if (this.lb){var s=this.lb+"(\x74\x68is,proc\x65ssedEve\x6et);"; eval(s); }else if (this.ParentMenu.lb){var s=this.ParentMenu.lb+"(\x74his,\x70\x72o\x63\145\x73se\x64Even\x74\051\x3b"; eval(s); }}if ((og==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){if (this.ParentMenu.l7.ig(processedEvent)){return; }if (this.Ob){var s=this.Ob+"(this,pro\x63essed\x45vent);"; if (eval(s)== false){return; }}else if (this.ParentMenu.Ob){var s=this.ParentMenu.Ob+"\x28this,p\x72\x6fc\x65ssedEv\x65nt);"; if (eval(s)== false){return; }} this.of(); }if ((og==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){if (this.Selected== true){ this.Selected= false; }else { this.Selected= true; }if (this.ib){var s=this.ib+"(\x74hi\x73\x2c"+this.Selected+"\x29;"; eval(s); }}if ((og==MODE_NORMAL) && !this.CheckState(MODE_NORMAL)){ this.Enabled= true; }if ((og==MODE_DISABLED) && !this.CheckState(MODE_DISABLED)){ this.Enabled= false; }};RadMenuItem.prototype.Render= function (og,processedEvent){if (this.Ib){return; }var Ig=null; var oh=null; var Oh=null; var lh=null; if ((og==MODE_HILIGHT) && this.CheckState(MODE_HILIGHT)){Ig=this.ImageOver; oh=this.LeftLogoOver; Oh=this.RightLogoOver; lh=this.CssClassOver; }else if ((og==MODE_CLICKED) && this.CheckState(MODE_CLICKED)){Ig=this.ImageClicked; oh=this.LeftLogoClicked; Oh=this.RightLogoClicked; lh=this.CssClassClicked; }else if ((og==MODE_SELECTED) && this.CheckState(MODE_SELECTED)){Ig=this.ImageClicked; oh=this.LeftLogoClicked; Oh=this.RightLogoClicked; lh=this.CssClassClicked; }else if ((og==MODE_NORMAL) && this.CheckState(MODE_NORMAL)){Ig=this.Image; oh=this.LeftLogo; Oh=this.RightLogo; lh=this.CssClass; }else if ((og==MODE_DISABLED) && this.CheckState(MODE_DISABLED)){Ig=this.ImageDisabled; oh=this.LeftLogoDisabled; Oh=this.RightLogoDisabled; lh=this.CssClassDisabled; }if (Ig && (this.ParentMenu.ih== true)){ this.Container.Images[0].src=Ig; }else {if (oh && (this.ParentMenu.ih== true)){ this.Container.Images[0].src=oh; }if (Oh && (this.ParentMenu.ih== true)){var Ih=(this.LeftLogo)?1: 0; this.Container.Images[Ih].src=Oh; }}if (lh!=null){ this.Container.className=lh; if ((this.ParentMenu.oi) && this.Container.Cells!=null){for (var i=0; i<this.Container.Cells.length; i++){ this.Container.Cells[i].className=lh; }}}};RadMenuItem.prototype.ApplyHilight= function (){ this.AddState(MODE_HILIGHT); this.Render(MODE_HILIGHT); this.Action(MODE_HILIGHT); };RadMenuItem.prototype.RemoveHilight= function (){ this.RemoveState(MODE_HILIGHT); if (this.CheckState(MODE_NORMAL)){ this.Render(MODE_NORMAL); }else if (this.CheckState(MODE_DISABLED)){ this.Render(MODE_DISABLED); }};RadMenuItem.prototype.ApplyClick= function (processedEvent){ this.AddState(MODE_CLICKED); this.Render(MODE_CLICKED); };RadMenuItem.prototype.RemoveClick= function (processedEvent){ this.Action(MODE_CLICKED,processedEvent); this.RemoveState(MODE_CLICKED); this.Render(MODE_HILIGHT); };RadMenuItem.prototype.Oi= function (processedEvent){ this.AddState(MODE_SELECTED); this.Action(MODE_SELECTED,processedEvent); };RadMenuItem.prototype.ii= function (processedEvent){ this.RemoveState(MODE_SELECTED); };function RadMenuGroup(Ii,oj){ this.ParentMenu=Ii; this.ic=new Array(); this.i6=null; this.O6=null; this.l6=null; this.Container=document.getElementById(oj[0]); this.Visible= false; this.Oj=null; this.ID=oj[0]; this.lj=oj[1]; this.ij=oj[2]; this.Ij=oj[3]; this.ok=oj[4]; this.o7=oj[5]; this.Width=oj[6]; this.CssClass=oj[7]; this.LevelCss=oj[8]; this.Ok=oj[9]; if (!this.Ok){ this.Ok=RIGHT_DIRECTION; } this.ExpandEffect=oj[10]; this.lk=oj[11]; this.ik=oj[12]; if (!this.ik){ this.ik=VERTICAL_DIRECTION; } this.Ik=oj[13]; this.ll=oj[14]; this.il=this.ParentMenu.O7(oj[15]); this.Il=null; this.Il=oj[16]; this.om=oj[17]; if (this.om== true){ this.Om=oj[18]; this.Im=oj[19]; this.On=this.ParentMenu.O7(oj[20]); this.In=this.ParentMenu.O7(oj[21]); this.oo=this.ParentMenu.O7(oj[22]); this.Oo=this.ParentMenu.O7(oj[23]); this.Io=this.ParentMenu.O7(oj[24]); this.op=this.ParentMenu.O7(oj[25]); this.Op=this.ParentMenu.O7(oj[26]); this.lp=this.ParentMenu.O7(oj[27]); this.ip=oj[28]; this.Ip=oj[29]; this.oq=oj[30]; this.Oq=oj[31]; this.lq=null; this.iq=null; this.Iq=null; this.or=null; this.Or=null; this.lr=null; this.ir=null; this.Ir=null; this.os=null; }}RadMenuGroup.prototype.AddItem= function (item){ this.ic.Add(item); };RadMenuGroup.prototype.RemoveItem= function (item){ this.ic.Remove(item); };RadMenuGroup.prototype.GroupExpand= function (Os,ls,is,Is){if (!this.ParentMenu.l7.e(Os) || !this.ParentMenu.l7.e(ls)){return; }var ot=0; var Ot=0; if (this.ParentMenu.IsStatic){ot=this.ParentMenu.l7.lt(); Ot=this.ParentMenu.l7.ScrollLeft(); }var it=0; var It=0; var ou=0; var Ou=0; it=Os; It=this.ParentMenu.l7.lu()-(Os+is); ou=ls; Ou=this.ParentMenu.l7.iu()-(ls+Is); if (this.Iu){ this.Iu(); }var ov=this.ParentMenu.l7.Ov(this.Container); var lv=this.ParentMenu.l7.iv(this.Container); var Iv=0; var ow=0; switch (this.Ok){case UP_DIRECTION:Iv=Os; ow=ls-lv; break; case DOWN_DIRECTION:Iv=Os; ow=ls+Is; break; case LEFT_DIRECTION:ow=ls; Iv=Os-ov; break; case RIGHT_DIRECTION:ow=ls; Iv=Os+is; break; default:ow=ls; Iv=Os+is; break; }Iv+=this.Ik; ow+=this.ll; var Ow=this.ParentMenu.l7.lw(Iv,ow,ov,lv); if ((this.ParentMenu.l7.lu()-(Iv+Ot))>(this.ParentMenu.l7.lu()/2)){Ow.iw=0; }if ((this.ParentMenu.l7.iu()-(ow+ot))>(this.ParentMenu.l7.iu()/2)){Ow.Iw=0; }if (this.ParentMenu.IsStatic){Ow.Iw=0; }var ox=this.ParentMenu.l7.Ox(this.Container); if (Ow.iw!=0 && Ow.Iw!=0){ox.left=(Os-ov)+"\160\x78"; ox.top=((ls+Is)-lv)+"px"; }else if (Ow.iw!=0){ox.top=ow+"px"; ox.left=(Os-ov)+"\x70x"; }else if (Ow.Iw!=0){ox.left=Iv+"px"; ox.top=((ls+Is)-lv)+"\x70\x78"; }else if (Ow.iw==0 && Ow.Iw==0){ox.left=Iv+"px"; ox.top=ow+"px"; } this.ShowOverlay(ox.left,ox.top); this.ParentMenu.l7.Show(this.Container); };RadMenuGroup.prototype.ShowOverlay= function (lx,ix){if (document.readyState=="\x63omple\x74\x65" && this.ParentMenu.Ix && (this.ParentMenu.Og.oy || this.ParentMenu.Og.Oy)){if (!this.ParentMenu.l7.e(this.Container.iframeShim)){ this.Container.iframeShim=this.ParentMenu.l7.ly(this.Container); } this.Container.iframeShim.style.top=(ix!=null)?ix: this.Container.style.top+"\x70\x78"; this.Container.iframeShim.style.left=(lx!=null)?lx: this.Container.style.left+"px"; this.Container.iframeShim.style.zIndex=(this.Container.style.zIndex-1); this.ParentMenu.l7.Show(this.Container.iframeShim); }};RadMenuGroup.prototype.ApplyEffects= function (){if (this.ParentMenu.Og.HasFilters== false && this.ParentMenu.l7.e(document.body.filters) && this.ParentMenu.Og.G){ this.ParentMenu.Og.HasFilters= true; }if ((this.ParentMenu.Og.HasFilters== false) || !(this.ParentMenu.Og.G)){return; }if (this.ParentMenu.Og.HasFilters && this.ParentMenu.l7.e(this.ParentMenu.iy)){if (this.ParentMenu.l7.e(this.ExpandEffect) && this.ExpandEffect!=""){var Iy=""; var oz=.10000e3; if (this.ParentMenu.l7.e(this.lk) && this.lk!=""){oz=this.lk; }else if (this.ParentMenu.l7.e(this.ParentMenu.Oz) && this.Oz!=""){oz=this.ParentMenu.Oz; }switch (this.ExpandEffect){case "\102\x61rn":var lz="out"; var iz="\x76ertica\x6c"; Iy=this.ParentMenu.iy.Iz(this.Container,lz,iz,oz); break; case "Blind\x73":var bands=10; var direction="down"; Iy=this.ParentMenu.iy.o10(this.Container,bands,direction,oz); break; case "\x43\x68eckerBoa\x72d":var O10=10; var l10=10; var direction="\x72ight"; Iy=this.ParentMenu.iy.i10(this.Container,O10,l10,direction); break; case "\x46ad\x65":var I10=.10e1; Iy=this.ParentMenu.iy.o11(this.Container,I10,oz); break; case "G\x72adient\x57\x69p\x65":var lz="f\x6frward"; var O11=.25; var l11=0; Iy=this.ParentMenu.iy.i11(this.Container,lz,O11,l11,oz); break; case "Ins\x65t":var I11=0; Iy=this.ParentMenu.iy.o12(this.Container,I11,oz); break; case "Iris":var O12="PLUS"; var lz="out"; Iy=this.ParentMenu.iy.l12(this.Container,O12,lz,oz); break; case "Pi\x78ela\x74\x65":var i12=50; Iy=this.ParentMenu.iy.I12(this.Container,i12,oz); break; case "\x52adia\x6c\x57i\x70\145":var l11="\x43LOCK"; Iy=this.ParentMenu.iy.o13(this.Container,l11,oz); break; case "Rando\x6dBars":var iz="\x68\x6f\x72izo\x6etal"; Iy=this.ParentMenu.iy.O13(this.Container,iz,oz); break; case "\122\x61ndomDis\x73olve":Iy=this.ParentMenu.iy.l13(this.Container,oz); break; case "S\x6cide":var i13="HIDE"; var bands=1; Iy=this.ParentMenu.iy.I13(this.Container,i13,bands,oz); break; case "\x53pi\x72\x61l":var o14=16; var O14=16; Iy=this.ParentMenu.iy.l14(this.Container,o14,O14,oz); break; case "\x53tretch":var i14="SPI\x4e"; Iy=this.ParentMenu.iy.I14(this.Container,i14,oz); break; case "S\x74rips":var lz="leftdow\x6e"; Iy=this.ParentMenu.iy.o15(this.Container,lz,oz); break; case "\x57heel":var spokes=4; Iy=this.ParentMenu.iy.O15(this.Container,spokes,oz); break; case "Zigzag":var o14=16; var O14=16; Iy=this.ParentMenu.iy.l15(this.Container,o14,O14,oz); break; }}if (((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)) || this.ParentMenu.i15>0){if ((this.ParentMenu.Opacity>=0) && (this.ParentMenu.Opacity!=100)){Iy=this.ParentMenu.iy.I15(this.Container,this.ParentMenu.Opacity,0); }if (this.ParentMenu.i15>0){Iy=this.ParentMenu.iy.o16(this.Container,135,this.ParentMenu.O16,this.ParentMenu.i15); }}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 l16=this.ParentMenu.l7.i16(parentElement); var I16=this.ParentMenu.l7.o17(parentElement); var O17=this.ParentMenu.l7.Ov(parentElement); var l17=this.ParentMenu.l7.iv(parentElement); this.GroupExpand(l16,I16,O17,l17); if (this.Il){var s=this.Il+"\x28\x74hi\x73\x29;"; eval(s); }}};function RadMenu(i17,oj,I17,o18){if (RadBrowserHelper){ this.Og=RadBrowserHelper; }else {RadBrowserHelper=new Browser(); this.Og=RadBrowserHelper; }if (RadHelper){ this.l7=RadHelper; }else {RadHelper=new HelperObject(RadBrowserHelper); this.l7=RadHelper; } this.iy=null; if (RadFiltersHelper!=null){ this.iy=RadFiltersHelper; }if (this.Og.HasFilters== false && this.l7.e(document.body.filters) && this.Og.G){RadFiltersHelper=new RadFilters(); this.iy=RadFiltersHelper; } this.K=new Hashtable(); this.t=new Hashtable(); this.ID=i17[0][0]; this.oc=i17[0][1]; this.O18=i17[0][2]; this.l18=i17[0][3]; this.ImagesBaseDir=""; this.ImagesBaseDir=i17[0][4]; this.Ix=i17[0][5]; this.i18=i17[0][6]; this.I18=i17[0][7]; this.o19=i17[0][8]; this.IsContext=i17[0][9]; this.ContextHtmlElementID=i17[0][10]; this.O19=i17[0][11]; this.If=i17[0][12]; this.ClickToOpen=i17[0][13]; this.l19=i17[0][14]; this.Width=i17[0][15]; this.Height=i17[0][16]; this.oi=i17[0][17]; this.Ob=i17[0][18]; this.lb=i17[0][19]; this.I7=i17[0][20]; this.i7=i17[0][21]; this.o8=i17[0][22]; this.O8=i17[0][23]; this.l8=i17[0][24]; this.i19=i17[0][25]; this.I19=i17[0][26]; this.o1a=i17[0][27]; this.O1a=i17[0][28]; this.l1a=i17[0][29]; this.i1a=i17[0][30]; this.I1a=i17[0][31]; this.o1b=i17[0][32]; this.O1b=i17[0][33]; this.l1b=i17[0][34]; this.i1b=i17[0][35]; this.I1b=i17[0][36]; this.o1c=i17[0][37]; this.O1c=i17[0][38]; this.l1c=i17[0][39]; this.i1c=i17[0][40]; this.I1c=i17[0][41]; this.o1d=i17[0][42]; this.O1d=i17[0][43]; this.Opacity=i17[0][44]; this.i15=i17[0][45]; this.O16=i17[0][46]; this.Oz=i17[0][47]; this.l1d=i17[0][48]; this.IsStatic=i17[0][49]; this.i1d=new Hashtable(); this.I1d=new Array(); this.o1e= false; this.TemplateEnabled= false; this.PopulateMenuTree(oj,I17,o18); this.RootGroup=this.GetGroup(i17[0][50]); if (!this.l7.e(this.IsContext)){ this.RootGroup.Visible= true; } this.O1e=""; this.O1e=i17[0][51]; this.l1e=i17[0][52]; this.I9=i17[0][53]; this.oa=i17[0][54]; this.v=i17[0][55]; this.i1e=""; this.ih= false; if (this.RootGroup){ this.Container=this.RootGroup.Container; } this.I1e=new Array(); this.S= false; if (!this.ClickToOpen){ this.S= true; } this.o1f=0; if (this.IsContext && this.l7.e(tlrkContextMenus)){if (this.ContextHtmlElementID){tlrkContextMenus[this.ContextHtmlElementID]=this ; }else {tlrkContextMenus["d\x65\x66aul\x74"]=this ; }}if (this.l7.e(tlrkKeyboard)){tlrkKeyboard[tlrkKeyboard.length]=this ; }if (this.l7.e(tlrkMenus)){tlrkMenus[tlrkMenus.length]=this ; }var O1f=this ; this.l7.AttachEventListener(document,"\x6doused\x6f\x77n", function (processedEvent){O1f.l1f(processedEvent); } ); if (typeof(ExtendMenuWithScroll)!="und\x65fined" && (typeof(ExtendMenuWithScroll)=="f\x75nction")){ExtendMenuWithScroll(); }if (typeof(ExtendMenuWithKeyboard)!="\x75ndef\x69\x6ee\x64" && (typeof(ExtendMenuWithKeyboard)=="function")){ExtendMenuWithKeyboard(); }if (this.l7.e(this.KeyDown) && this.l7.e(this.KeyUp)){ this.l7.AttachEventListener(document,"k\x65ydow\x6e", function (processedEvent){O1f.KeyDown(processedEvent); } ); this.l7.AttachEventListener(document,"\153\145y\x75\160", function (processedEvent){O1f.KeyUp(processedEvent); } ); } this.i1f=0; this.I1f=-1; this.o1g=-1; this.ScrollLeftTime=0; this.ScrollRightTime=0; this.ScrollUpTime=0; this.ScrollDownTime=0; }RadMenu.prototype.O7= function (O1g){var l1g=""; if (this.l7.e(O1g)){l1g=this.ImagesBaseDir+O1g; }return l1g; };RadMenu.prototype.PositionTopGroup= function (){ this.i1g(this.i1f); if (this.l7.e(this.RootGroup)){if ((this.I1f<0) && (this.o1g<0)){if (this.i18== true){ this.I1f=this.I18; this.o1g=this.o19; }else { this.I1f=this.getx(); this.o1g=this.gety(); }}var I1g=this.l7.lt(); var o1h=this.l7.ScrollLeft(); var ox=this.l7.Ox(this.RootGroup.Container); if (this.l7.e(ox.position) || ox.position==""){ox.position="\x61bsolute"; }ox.top=I1g+this.o1g+"\x70x"; ox.left=o1h+this.I1f+"px"; var O1f=this ; this.i1f=window.setTimeout( function (){O1f.PositionTopGroup(); } ,this.O1d); }};RadMenu.prototype.ImagePreload= function (O1h,l1h){if (O1h==l1h){ this.ih= true; }};RadMenu.prototype.PopulateMenuTree= function (oj,I17,o18){var i=0; for (i=0; i<oj.length; i++){var i1h=new RadMenuGroup(this,oj[i]); this.K.Add(i1h); var I1h=i1h.Container.getElementsByTagName("T\x44"); for (var o1i=0; o1i<I1h.length; o1i++){I1h[o1i].setAttribute("unselect\x61ble","\x6fn"); }}for (i=0; i<I17.length; i++){var O1i=new RadMenuItem(this,I17[i],o18); if (this.l7.e(O1i.ob)){ this.TemplateEnabled= true; } this.t.Add(O1i); if (this.l7.e(O1i.i9)){var l1i="\151"; if (this.l7.e(O1i.oa)){l1i+=O1i.oa; }if (this.l7.e(O1i.I9)){l1i+=O1i.I9; }l1i+=O1i.i9; this.i1d.AddItem(l1i,O1i); }}if (o18 && o18.length>0){for (i=0; i<o18.length; i++){if (this.GetItem(o18[i][0])){ (this.GetItem(o18[i][0])).CustomAttributes=o18[i]; }}}var i1i=this.K.Values; for (i=0; i<i1i.length; i++){var k=0; var O1i=this.GetItem(i1i[i].ij); i1i[i].i6=O1i; var I1i=i1i[i].ic; for (k=0; k<I1i.length; k++){var o1j=I1i[k]; o1j.i6=O1i; if (k==0){o1j.PreviousItem=I1i[I1i.length-1]; }else {o1j.PreviousItem=I1i[k-1]; }if (k==(I1i.length-1)){o1j.NextItem=I1i[0]; }else {o1j.NextItem=I1i[k+1]; }}}};RadMenu.prototype.getx= function (){return this.l7.i16(this.RootGroup.Container); };RadMenu.prototype.gety= function (){return this.l7.o17(this.RootGroup.Container); };RadMenu.prototype.ShowMenu= function (){ this.l7.Show(this.RootGroup.Container); };RadMenu.prototype.HideMenu= function (){ this.l7.O1j(this.RootGroup.Container); };RadMenu.prototype.GetItem= function (l1j){return this.t.A(l1j); };RadMenu.prototype.GetGroup= function (i1j){return this.K.A(i1j); };RadMenu.prototype.GroupStatus= function (I1j,o1k){if (!o1k){var o1k=window.event; }if (this.l7.U((o1k.O1k)?o1k.O1k:o1k.toElement,I1j.id)){return; }if (!(this.ClickToOpen && this.S== true)){ this.o1e= true; this.l1k(); }};RadMenu.prototype.ProcItem= function (i1k,I1k){ this.i1g(this.o1f); this.o1e= true; var o1l=this.K.A(I1k); var O1l=this.t.A(i1k.id); if (O1l==(O1l.ParentGroup.Oj)){return; }if (!O1l || !O1l.Enabled){return; }var l1l=O1l.o7; if (this.l7.e(I1k) && this.I1e[l1l+1]==I1k){return; } this.CloseAll(l1l); if (o1l && (this.S== true)){ this.I1e[l1l+1]=I1k; o1l.Show(i1k); }var i1l=O1l.ParentGroup.Oj; if (O1l==i1l){return; }if (i1l){i1l.RemoveHilight(); }O1l.ParentGroup.Oj=O1l; if (!this.l7.e(O1l.ob)){O1l.ApplyHilight(); }} ; RadMenu.prototype.CloseAll= function (I1l,o1m){for (var i=this.I1e.length-1; i>I1l; i--){if (this.I1e[i]){var O1m=this.GetGroup(this.I1e[i]); if (O1m){ this.l7.O1j(O1m.Container.iframeShim,O1m.Container); O1m.Visible= false; this.I1e[i]=null; if (O1m.Oj){O1m.Oj.RemoveHilight(); O1m.Oj=null; }}}}if ((I1l==0) && this.RootGroup.Oj){if (!o1m){ this.RootGroup.Oj.RemoveHilight(); this.RootGroup.Oj=null; }}} ; RadMenu.prototype.l1k= function (){var O1f=this ; this.i1g(this.o1f); this.o1f=window.setTimeout( function (){O1f.CloseAll(0); O1f.o1e= false; window.status=""; } ,this.O1d); } ; RadMenu.prototype.i1g= function (l1m){if (l1m!=0){clearTimeout(l1m); l1m=0; }} ; RadMenu.prototype.R= function (i1m,I1m,o1n,O1n){var l6=i1m.GetParentItems(); var l1n=(O1n!="")?O1n: this.O8; for (var i=(l6.Values.length-1); i>=0; i--){var i1n=l6.Values[i].Container; if (I1m){ this.ProcItem(i1n,l6.Values[i].Ia); }if (o1n){i1n.className=l1n; if (this.oi== true && i1n.Cells!=null){for (var i=0; i<i1n.Cells.length; i++){i1n.Cells[i].className=l1n; }}}}};RadMenu.prototype.MouseUp= function (i1k,processedEvent){var O1l=this.GetItem(i1k.id); if (O1l.Od!= false){O1l.ii(processedEvent); O1l.RemoveClick(processedEvent); }};RadMenu.prototype.MouseDown= function (i1k,processedEvent){var O1l=this.GetItem(i1k.id); if (!O1l.Enabled){return null; }if (this.l7.e(O1l.ob)){return true; }if (this.S== false){ this.S= true; if (O1l.ChildGroup){ this.I1e[O1l.o7+1]=O1l.ChildGroup.ID; O1l.ChildGroup.Show(i1k); }}else if (this.S && this.ClickToOpen && (O1l.ParentGroup==this.RootGroup)){ this.S= false; this.CloseAll(0, true); }if (O1l.Od!= false){O1l.ApplyClick(processedEvent); O1l.Oi(processedEvent); }};RadMenu.prototype.I1n= function (o1o){if (this.l7.U(o1o,this.RootGroup.ID, false)){return true; }for (var i=0; i<this.I1e.length; i++){if (this.I1e[i]==o1o.id){return true; }else if (this.l7.U(o1o,this.I1e[i], false)){return true; }}return false; };RadMenu.prototype.OnContext= function (processedEvent,O1o){if (!(this.IsContext)){return; }if (!processedEvent){var processedEvent=window.event; }var l1o=null;var i1o= false; var l1o=this.l7.I(processedEvent); if (this.I1n(l1o)){return; }if (this.l7.e(O1o)){if (!this.l7.I1o(l1o,O1o)){return; }}var o1p=this.l7.O1p(processedEvent); var l1p=this.l7.i1p(processedEvent); if (!this.l7.e(o1p) || !this.l7.e(l1p)){return; }var I1p=this.l7.ScrollLeft()+this.l7.lu(); var o1q=this.l7.lt()+this.l7.iu(); o1p=(o1p>I1p)?I1p:o1p; l1p=(l1p>o1q)?o1q:l1p; this.l7.X(processedEvent); this.RootGroup.GroupExpand(o1p,l1p,0,0); this.RootGroup.Visible= true; if (this.Og.Z){ this.O1q= true; }return false; };RadMenu.prototype.l1f= function (processedEvent){if (this.ClickToOpen || this.IsContext){if (this.I1n(this.l7.I(processedEvent))){return; } this.CloseAll(0); if (this.IsContext && this.RootGroup.Visible== true){if (this.Og.Z && this.O1q){ this.O1q= false; return true; } this.RootGroup.Visible= false; this.l7.O1j(this.RootGroup.Container); } this.o1e= false; window.status=""; if (this.ClickToOpen){ this.S= false; }}};

