function ExtendMenuWithScroll(){if ((typeof(RadMenu)=="undefin\x65\x64") || (typeof(RadMenu.I1y)!="\x75\x6edefine\x64")){return; }RadMenu.prototype.l37= function (i37){if (!this.O1c.lt(i37)){return null; }if (!this.O1c.lt(i37.I1u)){i37.I1y(); }return this.O1c.Iw(i37.I1u); };RadMenuGroup.prototype.I1y= function (){if (this.i1r){if (this.ParentMenu.l2b== false){RadMenuNamespace.I2b(this.ParentMenu); this.ParentMenu.l2b= true; }if (this.i1u==null){ this.i1u=document.getElementById(("outer\x53croller"+this.ID)); }if (this.I1u==null){ this.I1u=document.getElementById(("\x69nnerSc\x72\x6fller"+this.ID)); }if (this.O1v==null){ this.O1v=this.ParentMenu.O1c.oy(this.I1u)+"px"; if (this.O1v=="0px"){ this.O1v=this.ParentMenu.O1c.oy(this.I1u.childNodes[0])+"px"; }if (this.ParentMenu.l1n.t){}}if (this.l1v==null){ this.l1v=this.ParentMenu.O1c.ix(this.I1u)+"\160\x78"; if (this.l1v=="\060\x70\x78"){ this.l1v=this.ParentMenu.O1c.ix(this.I1u.childNodes[0])+"\x70x"; }}var I37=null; if (this.i1u.style){I37=this.i1u.style; }else {I37=this.i1u; }var o38=null; this.o1v=this.Container.getElementsByTagName("\164ab\x6c\x65")[0]; o38=this.o1v.getElementsByTagName("img"); if (this.i1q==VERTICAL_DIRECTION){ this.i1v=o38[0]; this.I1v=o38[(o38.length-1)]; I37.width=this.O1v; }else if (this.i1q==HORIZONTAL_DIRECTION){ this.o1w=o38[0]; this.O1w=o38[(o38.length-1)]; I37.height=this.l1v; }}};RadMenu.prototype.ScrollLeft= function (O38){ this.I1j(this.o1k); var l38=null; var o1c=this ; var I37=null; l38=this.AllGroups.O1i(O38); I37=this.l37(l38); if (parseInt(I37.left)>(l38.o1s-parseInt(l38.O1v))){I37.left=parseInt(I37.left)-this.i28+"px"; } this.ScrollLeftTime=setTimeout( function (){o1c.ScrollLeft(O38); } ,50); };RadMenu.prototype.ScrollRight= function (O38){ this.I1j(this.o1k); var l38=null; var o1c=this ; var I37=null; l38=this.AllGroups.O1i(O38); I37=this.l37(l38); if (parseInt(I37.left)<0){I37.left=parseInt(I37.left)+this.i28+"px"; } this.ScrollRightTime=setTimeout( function (){o1c.ScrollRight(O38); } ,50); };RadMenu.prototype.ScrollUp= function (O38){ this.I1j(this.o1k); var l38=null; var o1c=this ; var I37=null; l38=this.AllGroups.O1i(O38); I37=this.l37(l38); if (parseInt(I37.top)<0){I37.top=parseInt(I37.top)+this.i28+"\x70x"; } this.ScrollUpTime=setTimeout( function (){o1c.ScrollUp(O38); } ,50); };RadMenu.prototype.ScrollDown= function (O38){ this.I1j(this.o1k); var l38=null; var o1c=this ; var I37=null; l38=this.AllGroups.O1i(O38); I37=this.l37(l38); if (parseInt(I37.top)>(l38.I1r-parseInt(l38.l1v))){I37.top=parseInt(I37.top)-this.i28+"\x70x"; } this.ScrollDownTime=setTimeout( function (){o1c.ScrollDown(O38); } ,50); };}
