﻿function FchangeSlide() {this.prior = this.slide;this.i += 1;if (this.i >= this.n) this.i = 0;this.slide = $(x[this.i]);//this.slide.style.top = '-215px';//new Effect.Move(this.slide, { x: 0, y: 215, mode: 'relative', duration: 1.0 });//if (this.prior != null) new Effect.Move(this.prior, { x: 0, y: 215, mode: 'relative', duration: 1.0 });new Effect.Appear(this.slide, { duration: 1.0 });if (this.prior != null) new Effect.Fade(this.prior, { duration: 1.0 });}function Show(i, n, slide, prior) {this.i = i;this.n = n;this.slide = slide;this.prior = prior;this.changeSlide = FchangeSlide;}x = document.getElementById("Rotator").getElementsByTagName("div");var show = new Show(1,x.length,$(x[0]),null);function runSlides(show) {timr = setInterval("show.changeSlide()", 3000);}if (x.length > 0) runSlides(show);
