function RadRotator(O,o,ScrollDirection){ this.ClientID=O; this.SmoothScrollDelay=10; this.Y=document.getElementById(O); this.I=document.getElementById(O+"\x5f\x46rameCon\x74ainer"); if (o){ this.o=o; }else { this.o=1; } this.I.style.top="\x30\x70x"; this.I.style.left="0px"; this.A=0; var U=this ; this.Z= function (e){U.z(e); } ; this.X= function (e){U.W(e); } ; this.w= function (e){U.V(e); } ; this.v= function (e){U.T(e); } ; this.t(this.Y,"\x6d\x6f\x75see\x6eter",this.Z); this.t(this.Y,"\x6dou\x73\x65le\x61ve",this.X); this.t(this.Y,"\x6do\x75\x73eov\x65r",this.w); this.t(this.Y,"\x6douseo\x75\x74",this.v); if (window.OnCallbackRequestStart){var S=this ; var R=window.OnCallbackRequestStart; window.OnCallbackRequestStart= function (){S.r(); R(); };}} ; RadRotator.prototype.attachEvent= function (Q,P){var N=this.n(P); var M= function (m,L){return N(m,L); };this[Q+"H\x61ndle\x72"]=M; } ; RadRotator.prototype.n= function (l){var M= function (m,L){} ; if (typeof(l).toString().toLowerCase()=="\x66\x75nction"){M=l; }else if (typeof(l).toString().toLowerCase()=="\x73\x74ring"){try {M=eval(l);}catch (K){}}return M; };RadRotator.prototype.FireOnClientFrameChanging= function (m){if (this.OnClientFrameChangingHandler!=null){var M=this.OnClientFrameChangingHandler; return M(this, {} ); }};RadRotator.prototype.FireOnClientFrameChanged= function (m){ this.k(); var U=this ; if (this.RotatorMode.toLowerCase()=="s\x63ro\x6c\x6c"){window.clearTimeout(this.J); this.J=0; this.J=window.setTimeout( function (){U.j();} ,this.FrameTimeout); }if (this.RotatorMode.toLowerCase()=="\x73\x6cideshow"){window.clearTimeout(this.H); this.H=0; this.H=window.setTimeout( function (){U.h();} ,this.FrameTimeout); }if (this.OnClientFrameChangedHandler!=null){var M=this.OnClientFrameChangedHandler; return M(this, {} ); }};RadRotator.prototype.G= function (max){return parseInt(((max*Math.random())%max)); } ; RadRotator.prototype.g= function (F){if (F){ this.f= true; }else { this.f= false; }} ; RadRotator.prototype.t= function (D,Q,P){try {if (document.all){D.attachEvent("\157n"+Q,P); }else {D.addEventListener(Q,P, true); }}catch (K){}} ; RadRotator.prototype.z= function (e){if (!this.AutoAdvance){return; }if (this.PauseOnMouseOver){ this.g( true); }};RadRotator.prototype.W= function (){if (!this.AutoAdvance){return; }if (this.PauseOnMouseOver){ this.g( false); }} ; RadRotator.prototype.V= function (){if (!this.AutoAdvance){return; }if (document.all && !window.opera){return; }if (this.PauseOnMouseOver){ this.g( true); }} ; RadRotator.prototype.T= function (){if (!this.AutoAdvance){return; }if (document.all && !window.opera){return; }if (this.PauseOnMouseOver){ this.g( false); }} ; RadRotator.prototype.d= function (id){var C="_\x5fdoPost\x42\x61\x63k(\047"+this.c+"\x27,\047"+id+"\047\x29"; eval(C); return; } ; RadRotator.prototype.StartRotator= function (){if (this.B==0){return; } this.B=0; this.AutoAdvance=1; if (this.RotatorMode.toLowerCase()=="scr\x6fll"){ this.j(); }else { this.h(); }} ; RadRotator.prototype.StopRotator= function (){if (this.RotatorMode.toLowerCase()=="\x73c\x72\x6fll"){ this.o0(); }else { this.O0(); }} ; RadRotator.prototype.O0= function (){ this.B=1; this.AutoAdvance=0; } ; RadRotator.prototype.o0= function (){ this.B=1; this.AutoAdvance=0; } ; RadRotator.prototype.Start= function (){ this.FixHeight(); this.k(); if (this.RotatorMode!=null && this.RotatorMode.toLowerCase()=="\x73\x63roll"){ this.l0(); var U=this ; window.clearTimeout(this.J); this.J=window.setTimeout( function (){U.j();} ,this.FrameTimeout); }if (this.RotatorMode!=null && this.RotatorMode.toLowerCase()=="s\x6cides\x68\x6f\x77"){var U=this ; window.clearTimeout(this.H); this.H=window.setTimeout( function (){U.h();} ,this.FrameTimeout); }} ; RadRotator.prototype.k= function (){if (this.HasTickers){ this.i0(); var I0=this.FrameIdArray; var o1=O1(this.Y); for (var i=0; i<this.NumberOfFrames; i++){var l1=document.getElementById(I0[i]); var i1=O1(l1); if (o1.I1(i1)){eval(this[l1.id+"_s"]); }}}} ; RadRotator.prototype.i0= function (){if (this.HasTickers){for (var i=0; i<this.NumberOfTickers; i++){eval(this.TickerIdArray[i]).ResetTicker(); }}} ; RadRotator.prototype.FixHeight= function (){if (this.RotatorMode.toLowerCase()=="\163\x63\x72\x6f\x6cl" && (this.ScrollDirection.toLowerCase()=="\154eft" || this.ScrollDirection.toLowerCase()=="\x72ight")){ this.o2=parseInt(this.Y.offsetWidth)/this.o; this.O2=parseInt(this.Y.offsetHeight); this.I.style.width=(this.o2*this.NumberOfFrames)+"\x70\x78"; }if (this.RotatorMode.toLowerCase()=="\x73cro\x6c\x6c" && (this.ScrollDirection.toLowerCase()=="\x75p" || this.ScrollDirection.toLowerCase()=="down")){ this.o2=parseInt(this.Y.offsetWidth); this.O2=parseInt(this.Y.offsetHeight)/this.o; this.I.style.height=(this.O2*this.NumberOfFrames)+"px"; }if (this.RotatorMode.toLowerCase()=="\x73lideshow"){ this.o2=parseInt(this.Y.offsetWidth); this.O2=parseInt(this.Y.style.height); }var I0=this.FrameIdArray; for (var i=0; i<this.NumberOfFrames; i++){var l1=document.getElementById(I0[i]); l1.style.height=this.O2+"px"; l1.style.width=this.o2+"p\x78"; }} ; RadRotator.prototype.h= function (){if (this.NumberOfFrames/this.o<=1){return; }if (this.AutoAdvance){ this.ShowNextFrame(); }} ; RadRotator.prototype.l0= function (){if (this.ScrollDirection.toLowerCase()=="d\x6fw\x6e"){ this.I.style.top=(this.NumberOfFrames-this.o)*this.O2*(-1)+"\x70x"; }if (this.ScrollDirection.toLowerCase()=="\x72ight"){ this.I.style.left=(this.NumberOfFrames-this.o)*this.o2*(-1)+"px"; } this.k(); };RadRotator.prototype.j= function (){if (this.NumberOfFrames/this.o<=1){return; }if (this.FireOnClientFrameChanging(this )== false){return; }if (this.AutoAdvance){ this.l2(); }} ; RadRotator.prototype.l2= function (){switch (this.ScrollDirection.toLowerCase()){case "\165\x70":{ this.ScrollUpNextFrame(); break; }case "d\x6fwn":{ this.ScrollDownNextFrame(); break; }case "le\x66t":{ this.ScrollLeftNextFrame(); break; }case "\162\x69ght":{ this.ScrollRightNextFrame(); break; }}} ; RadRotator.prototype.ShowPrevFrame= function (){if (this.RotatorMode.toLowerCase()!="s\x6c\x69desh\x6fw"){alert("Do not c\x61l\x6c this f\x75ncti\x6fn\x20when r\x6ftato\x72 is i\x6e\x20s\x63roll\x69ng m\x6fde!"); return; } this.A=(this.A-2)%this.NumberOfFrames; if (this.A<-1){ this.A=this.NumberOfFrames-2; } this.ShowNextFrame(); } ; RadRotator.prototype.ShowNextFrame= function (){if (this.RotatorMode.toLowerCase()!="slide\x73\x68\157\x77"){alert("Do \x6eot cal\x6c this \x66uncti\x6fn whe\x6e\040rotat\x6fr is \x69n\x20scr\x6fllin\x67 mod\x65!"); return; }if (this.f){var U=this ; window.clearTimeout(this.H); this.H=0; this.H=window.setTimeout( function (){U.ShowNextFrame();} ,this.FrameTimeout); return; }if (this.FireOnClientFrameChanging(this )== false){return; }var i2; if (this.UseRandomSlide){ do {i2=this.G(this.NumberOfFrames)*this.O2*(-1); }while (i2==parseInt(this.I.style.top));}else { this.A=(this.A+1)%this.NumberOfFrames; i2=this.A*this.O2*(-1); }if (this.UseTransition && document.all && !window.opera){if (this.UseRandomEffect){ this.Y.style.filter=this.TransitionStrings[this.G(17)]; }else { this.Y.style.filter=this.TransitionString; } this.Y.filters[0].Apply(); this.I.style.top=i2+"\x70\x78"; this.Y.filters[0].Play(); }else { this.I.style.top=i2+"\x70x"; } this.FireOnClientFrameChanged(); } ; RadRotator.prototype.ScrollLeftNextFrame= function (){if (this.RotatorMode.toLowerCase()!="scrol\x6c"){alert("Do not\x20\x63\x61\x6cl th\x69s f\x75nctio\x6e when\x20rota\x74or\x20is\x20in s\x6cides\x68ow m\x6fde!"); return; }if (this.ScrollDirection.toLowerCase()=="up" || this.ScrollDirection.toLowerCase()=="\x64ow\x6e"){alert("\x44o \x6e\x6ft c\x61ll th\x69\163\x20fu\x6ection\x20when \x72ota\x74or i\x73 in \x76erti\x63al \x73cro\x6clin\x67 mo\x64e!"); return; }if (this.f){var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollLeftNextFrame();} ,this.ScrollSpeed);return; }if (parseInt(this.I.style.left)>this.o2*(-1)){if (!this.UseSmoothScroll){ this.I.style.left=(parseInt(this.I.style.left)-1)+"\x70\x78"; }else {var o3=(this.o2*(-1)-parseInt(this.I.style.left))/this.SmoothScrollDelay; this.I.style.left=(parseInt(this.I.style.left)+o3-1)+"px"; }var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollLeftNextFrame();} ,this.ScrollSpeed); }else {var O3=this.I.firstChild.firstChild.firstChild; this.I.firstChild.firstChild.removeChild(this.I.firstChild.firstChild.firstChild); this.I.firstChild.firstChild.appendChild(O3); this.I.style.left="0\x70x"; this.A=(this.A+1)%this.NumberOfFrames; this.FireOnClientFrameChanged(); }} ; RadRotator.prototype.ScrollRightNextFrame= function (){if (this.RotatorMode.toLowerCase()!="scroll"){alert("\x44\x6f not c\x61ll thi\x73 fun\x63tion\x20when \x72otato\x72 is\x20i\x6e sli\x64esho\x77 mod\x65!"); return; }if (this.ScrollDirection.toLowerCase()=="\x75\x70" || this.ScrollDirection.toLowerCase()=="down"){alert("Do not ca\x6cl \x74his\x20functi\x6fn \x77hen r\x6ftator\x20is i\x6e\x20verti\x63al s\x63rol\x6cing\x20mod\x65!"); return; }if (this.f){var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollRightNextFrame();} ,this.ScrollSpeed);return; }if (parseInt(this.I.style.left)<this.o2*(this.NumberOfFrames-this.o-1)*(-1)){if (!this.UseSmoothScroll){ this.I.style.left=parseInt(this.I.style.left)+1+"p\x78"; }else {var o3=(((this.NumberOfFrames-this.o)*this.o2*(-1)+this.o2)-parseInt(this.I.style.left))/this.SmoothScrollDelay; this.I.style.left=parseInt(this.I.style.left)+o3+"p\x78"; }var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollRightNextFrame();} ,this.ScrollSpeed); }else {var O3=this.I.firstChild.firstChild.lastChild; this.I.firstChild.firstChild.removeChild(this.I.firstChild.firstChild.lastChild); this.I.firstChild.firstChild.insertBefore(O3,this.I.firstChild.firstChild.firstChild); this.I.style.left=(this.NumberOfFrames-this.o)*this.o2*(-1)+"px"; this.A=(this.A+1)%this.NumberOfFrames; this.FireOnClientFrameChanged(); }} ; RadRotator.prototype.ScrollDownNextFrame= function (){if (this.RotatorMode.toLowerCase()!="s\x63ro\x6c\x6c"){alert("\x44\x6f not c\x61ll this\x20func\x74ion\x20when r\x6ftato\x72 is\x20in\x20slid\x65show\x20mod\x65!"); return; }if (this.ScrollDirection.toLowerCase()=="right" || this.ScrollDirection.toLowerCase()=="\x6c\x65\x66t"){alert("Do \x6eot call\x20this f\x75\156\x63ti\x6fn whe\x6e rota\x74or i\x73 in \x68oriz\x6fntal\x20scr\x6fllin\x67 m\x6fde!"); return; }if (this.f){var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollDownNextFrame();} ,this.ScrollSpeed);return; }if (parseInt(this.I.style.top)<(this.NumberOfFrames-this.o)*this.O2*(-1)+this.O2){if (!this.UseSmoothScroll){ this.I.style.top=parseInt(this.I.style.top)+1+"p\x78"; }else {var o3=(((this.NumberOfFrames-this.o)*this.O2*(-1)+this.O2)-parseInt(this.I.style.top))/this.SmoothScrollDelay; this.I.style.top=parseInt(this.I.style.top)+o3+"\x70x"; }var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollDownNextFrame();} ,this.ScrollSpeed); }else {var O3=this.I.lastChild; this.I.removeChild(this.I.lastChild); this.I.insertBefore(O3,this.I.firstChild); this.I.style.top=(this.NumberOfFrames-this.o)*this.O2*(-1)+"p\x78"; this.A=(this.A+1)%this.NumberOfFrames; this.FireOnClientFrameChanged(); }} ; RadRotator.prototype.ScrollUpNextFrame= function (){if (this.RotatorMode.toLowerCase()!="sc\x72ol\x6c"){alert("Do not \x63all th\x69s funct\x69on\x20when \x72otato\x72 is i\x6e \x73lide\x73how \x6dode\x21"); return; }if (this.ScrollDirection.toLowerCase()=="\x72igh\x74" || this.ScrollDirection.toLowerCase()=="\154\x65ft"){alert("Do no\x74\040\x63all\x20this f\x75nc\x74i\x6fn whe\x6e rot\x61tor\x20is \x69n ho\x72izo\x6etal \x73cro\x6clin\x67 m\x6fde!"); return; }if (this.f){var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollUpNextFrame();} ,this.ScrollSpeed);return; }if (parseInt(this.I.style.top)>this.O2*(-1)){if (!this.UseSmoothScroll){ this.I.style.top=(parseInt(this.I.style.top)-1)+"\x70x"; }else {var o3=(this.O2*(-1)-parseInt(this.I.style.top))/this.SmoothScrollDelay; this.I.style.top=(parseInt(this.I.style.top)+o3-1)+"p\x78"; }var U=this ; this.I2=0; this.I2=window.setTimeout( function (){U.ScrollUpNextFrame();} ,this.ScrollSpeed); }else {var O3=this.I.firstChild; this.I.removeChild(this.I.firstChild); this.I.appendChild(O3); this.I.style.top="0\x70x"; this.A=(this.A+1)%this.NumberOfFrames; this.FireOnClientFrameChanged(); }} ; function l3(left,top,width,height){ this.left=(null!=left?left: 0); this.top=(null!=top?top: 0); this.width=(null!=width?width: 0); this.height=(null!=height?height: 0); this.right=left+width; this.bottom=top+height; } ; l3.prototype.i3= function (){return new l3(this.left,this.top,this.width,this.height); } ; l3.prototype.I3= function (x,y){return (this.left<=x && x<=(this.left+this.width) && this.top<=y && y<=(this.top+this.height)); } ; l3.prototype.I1= function (o4){if (null==o4){return false; }if (this ==o4){return true; }return (o4.left<this.right && o4.top<this.bottom && o4.right>this.left && o4.bottom>this.top); } ; l3.prototype.O4= function (o4){if (null==o4){return false; }if (this ==o4){return this.i3(); }if (!this.I1(o4)){return new l3(); }var left=Math.max(this.left,o4.left); var top=Math.max(this.top,o4.top); var right=Math.min(this.right,o4.right); var bottom=Math.min(this.bottom,o4.bottom); return new l3(left,right,right-left,bottom-top); } ; RadRotator.prototype.r= function (){window.clearTimeout(this.J); window.clearTimeout(this.H); window.clearTimeout(this.I2); } ; function O1(D){if (!D){D=this ; }var left=0; var top=0; var width=D.offsetWidth; var height=D.offsetHeight; while (D.offsetParent){left+=D.offsetLeft; top+=D.offsetTop; D=D.offsetParent; }if (D.x){left=D.x; }if (D.y){top=D.y; }return new l3(left,top,width,height); } ;

